ladybird/Kernel/Arch
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
..
i386 Kernel: Panic if we're about to switch to a user thread with IOPL!=0 2020-12-23 14:30:10 +01:00
PC AK: Rename KB, MB, GB to KiB, MiB, GiB 2020-08-16 16:33:28 +02:00