File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -4279,8 +4279,21 @@ fn test_linux(target: &str) {
42794279 // is a private value for kernel usage normally
42804280 "FUSE_SUPER_MAGIC" => true ,
42814281
4282- // present in recent kernels only >= 5.19
4283- "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 ,
4282+ // Not present on old musl
4283+ "PR_SET_VMA"
4284+ | "PR_SET_VMA_ANON_NAME"
4285+ | "PR_SCHED_CORE"
4286+ | "PR_SCHED_CORE_CREATE"
4287+ | "PR_SCHED_CORE_GET"
4288+ | "PR_SCHED_CORE_MAX"
4289+ | "PR_SCHED_CORE_SCOPE_PROCESS_GROUP"
4290+ | "PR_SCHED_CORE_SCOPE_THREAD"
4291+ | "PR_SCHED_CORE_SCOPE_THREAD_GROUP"
4292+ | "PR_SCHED_CORE_SHARE_FROM"
4293+ | "PR_SCHED_CORE_SHARE_TO" if old_musl => true ,
4294+
4295+ // Not present in glibc
4296+ "PR_SME_VL_LEN_MAX" | "PR_SME_SET_VL_INHERIT" | "PR_SME_SET_VL_ONE_EXEC" if gnu => true ,
42844297
42854298 // FIXME(linux): The below is no longer const in glibc 2.34:
42864299 // https://github.com/bminor/glibc/commit/5d98a7dae955bafa6740c26eaba9c86060ae0344
You can’t perform that action at this time.
0 commit comments