1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:07:45 +00:00

Base: Don't mark "prot_exec" pledge promise as a SerenityOS extension

OpenBSD also has this promise.
This commit is contained in:
Andreas Kling 2021-02-12 16:23:33 +01:00
parent c4db224c94
commit ca1c560161

View file

@ -53,7 +53,7 @@ If the process later attempts to use any system functionality it has previously
* `sendfd`: Send file descriptors over a local socket
* `recvfd`: Receive file descriptors over a local socket
* `ptrace`: The [`ptrace(2)`](ptrace.md) syscall (\*)
* `prot_exec`: [`mmap(2)`](mmap.md) and [`mprotect(2)`](mprotect.md) with `PROT_EXEC` (\*)
* `prot_exec`: [`mmap(2)`](mmap.md) and [`mprotect(2)`](mprotect.md) with `PROT_EXEC`
Promises marked with an asterisk (\*) are SerenityOS specific extensions not supported by the original OpenBSD `pledge()`.