File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3187,6 +3187,9 @@ fn test_linux(target: &str) {
3187
3187
// present in recent kernels only
3188
3188
"PR_PAC_SET_ENABLED_KEYS" | "PR_PAC_GET_ENABLED_KEYS" => true ,
3189
3189
3190
+ // Added in Linux 5.14
3191
+ "FUTEX_LOCK_PI2" => true ,
3192
+
3190
3193
_ => false ,
3191
3194
}
3192
3195
} ) ;
Original file line number Diff line number Diff line change @@ -599,6 +599,7 @@ FUTEX_CMP_REQUEUE
599
599
FUTEX_CMP_REQUEUE_PI
600
600
FUTEX_FD
601
601
FUTEX_LOCK_PI
602
+ FUTEX_LOCK_PI2
602
603
FUTEX_PRIVATE_FLAG
603
604
FUTEX_REQUEUE
604
605
FUTEX_TRYLOCK_PI
Original file line number Diff line number Diff line change @@ -3074,6 +3074,7 @@ pub const FUTEX_WAIT_BITSET: ::c_int = 9;
3074
3074
pub const FUTEX_WAKE_BITSET : :: c_int = 10 ;
3075
3075
pub const FUTEX_WAIT_REQUEUE_PI : :: c_int = 11 ;
3076
3076
pub const FUTEX_CMP_REQUEUE_PI : :: c_int = 12 ;
3077
+ pub const FUTEX_LOCK_PI2 : :: c_int = 13 ;
3077
3078
3078
3079
pub const FUTEX_PRIVATE_FLAG : :: c_int = 128 ;
3079
3080
pub const FUTEX_CLOCK_REALTIME : :: c_int = 256 ;
You can’t perform that action at this time.
0 commit comments