I wanted to use
ptrace on a recent version of Ubuntu to inspect the memory of any other process running under the same OS user. However, I quickly stumbled upon
Operation not permitted
After a quick web search I found that:
In Ubuntu 10.10 and later, users cannot ptrace processes that are not a descendant of the debugger. The behavior is controllable through the /proc/sys/kernel/yama/ptrace_scope sysctl, available via Yama.
I know that I can set this value to 0 and then do what I want. However, I was wondering if there exist any Linux distros which have
ptrace_scope set to zero by default?