mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user