3 ms·
So correct me if I am wrong, to disable ptrace? echo 0 > /proc/sys/kernel/yama/ptrace_scope Grsecurity kernels also seem to have /proc/sys/kernel/grsec
by ck2 14y ago
So correct me if I am wrong, to disable ptrace?
echo 0 > /proc/sys/kernel/yama/ptrace_scope
Grsecurity kernels also seem to have
/proc/sys/kernel/grsecurity.harden_ptrace
- andri 14y agoAccording to https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace%20Protection https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening... setting it to zero would actually restore the more permissive behavior. But, like someone here mentioned, a value of 1 would still allow to ptrace your own process children.