diff options
author | Aaron Hill <aa1ronham@gmail.com> | 2020-09-17 04:48:39 -0400 |
---|---|---|
committer | Aaron Hill <aa1ronham@gmail.com> | 2020-09-17 06:05:23 -0400 |
commit | 8e58e82c0258f239d527488f43baaadef41c1171 (patch) | |
tree | 72d497c8bf5987715a14136709dcb059f4b1a53c /libc-test | |
parent | 999e5e1f287458bf5531783da1b500a9ddb5ac74 (diff) | |
download | rust-libc-8e58e82c0258f239d527488f43baaadef41c1171.tar.gz |
Add SYS_pidfd_open and SYS_clone3
These syscalls were added recently, and therefore have consistent
numbers across different architetures (other than the weird offsetting
on some platforms).
Diffstat (limited to 'libc-test')
-rwxr-xr-x | libc-test/build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 0bb9d1d0a7..685cfc4db0 100755 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -2649,6 +2649,13 @@ fn test_linux(target: &str) { // headers. "P_PIDFD" => true, + // FIXME: Not currently available in headers + "SYS_pidfd_open" if mips => true, + + // FIXME: Not currently available in headers on MIPS + // Not yet implemented on sparc64 + "SYS_clone3" if mips | sparc64 => true, + _ => false, } }); |