mirror of
https://github.com/k4yt3x/sysctl.git
synced 2025-12-18 02:06:37 +00:00
Mentions kernel.yama.ptrace_scope = 3 breaks lxc v6+ procfs
See <https://github.com/lxc/lxcfs/issues/636> and <https://github.com/lxc/lxcfs/issues/639>.
This commit is contained in:
parent
feeb1516bc
commit
0283efcc03
@ -42,6 +42,8 @@ kernel.kptr_restrict = 2
|
||||
# - 1: only a parent process can be debugged
|
||||
# - 2: only admins can use ptrace (CAP_SYS_PTRACE capability required)
|
||||
# - 3: disables ptrace completely, reboot is required to re-enable ptrace
|
||||
# be aware disabling ptrace completely breaks lxc v6+ procfs emulation for unprivileged containers
|
||||
# (see https://github.com/lxc/lxcfs/issues/636)
|
||||
kernel.yama.ptrace_scope = 3
|
||||
|
||||
# restrict kernel logs to root only
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user