feat(kernel): compile in the LSMs the config already declares #13
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/lsm-yama-landlock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CONFIG_LSM names landlock,lockdown,yama,integrity,apparmor,bpf but only apparmor and bpf are built.
Ground truth from worker seanfarm-worker-069094 running 6.18.42-seanfarm29-1-g4a449ea2ffd5:
So landlock and yama are declared but inert. This cluster runs arbitrary code as a service, and without yama any process can ptrace another process of the same uid.
Enables CONFIG_SECURITY_YAMA and CONFIG_SECURITY_LANDLOCK. Lockdown stays off deliberately: CONFIG_MODULES=n already does its main job and it interacts with BPF program loading that Tetragon depends on.
Acceptance after the roll: /sys/kernel/security/lsm gains landlock and yama, and /proc/sys/kernel/yama/ptrace_scope exists.