serenity/Kernel/Prekernel
Idan Horowitz bbceb155ce Kernel: Restrict KASLR randomization range when KASAN is enabled
To allow for easy mapping between the kernel virtual addresses and
KASAN shadow memory, we map shadow memory at the very end of the
virtual range, so that we can index into it using just an offset.
To ensure this range is free when needed, we restrict the possible
KASLR range when KASAN is enabled to make sure we don't use the end of
the virtual range.

This fixes the random kernel panics that could occur when KASAN is
enabled, if the kernel was randomly placed at the very end of the
virtual range.
2023-12-30 23:18:49 +01:00
..
boot.S Prekernel: Map entire 4GiB space 2023-10-03 16:19:03 -06:00
CMakeLists.txt Kernel: Restrict KASLR randomization range when KASAN is enabled 2023-12-30 23:18:49 +01:00
init.cpp Kernel: Restrict KASLR randomization range when KASAN is enabled 2023-12-30 23:18:49 +01:00
linker.ld
multiboot.S Kernel: Enable MULTIBOOT_VIDEO_MODE by default 2023-12-29 16:17:07 +01:00
Prekernel.h
UBSanitizer.cpp