shell-things/etc/sysctl.d/00-ptrace-restricted.conf

4 lines
133 B
Plaintext

# Only let debugging child processes
# https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html
kernel.yama.ptrace_scope = 1