DragonFlyBSD/src 5119e9d — sys/platform/pc64/x86_64 trap.c machdep.c
kernel - Fix SMAP/SMEP caught user mode access part 2/2. * Finish implementing SMAP exception handling support by properly detecting it in trap() and generating a panic(). Otherwise the cpu just locks up in a page-fault loop without any indication as to why on the console. * To properly support SMAP, make sure AC is cleared on system calls (it is already cleared on any interrupt or exception by the frame push code but I missed the syscall entry code).
Delta | File | |
---|---|---|
+49 | -12 | sys/platform/pc64/x86_64/trap.c |
+1 | -1 | sys/platform/pc64/x86_64/machdep.c |
+1 | -1 | sys/platform/pc64/x86_64/mp_machdep.c |
+51 | -14 | 3 files |