diff options
author | Dominik Stolz <d.stolz@tum.de> | 2021-03-16 08:07:03 +0100 |
---|---|---|
committer | Dominik Stolz <d.stolz@tum.de> | 2021-03-16 08:07:03 +0100 |
commit | 204fe259c6a8899fe6caeee8b6f010c3c02f5774 (patch) | |
tree | e88ec13ac25f9955bac69967650cc4751d749e19 | |
parent | a9c4446eebe45855bbca89355b97225f2260499d (diff) | |
download | rust-libc-204fe259c6a8899fe6caeee8b6f010c3c02f5774.tar.gz |
Ignore syscalls added in Linux 5.9 or later in tests
-rwxr-xr-x | libc-test/build.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 4a842fb6e9..7333fa2e5b 100755 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -2654,6 +2654,16 @@ fn test_linux(target: &str) { // Not yet implemented on sparc64 "SYS_clone3" if mips | sparc64 => true, + // FIXME: these syscalls were added in Linux 5.9 or later + // and are currently not included in the glibc headers. + | "SYS_close_range" + | "SYS_openat2" + | "SYS_pidfd_getfd" + | "SYS_faccessat2" + | "SYS_process_madvise" + | "SYS_epoll_pwait2" + | "SYS_mount_setattr" => true, + // Requires more recent kernel headers: | "IFLA_PROP_LIST" | "IFLA_ALT_IFNAME" |