Skip to content

Commit b2cd407

Browse files
committed
prctl SME flags for gnu arm64.
1 parent 971e7c6 commit b2cd407

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libc-test/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3586,8 +3586,10 @@ fn test_linux(target: &str) {
35863586
// present in recent kernels only
35873587
"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,
35883588

3589-
// present in recent kernels only
3589+
// present in recent kernels only >= 5.13
35903590
"PR_PAC_SET_ENABLED_KEYS" | "PR_PAC_GET_ENABLED_KEYS" => true,
3591+
// present in recent kernels only >= 5.19
3592+
"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,
35913593

35923594
// Added in Linux 5.14
35933595
"FUTEX_LOCK_PI2" => true,

0 commit comments

Comments
 (0)