mirror of
https://github.com/RGBCube/serenity
synced 2026-01-14 10:11:01 +00:00
This patch adds sys$msyscall() which is loosely based on an OpenBSD mechanism for preventing syscalls from non-blessed memory regions. It works similarly to pledge and unveil, you can call it as many times as you like, and when you're finished, you call it with a null pointer and it will stop accepting new regions from then on. If a syscall later happens and doesn't originate from one of the previously blessed regions, the kernel will simply crash the process. |
||
|---|---|---|
| .. | ||
| FB.h | ||
| InodeWatcherEvent.h | ||
| KeyCode.h | ||
| MousePacket.h | ||
| Syscall.h | ||