mount-setup: generalize cgroupfs_recursiveprot_supported()

This commit is contained in:
Mike Yuan
2025-03-06 12:56:29 +01:00
parent f0d7613466
commit 64db06c421
4 changed files with 24 additions and 36 deletions

3
README
View File

@@ -52,7 +52,8 @@ REQUIREMENTS:
# FIXME: actually drop compat glue before v258
Linux kernel ≥ 5.6 for getrandom() GRND_INSECURE
≥ 5.7 for CLONE_INTO_CGROUP, BPF links and the BPF LSM hook
≥ 5.7 for CLONE_INTO_CGROUP, cgroup2fs memory_recursiveprot option,
BPF links and the BPF LSM hook
⚠️ Kernel versions below 5.7 ("recommended baseline") have significant gaps
in functionality and are not recommended for use with this version