瀏覽代碼

etc/sysctl.d: add kernel.yama.ptrace_scope = 1

master
父節點
當前提交
60899ca667
簽署人: mikaela <mikaela@mikaela.info> GPG Key ID: 99392F62BAE30723
共有 2 個文件被更改,包括 7 次插入0 次删除
  1. +3
    -0
      etc/sysctl.d/00-ptrace-restricted.conf
  2. +4
    -0
      etc/sysctl.d/60-mikaela.conf

+ 3
- 0
etc/sysctl.d/00-ptrace-restricted.conf 查看文件

@@ -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

+ 4
- 0
etc/sysctl.d/60-mikaela.conf 查看文件

@@ -21,3 +21,7 @@ net.ipv6.conf.all.use_tempaddr=2
## Enable the Magic SysRq key
## https://en.wikipedia.org/wiki/Magic_SysRq_key
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…
取消
儲存