caa47e6c97
Before, attempting to induce a kernel oops would instead lead to a general protection fault as the interrupt vector was at DPL=0. Now we allow by setting DPL=3. We restrict the allowable reason codes to either stack overflows or kernel oops; we don't want user mode to be able to create a kernel panic, or fake some other kind of exception. Fixes an issue where the stack canary test case was triggering a GPF instead of a stack check exception on x86. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
core | ||
include | ||
CMakeLists.txt | ||
Kconfig | ||
gen_gdt.py | ||
gen_idt.py | ||
gen_mmu_x86.py | ||
ia32.cmake | ||
x64.cmake |