News for hackers. Stuff that matters.
Re:CVE-2013-0871: Linux arbitrary kernel-mode code execution by ck2 on Saturday February 16, 2013 @07:05AM (#5231252)
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
Re:CVE-2013-0871: Linux arbitrary kernel-mode code execution by andri on Thursday February 21, 2013 @07:04PM (#5261569)
According to 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.