19 ms·
Or if you have an LSM such as Yama or SELinux set to deny ptrace globally.
by comex 7y ago
Or if you have an LSM such as Yama or SELinux set to deny ptrace globally.
- justincormack 7y agoYama lets you ptrace a child process but not others.
- jwilk 7y agoBy default, yes. You can also disable ptrace() completely. (Grep for "ptrace_scope" in the ptrace(2) man page for details.)