Mark Mossberg personal blog

Linux Internals: How /proc/self/mem writes to unwritable memory (2021)

Introduction An obscure quirk of the /proc/*/mem pseudofile is its “punch through” semantics. Writes performed through this file will succeed even if the destination virtual memory is marked unwritable. In fact, this behavior is intentional and actively used by projects such as the Julia JIT compiler and rr debugger…
Points
129
HN comments
29
Submissions
1
Cited by
0 commenters

Systems & PerformanceSecurity & Privacy2026

On Hacker News

SubmittedTitle on HNPointsComments
Mar 8, 2026Linux Internals: How /proc/self/mem writes to unwritable memory (2021) by medbar12929

Related posts from the same era