Hacker News new | ask | show | jobs
by Retr0id 899 days ago
stelf-loader does not use ptrace
1 comments

Writing to /proc/pid/mem requires access to ptrace. I never said it would use ptrace directly.
It's gated by the same access control logic that governs ptrace yes, but it does not use ptrace directly nor indirectly. The first step of that logic is:

> If the calling thread and the target thread are in the same thread group, access is always allowed.