File tree 2 files changed +10
-1
lines changed
src/unix/linux_like/linux/gnu/b64/aarch64
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -3588,8 +3588,10 @@ fn test_linux(target: &str) {
3588
3588
// present in recent kernels only
3589
3589
"PR_SCHED_CORE" | "PR_SCHED_CORE_CREATE" | "PR_SCHED_CORE_GET" | "PR_SCHED_CORE_MAX" | "PR_SCHED_CORE_SCOPE_PROCESS_GROUP" | "PR_SCHED_CORE_SCOPE_THREAD" | "PR_SCHED_CORE_SCOPE_THREAD_GROUP" | "PR_SCHED_CORE_SHARE_FROM" | "PR_SCHED_CORE_SHARE_TO" => true ,
3590
3590
3591
- // present in recent kernels only
3591
+ // present in recent kernels only >= 5.13
3592
3592
"PR_PAC_SET_ENABLED_KEYS" | "PR_PAC_GET_ENABLED_KEYS" => true ,
3593
+ // present in recent kernels only >= 5.19
3594
+ "PR_SME_SET_VL" | "PR_SME_GET_VL" | "PR_SME_VL_LEN_MAX" | "PR_SME_SET_VL_INHERIT" | "PR_SME_SET_VL_ONE_EXEC" => true ,
3593
3595
3594
3596
// Added in Linux 5.14
3595
3597
"FUTEX_LOCK_PI2" => true ,
Original file line number Diff line number Diff line change @@ -590,6 +590,13 @@ pub const PR_PAC_APDAKEY: ::c_ulong = 1 << 2;
590
590
pub const PR_PAC_APDBKEY : :: c_ulong = 1 << 3 ;
591
591
pub const PR_PAC_APGAKEY : :: c_ulong = 1 << 4 ;
592
592
593
+ pub const PR_SME_SET_VL : :: c_int = 63 ;
594
+ pub const PR_SME_GET_VL : :: c_int = 64 ;
595
+ pub const PR_SME_VL_LEN_MAX : :: c_int = 0xffff ;
596
+
597
+ pub const PR_SME_SET_VL_INHERIT : :: c_ulong = 1 << 17 ;
598
+ pub const PR_SME_SET_VL_ONE_EXEC : :: c_ulong = 1 << 18 ;
599
+
593
600
// Syscall table
594
601
pub const SYS_io_setup : :: c_long = 0 ;
595
602
pub const SYS_io_destroy : :: c_long = 1 ;
You can’t perform that action at this time.
0 commit comments