3 ms·
That is supposed to be limited to processes with ptrace rights. Which are highly privileged. Generally what happened here is that a piece of state got lost in
by AstralStorm 9y ago
That is supposed to be limited to processes with ptrace rights. Which are highly privileged.
Generally what happened here is that a piece of state got lost in the layers of abstraction. This combined with a race condition is enough.
- caf 9y agoIn common setups ptrace rights aren't highly privileged, the normal situation is that users can ptrace their own processes. To be clear, I'm just adding a bit of context around why a page in a read-only mapping is COWed when these debugging interfaces are used to write to it, rather than failing with an exception. The bug existed in the handling of this edge-case.