]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
x86: treat user page fault as SIGSEGV
authorTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 03:56:13 +0000 (00:56 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 03:56:13 +0000 (00:56 -0300)
commitb50436ffa8d0adffbd66e4b96ff4e1160a513f77
tree0c09b8765bbf04d3cc490d287708a69d7a4a57ea
parent466c6a48dba9d248c5d3240e22b4b359a3878bac
x86: treat user page fault as SIGSEGV

Handle ISR14 page faults from ring3 by terminating the current process with a SIGSEGV-like status (128+11) instead of kernel panic. Add userland smoke test that triggers a NULL write and validates waitpid status.
src/arch/x86/idt.c
user/init.c