From e65e0634a2eee68d2d02b69bef9a9b2e3ab53456 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 2 Jul 2025 18:11:27 +0300 Subject: [PATCH] sysctl.d: loosen restricted ptrace for Steam (wayland?) --- etc/sysctl.d/00-ptrace-restricted.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/sysctl.d/00-ptrace-restricted.conf b/etc/sysctl.d/00-ptrace-restricted.conf index ba302322..aaa5c2a7 100644 --- a/etc/sysctl.d/00-ptrace-restricted.conf +++ b/etc/sysctl.d/00-ptrace-restricted.conf @@ -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