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

If I remember it right, only 1 ptrace can be attached. So this seems easy to fix:. Just ptrace yourself, and nobody else will.

As a bonus, write important state to memory supposed to be read-only. If someone hooked your ptrace, the hook has to reimplement ptrace in a lot more detail. Or use breakpoints as a mechanism to call subroutines.



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

Search: