diff options
| author | Logan <Logan@cattn.dev> | 2026-11-23 12:48:20 -0500 |
|---|---|---|
| committer | Logan <Logan@cattn.dev> | 2026-11-23 12:48:20 -0500 |
| commit | af75a43dc9376a3bf5cbd9ab5d7e09936c68cb11 (patch) | |
| tree | a0e1544c3d704d794827753b4bcff64742259fc0 /runtime/src/main.cpp | |
| parent | 75c2b87a751ca1825caee3fae323cce43c1eb78a (diff) | |
xmem: judge a fault on a committed page by the protection at the faulting address
The handler queried the protection at the start of the 64 KiB page, so
a write to a 4 KiB part the title had made read-only looked allowed and
was resumed, faulting again forever instead of reaching the title's own
handler. It now looks the record up by the page and the protection up
by the faulting address. xmem_test writes to a read-only 4 KiB part of
a read-write page and expects the fault.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions