sysctl: Permit ptrace usage for processes with CAP_SYS_PTRACE

https://lists.ipfire.org/pipermail/development/2022-June/013763.html

Reported-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2022-06-29 19:43:08 +00:00
parent 2fcfe2e1f3
commit 5086ed681d

View File

@@ -109,5 +109,5 @@ kernel.core_uses_pid = 1
# Block non-uid-0 profiling
kernel.perf_event_paranoid = 3
# Deny any ptrace use as there is no legitimate use-case for it on IPFire
kernel.yama.ptrace_scope = 3
# Only processes with CAP_SYS_PTRACE may use ptrace
kernel.yama.ptrace_scope = 2