Skip to content

Commit

Permalink
Ignore syscalls added in Linux 5.9 or later in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
voidc committed Mar 16, 2021
1 parent a9c4446 commit 204fe25
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 204fe25

Please sign in to comment.