1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-31 05:32:44 +00:00
serenity/Kernel/Arch/i386
Andreas Kling c25cf5fb56 Kernel: Panic if we're about to switch to a user thread with IOPL!=0
This is a crude protection against IOPL elevation attacks. If for
any reason we find ourselves about to switch to a user mode thread
with IOPL != 0, we'll now simply panic the kernel.

If this happens, it basically means that something tricked the kernel
into incorrectly modifying the IOPL of a thread, so it's no longer
safe to trust the kernel anyway.
2020-12-23 14:30:10 +01:00
..
Boot Kernel: Tell the bootloader to put us into graphics mode 2020-08-01 07:57:29 +02:00
CPU.cpp Kernel: Allow to install a real IRQ handler on a spurious one 2020-12-21 00:19:21 +01:00
CPU.h Kernel: Panic if we're about to switch to a user thread with IOPL!=0 2020-12-23 14:30:10 +01:00
Interrupts.h Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
ISRStubs.h Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
ProcessorInfo.cpp Kernel: Add some CPU feature flags related to TSC 2020-10-08 10:00:39 +02:00
ProcessorInfo.h Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00