diff --git a/etc/sysctl.d/00-ptrace-restricted.conf b/etc/sysctl.d/00-ptrace-restricted.conf index 7bd34383..face8980 100644 --- a/etc/sysctl.d/00-ptrace-restricted.conf +++ b/etc/sysctl.d/00-ptrace-restricted.conf @@ -1,3 +1,5 @@ # Only let child processes to be debugged # https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html -kernel.yama.ptrace_scope = 1 +#kernel.yama.ptrace_scope = 1 +# Disable debuggers entirely +kernel.yama.ptrace_scope = 3