Base: Mention pledge promise for jail-specific syscalls

This commit is contained in:
Liav A 2022-12-25 19:09:09 +02:00 committed by Ali Mohammad Pur
parent ae16cfff0f
commit ca134e8bfa

View file

@ -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()`.