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

6 lines
197 B
Plaintext
Raw Normal View History

# Only let child processes to be debugged
# https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html
#kernel.yama.ptrace_scope = 1
# Disable debuggers entirely
kernel.yama.ptrace_scope = 3