summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorChristian Duerr <chris.durr@phylum.io>2022-09-09 22:25:10 +0200
committerChristian Duerr <chris.durr@phylum.io>2022-09-09 22:25:10 +0200
commit5f5d0deae376ae6d4c747a76526894c74975a85c (patch)
treef4327de27ca7352979baead1639cca49cc7ebe81 /libc-test
parentce3a66a2ee0917929af3caa2c7d3c393a07241e6 (diff)
downloadrust-libc-5f5d0deae376ae6d4c747a76526894c74975a85c.tar.gz
Add test exceptions
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 1ef846aed8..9609cc5571 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -3152,6 +3152,17 @@ fn test_linux(target: &str) {
| "SYS_epoll_pwait2"
| "SYS_mount_setattr" => true,
+ // FIXME: these syscalls were added in Linux 5.13 or later
+ // and are currently not included in the glibc headers.
+ | "SYS_quotactl_fd"
+ | "SYS_landlock_create_ruleset"
+ | "SYS_landlock_add_rule"
+ | "SYS_landlock_restrict_self"
+ | "SYS_memfd_secret"
+ | "SYS_process_mrelease"
+ | "SYS_futex_waitv"
+ | "SYS_set_mempolicy_home_node" => true,
+
// Requires more recent kernel headers:
| "IFLA_PROP_LIST"
| "IFLA_ALT_IFNAME"