-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use linux headers 4.9.10 instead of 5.10.41
- Loading branch information
Showing
8 changed files
with
116 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
import shutil | ||
import subprocess | ||
import tarfile | ||
import requests | ||
|
||
class Generator(): | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
--- include/uapi/linux/libc-compat.h 2017-02-15 10:26:10.000000000 +1100 | ||
+++ include/uapi/linux/libc-compat.h 2021-05-28 21:17:44.000000000 +1000 | ||
@@ -1,3 +1,4 @@ | ||
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
/* | ||
* Compatibility interface for userspace libc header coordination: | ||
* | ||
@@ -167,46 +168,99 @@ | ||
|
||
/* If we did not see any headers from any supported C libraries, | ||
* or we are being included in the kernel, then define everything | ||
- * that we need. */ | ||
+ * that we need. Check for previous __UAPI_* definitions to give | ||
+ * unsupported C libraries a way to opt out of any kernel definition. */ | ||
#else /* !defined(__GLIBC__) */ | ||
|
||
/* Definitions for if.h */ | ||
+#ifndef __UAPI_DEF_IF_IFCONF | ||
#define __UAPI_DEF_IF_IFCONF 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IF_IFMAP | ||
#define __UAPI_DEF_IF_IFMAP 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IF_IFNAMSIZ | ||
#define __UAPI_DEF_IF_IFNAMSIZ 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IF_IFREQ | ||
#define __UAPI_DEF_IF_IFREQ 1 | ||
+#endif | ||
/* Everything up to IFF_DYNAMIC, matches net/if.h until glibc 2.23 */ | ||
+#ifndef __UAPI_DEF_IF_NET_DEVICE_FLAGS | ||
#define __UAPI_DEF_IF_NET_DEVICE_FLAGS 1 | ||
+#endif | ||
/* For the future if glibc adds IFF_LOWER_UP, IFF_DORMANT and IFF_ECHO */ | ||
+#ifndef __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO | ||
#define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 1 | ||
+#endif | ||
|
||
/* Definitions for in.h */ | ||
+#ifndef __UAPI_DEF_IN_ADDR | ||
#define __UAPI_DEF_IN_ADDR 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IN_IPPROTO | ||
#define __UAPI_DEF_IN_IPPROTO 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IN_PKTINFO | ||
#define __UAPI_DEF_IN_PKTINFO 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IP_MREQ | ||
#define __UAPI_DEF_IP_MREQ 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_SOCKADDR_IN | ||
#define __UAPI_DEF_SOCKADDR_IN 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IN_CLASS | ||
#define __UAPI_DEF_IN_CLASS 1 | ||
+#endif | ||
|
||
/* Definitions for in6.h */ | ||
+#ifndef __UAPI_DEF_IN6_ADDR | ||
#define __UAPI_DEF_IN6_ADDR 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IN6_ADDR_ALT | ||
#define __UAPI_DEF_IN6_ADDR_ALT 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_SOCKADDR_IN6 | ||
#define __UAPI_DEF_SOCKADDR_IN6 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IPV6_MREQ | ||
#define __UAPI_DEF_IPV6_MREQ 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IPPROTO_V6 | ||
#define __UAPI_DEF_IPPROTO_V6 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IPV6_OPTIONS | ||
#define __UAPI_DEF_IPV6_OPTIONS 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IN6_PKTINFO | ||
#define __UAPI_DEF_IN6_PKTINFO 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IP6_MTUINFO | ||
#define __UAPI_DEF_IP6_MTUINFO 1 | ||
+#endif | ||
|
||
/* Definitions for ipx.h */ | ||
+#ifndef __UAPI_DEF_SOCKADDR_IPX | ||
#define __UAPI_DEF_SOCKADDR_IPX 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IPX_ROUTE_DEFINITION | ||
#define __UAPI_DEF_IPX_ROUTE_DEFINITION 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IPX_INTERFACE_DEFINITION | ||
#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IPX_CONFIG_DATA | ||
#define __UAPI_DEF_IPX_CONFIG_DATA 1 | ||
+#endif | ||
+#ifndef __UAPI_DEF_IPX_ROUTE_DEF | ||
#define __UAPI_DEF_IPX_ROUTE_DEF 1 | ||
+#endif | ||
|
||
/* Definitions for xattr.h */ | ||
+#ifndef __UAPI_DEF_XATTR | ||
#define __UAPI_DEF_XATTR 1 | ||
+#endif | ||
|
||
#endif /* __GLIBC__ */ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.10.tar.gz 97ff15f9550c6e85c25173b3cf5c7e89a2d39fb923112f2c8bc2729cf64bf6d8 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters