Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or if you have an LSM such as Yama or SELinux set to deny ptrace globally.


Yama lets you ptrace a child process but not others.


By default, yes.

You can also disable ptrace() completely.

(Grep for "ptrace_scope" in the ptrace(2) man page for details.)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: