mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-16 04:35:58 +00:00
There is no real "read protection" on x86, so we have no choice but to map write-only pages simply as "present & read/write". If we get a read page fault in a non-readable region, that's still a correctness issue, so we crash the process. It's by no means a complete protection against invalid reads, since it's trivial to fool the kernel by first causing a write fault in the same region.
17 KiB
17 KiB