Skip to content

Commit 35895a5

Browse files
committed
fixup! More that need the low 6.x
1 parent 36723f2 commit 35895a5

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

libc-test/build.rs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)