sysctl.d: loosen restricted ptrace for Steam (wayland?)

This commit is contained in:
Aminda Suomalainen 2025-07-02 18:11:27 +03:00
parent 35cb7a8651
commit e65e0634a2
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -1,8 +1,8 @@
# Only let child processes to be debugged
# https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html
#kernel.yama.ptrace_scope = 1
kernel.yama.ptrace_scope = 1
# Only processes with CAP_SYS_PTRACE capability are allowed unless children
# call PTRACE_TRACEME.
kernel.yama.ptrace_scope = 2
#kernel.yama.ptrace_scope = 2
# Disable debuggers entirely. Cannot be unset [without reboot].
#kernel.yama.ptrace_scope = 3