mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-05 17:09:22 +01:00
sysctl.d/00-ptrace-restricted.conf: drop from 3 to 2 (no to admin-only)
This commit is contained in:
parent
d5c7bc8160
commit
6362661113
@ -1,5 +1,8 @@
|
||||
# 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
|
||||
# Only processes with CAP_SYS_PTRACE capability are allowed unless children
|
||||
# call PTRACE_TRACEME.
|
||||
kernel.yama.ptrace_scope = 2
|
||||
# Disable debuggers entirely. Cannot be unset [without reboot].
|
||||
#kernel.yama.ptrace_scope = 3
|
||||
|
Loading…
Reference in New Issue
Block a user