From ca134e8bfa9c26bd5bb9aab2bd044e4d6f759ae4 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sun, 25 Dec 2022 19:09:09 +0200 Subject: [PATCH] Base: Mention pledge promise for jail-specific syscalls --- Base/usr/share/man/man2/pledge.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Base/usr/share/man/man2/pledge.md b/Base/usr/share/man/man2/pledge.md index 0304080ea3..72374779b1 100644 --- a/Base/usr/share/man/man2/pledge.md +++ b/Base/usr/share/man/man2/pledge.md @@ -55,6 +55,7 @@ If the process later attempts to use any system functionality it has previously * `prot_exec`: [`mmap`(2)](help://man/2/mmap) and [`mprotect`(2)](help://man/2/mprotect) with `PROT_EXEC` * `map_fixed`: [`mmap`(2)](help://man/2/mmap) with `MAP_FIXED` or `MAP_FIXED_NOREPLACE` (\*) * `no_error`: Ignore requests of pledge elevation going forwards, this is useful for enforcing _execpromises_ while the child process wants to ask for more upfront (Note that the elevation requests are _not_ granted, merely ignored), this is similar to the `error` pledge in OpenBSD. +* `jail`: Various jail-specific syscalls (\*) Promises marked with an asterisk (\*) are SerenityOS specific extensions not supported by the original OpenBSD `pledge()`.