summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-08 15:21:39 +0000
committerbors <bors@rust-lang.org>2022-02-08 15:21:39 +0000
commitc55c52d35f8710e323cd5fe91aa3d73f67f054ad (patch)
tree765ef7c562487478407bb353d6a892326a470b64 /libc-test
parentc8ca99b26b335d34aad4fdae1e19b687252e1bdd (diff)
parent510c45896a6987af77fa15cc2c37c049b6d375be (diff)
downloadrust-libc-c55c52d35f8710e323cd5fe91aa3d73f67f054ad.tar.gz
Auto merge of #2673 - devnexen:linux_mempolicies_flags, r=Amanieu
linux glibc/android memory policies flags
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs2
-rw-r--r--libc-test/semver/android.txt5
-rw-r--r--libc-test/semver/linux-gnu.txt5
-rw-r--r--libc-test/semver/linux-musl.txt5
4 files changed, 17 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index fa8cb4aa80..d9f236efb0 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1577,6 +1577,7 @@ fn test_android(target: &str) {
"linux/if_tun.h",
"linux/magic.h",
"linux/memfd.h",
+ "linux/mempolicy.h",
"linux/module.h",
"linux/net_tstamp.h",
"linux/netfilter/nfnetlink.h",
@@ -2857,6 +2858,7 @@ fn test_linux(target: &str) {
"linux/keyctl.h",
"linux/magic.h",
"linux/memfd.h",
+ "linux/mempolicy.h",
"linux/mman.h",
"linux/module.h",
"linux/net_tstamp.h",
diff --git a/libc-test/semver/android.txt b/libc-test/semver/android.txt
index 22ac168392..93bbda268c 100644
--- a/libc-test/semver/android.txt
+++ b/libc-test/semver/android.txt
@@ -1078,6 +1078,11 @@ MNT_EXPIRE
MNT_FORCE
MODULE_INIT_IGNORE_MODVERSIONS
MODULE_INIT_IGNORE_VERMAGIC
+MPOL_BIND
+MPOL_DEFAULT
+MPOL_INTERLEAVE
+MPOL_LOCAL
+MPOL_PREFERRED
MSDOS_SUPER_MAGIC
MSG_CMSG_CLOEXEC
MSG_CONFIRM
diff --git a/libc-test/semver/linux-gnu.txt b/libc-test/semver/linux-gnu.txt
index f00fcaa107..ffc548e281 100644
--- a/libc-test/semver/linux-gnu.txt
+++ b/libc-test/semver/linux-gnu.txt
@@ -145,6 +145,11 @@ MOD_OFFSET
MOD_STATUS
MOD_TAI
MOD_TIMECONST
+MPOL_BIND
+MPOL_DEFAULT
+MPOL_INTERLEAVE
+MPOL_LOCAL
+MPOL_PREFERRED
MSDOS_SUPER_MAGIC
MSG_TRYHARD
MS_RELATIME
diff --git a/libc-test/semver/linux-musl.txt b/libc-test/semver/linux-musl.txt
index b2c5e9dc6b..86bda6150d 100644
--- a/libc-test/semver/linux-musl.txt
+++ b/libc-test/semver/linux-musl.txt
@@ -5,6 +5,11 @@ AF_XDP
AIO_ALLDONE
AIO_CANCELED
AIO_NOTCANCELED
+MPOL_BIND
+MPOL_DEFAULT
+MPOL_INTERLEAVE
+MPOL_LOCAL
+MPOL_PREFERRED
Elf32_Chdr
Elf64_Chdr
LIO_NOP