summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-12-25 19:09:09 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-12-26 04:59:54 +0330
commitca134e8bfa9c26bd5bb9aab2bd044e4d6f759ae4 (patch)
treef47e830180ee603525474dbdf30504527e1a8e94
parentae16cfff0f17733b30cb8f1808a350db95b09639 (diff)
downloadserenity-ca134e8bfa9c26bd5bb9aab2bd044e4d6f759ae4.zip
Base: Mention pledge promise for jail-specific syscalls
-rw-r--r--Base/usr/share/man/man2/pledge.md1
1 files changed, 1 insertions, 0 deletions
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()`.