Skip to content

Commit 204fe25

Browse files
committed
Ignore syscalls added in Linux 5.9 or later in tests
1 parent a9c4446 commit 204fe25

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

libc-test/build.rs

+10
Original file line numberDiff line numberDiff line change
@@ -2654,6 +2654,16 @@ fn test_linux(target: &str) {
26542654
// Not yet implemented on sparc64
26552655
"SYS_clone3" if mips | sparc64 => true,
26562656

2657+
// FIXME: these syscalls were added in Linux 5.9 or later
2658+
// and are currently not included in the glibc headers.
2659+
| "SYS_close_range"
2660+
| "SYS_openat2"
2661+
| "SYS_pidfd_getfd"
2662+
| "SYS_faccessat2"
2663+
| "SYS_process_madvise"
2664+
| "SYS_epoll_pwait2"
2665+
| "SYS_mount_setattr" => true,
2666+
26572667
// Requires more recent kernel headers:
26582668
| "IFLA_PROP_LIST"
26592669
| "IFLA_ALT_IFNAME"

0 commit comments

Comments
 (0)