From ca1c560161397e798c2d049246d63996a8a2ab2b Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 12 Feb 2021 16:23:33 +0100 Subject: [PATCH] Base: Don't mark "prot_exec" pledge promise as a SerenityOS extension OpenBSD also has this promise. --- Base/usr/share/man/man2/pledge.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/usr/share/man/man2/pledge.md b/Base/usr/share/man/man2/pledge.md index 6c9ca8775d..2a20f42dc8 100644 --- a/Base/usr/share/man/man2/pledge.md +++ b/Base/usr/share/man/man2/pledge.md @@ -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()`.