ladybird/Kernel
Andreas Kling c1f74bf327 Kernel: Never validate access to the kmalloc memory range
Memory validation is used to verify that user syscalls are allowed to
access a given memory range. Ring 0 threads never make syscalls, and
so will never end up in validation anyway.

The reason we were allowing kmalloc memory accesses is because kernel
thread stacks used to be allocated in kmalloc memory. Since that's no
longer the case, we can stop making exceptions for kmalloc in the
validation code.
2020-01-27 12:43:21 +01:00
..
ACPI Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
Arch/i386 Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
Devices Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
FileSystem Kernel+LibC+Userland: Switch to 64-bit time_t 2020-01-27 10:59:29 +01:00
Heap Kernel: Never validate access to the kmalloc memory range 2020-01-27 12:43:21 +01:00
Net Kernel: read()/write() should respect timeouts when used on a sockets 2020-01-26 17:54:23 +01:00
PCI Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
TTY Kernel: Unbreak canonical mode TTY erase after LibVT changes 2020-01-25 20:44:33 +01:00
VM AK: Let's call decrementing reference counts "unref" instead of "deref" 2020-01-23 15:14:21 +01:00
.bochsrc Meta: Make Serenity run on Bochs once again 2019-08-06 21:09:24 +02:00
.gitignore Meta: Removed all gitignore in the source tree only keeping the root one 2019-06-30 10:41:26 +02:00
Assertions.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
build-gpt-image-grub.sh Build: Fix more bugs in the POSIX sh-ification of scripts 2019-11-03 13:11:43 +01:00
build-image-grub.sh Build: use $SUDO_[UG]ID in build-image-* instead of relying on makeall 2020-01-15 21:52:09 +01:00
build-image-qemu.sh Build: use absolute path for /sbin/mke2fs 2020-01-22 22:04:29 +01:00
build-root-filesystem.sh Base: Let's make home directories 700 to keep things private :^) 2020-01-09 21:57:52 +01:00
CMOS.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CMOS.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Console.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Console.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
debug-kernel Debugging: Add kernel debugging support 2020-01-13 11:06:42 +01:00
DoubleBuffer.cpp Kernel: Make DoubleBuffer use a KBuffer instead of kmalloc()ing 2020-01-20 16:08:49 +01:00
DoubleBuffer.h Kernel: Make DoubleBuffer use a KBuffer instead of kmalloc()ing 2020-01-20 16:08:49 +01:00
FB.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
grub.cfg Kernel: Move DMI decoder initialization method to init_stage2 2020-01-14 15:38:58 +01:00
grub_gpt.cfg Kernel: Move DMI decoder initialization method to init_stage2 2020-01-14 15:38:58 +01:00
init.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
InterruptHandler.cpp Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
InterruptHandler.h Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
IO.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
IRQHandler.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
IRQHandler.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
KBuffer.h Kernel: Allow naming KBuffers 2020-01-20 14:00:11 +01:00
KBufferBuilder.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KBufferBuilder.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KernelInfoPage.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KeyCode.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KParams.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KParams.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
kprintf.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KResult.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
kstdio.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KSyms.cpp Kernel: Remove some unnecessary casts to uintptr_t 2020-01-20 13:13:03 +01:00
KSyms.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
linker.ld Kernel: Move kernel above the 3GB virtual address mark 2020-01-17 22:34:26 +01:00
Lock.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Lock.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
makeall.sh Build: Fix silly mistake in makeall.sh 2020-01-23 10:41:07 +01:00
Makefile Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
mkmap.sh Kernel: Allow modules to link against anything in kernel.map :^) 2019-11-28 21:30:20 +01:00
Module.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
MousePacket.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Multiboot.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Process.cpp Kernel: Never validate access to the kmalloc memory range 2020-01-27 12:43:21 +01:00
Process.h Kernel: Rename UnveilState to VeilState 2020-01-21 19:28:59 +01:00
ProcessTracer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ProcessTracer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Profiling.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Profiling.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Random.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Random.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RTC.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RTC.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
run run: Bump default RAM size from 128 MB to 256 MB 2020-01-15 23:14:20 +01:00
Scheduler.cpp Kernel: read()/write() should respect timeouts when used on a sockets 2020-01-26 17:54:23 +01:00
Scheduler.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SharedBuffer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SharedBuffer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SharedInterruptHandler.cpp Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
SharedInterruptHandler.h Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
StdLib.cpp Kernel: Assert that copy_to/from_user() are called with user addresses 2020-01-19 09:18:55 +01:00
StdLib.h Kernel: Assert that copy_to/from_user() are called with user addresses 2020-01-19 09:18:55 +01:00
sync.sh Meta: Allow sync.sh to be run from any directory 2020-01-06 10:43:00 +01:00
Syscall.cpp Kernel: Clear ESI and EDI on syscall entry 2020-01-25 10:34:32 +01:00
Syscall.h Kernel: Add a basic implementation of unveil() 2020-01-20 22:12:04 +01:00
TestModule.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Thread.cpp Kernel: Tidy up debug logging a little bit 2020-01-21 16:16:20 +01:00
Thread.h Kernel: read()/write() should respect timeouts when used on a sockets 2020-01-26 17:54:23 +01:00
TimerQueue.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
TimerQueue.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
UnixTypes.h Kernel+LibC+Userland: Switch to 64-bit time_t 2020-01-27 10:59:29 +01:00
WaitQueue.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
WaitQueue.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00