Luna/kernel
apio 4ef764e62e
mprotect(): Validate the entire range to protect is in userspace memory
Before this patch, sys_mprotect() only validated the starting address.
This was as bad as it sounds, in fact it let me write a fun exploit
using it.
Now, this exploit is no longer possible.

This patch is probably not relevant, since this branch will be gone in
the future, as soon as restart gets merged into main.
I made it anyways :^)
2023-01-02 11:51:08 +01:00
..
include Kernel: Add a C interface to the logging system 2022-11-12 18:12:18 +01:00
src mprotect(): Validate the entire range to protect is in userspace memory 2023-01-02 11:51:08 +01:00
Makefile Build system: Prettify build 2022-11-08 18:03:43 +01:00
moon.ld Kernel: Add support for the NX bit 2022-11-02 18:34:57 +01:00