Re:How Dirty COW works from the Linux kernel’s perspective
by caf on Friday May 26, 2017 @09:08AM
(#14423725)
In 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.
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.