summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-08-13 22:59:54 -0500
committerRyan Zoeller <rtzoeller@rtzoeller.com>2022-08-13 22:59:54 -0500
commita8f02e9c0cc4dec2381d69f63f2256e95183567f (patch)
treeec76ceec44a6e08fe25f94af6f76c1a639e87515
parent654cc69efbd60dfc757a7ee16cdc7d0ab15776fa (diff)
downloadrust-libc-a8f02e9c0cc4dec2381d69f63f2256e95183567f.tar.gz
Ignore FUTEX_LOCK_PI2 in tests
FUTEX_LOCK_PI2 was added in Linux 5.14, which the automated tests do not yet use.
-rw-r--r--libc-test/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 3cc2c135f7..14745a72a5 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -3187,6 +3187,9 @@ fn test_linux(target: &str) {
// present in recent kernels only
"PR_PAC_SET_ENABLED_KEYS" | "PR_PAC_GET_ENABLED_KEYS" => true,
+ // Added in Linux 5.14
+ "FUTEX_LOCK_PI2" => true,
+
_ => false,
}
});