Low-level pagefault handler
We hook into SIGSEGV and handle read/write pagefaults this way. In this patch there goes stub code that only detects faults and determines (in arch specific way) whether fault was for read or write and there is a TODO to pass that information to higher level. It also comes with tests to detect we still crash if we access something incorrectly, so people could have coredumps and investigate them.
Showing with 332 additions and 1 deletions
bigfile/pagefault.c 0 → 100644
bigfile/tests/tfault.c 0 → 100644
t/tfault-run 0 → 100755