File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
src/unix/linux_like/linux/gnu/b64/aarch64 Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3583,6 +3583,8 @@ fn test_linux(target: &str) {
3583
3583
3584
3584
// present in recent kernels only
3585
3585
"PR_PAC_SET_ENABLED_KEYS" | "PR_PAC_GET_ENABLED_KEYS" => true ,
3586
+ // present in recent kernels only
3587
+ "PR_SME_SET_VL" | "PR_SME_GET_VL" | "PR_SME_VL_LEN_MAX" | "PR_SME_SET_VL_INHERIT" | "PR_SEM_SET_VL_ONE_EXEC" => true ,
3586
3588
3587
3589
// Added in Linux 5.14
3588
3590
"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