I'm running Debian Bullseye and I've configured Yama security module by writing:
kernel.yama.ptrace_scope=3 in /etc/sysctl.d/local.conf
In fact it seems all's well:
# sysctl -a | grep -i yama kernel.yama.ptrace_scope = 3 However, even after a reboot, I keep having the following in the boot messages:
# dmesg | grep -i yama [ 0.100679] Yama: disabled by default; enable with sysctl kernel.yama.* Why the kernel continues to have Yama disabled?
Thank you in advance for answering...