• Kirill Smelkov's avatar
    Low-level pagefault handler · 6f7d4d64
    Kirill Smelkov authored
    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.
    6f7d4d64
tfault.c 2.57 KB