mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
etc/sysctl.d: add kernel.yama.ptrace_scope = 1
This commit is contained in:
parent
3e325cca03
commit
60899ca667
3
etc/sysctl.d/00-ptrace-restricted.conf
Normal file
3
etc/sysctl.d/00-ptrace-restricted.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Only let debugging child processes
|
||||||
|
# https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html
|
||||||
|
kernel.yama.ptrace_scope = 1
|
@ -21,3 +21,7 @@ net.ipv6.conf.all.use_tempaddr=2
|
|||||||
## Enable the Magic SysRq key
|
## Enable the Magic SysRq key
|
||||||
## https://en.wikipedia.org/wiki/Magic_SysRq_key
|
## https://en.wikipedia.org/wiki/Magic_SysRq_key
|
||||||
kernel.sysrq = 1
|
kernel.sysrq = 1
|
||||||
|
|
||||||
|
# Only let debugging child processes
|
||||||
|
# https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html
|
||||||
|
kernel.yama.ptrace_scope = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user