summaryrefslogtreecommitdiff
path: root/Base/usr/share
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-25 10:54:57 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-25 10:58:37 +0200
commitc689be0dbc702f3187029deee58ac9e5cf749372 (patch)
treeb506905f8ae8ecbfdd65ea86baddadc0415b9c71 /Base/usr/share
parent55a22b50c9dea72b6ed5f8dea3455e9a903560c4 (diff)
downloadserenity-c689be0dbc702f3187029deee58ac9e5cf749372.zip
Base: Add "sendfd" and "recvfd" promises to pledge(2)
And as it turns out, these are not even extensions! :^)
Diffstat (limited to 'Base/usr/share')
-rw-r--r--Base/usr/share/man/man2/pledge.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Base/usr/share/man/man2/pledge.md b/Base/usr/share/man/man2/pledge.md
index f557b21626..cd7911c812 100644
--- a/Base/usr/share/man/man2/pledge.md
+++ b/Base/usr/share/man/man2/pledge.md
@@ -51,6 +51,8 @@ If the process later attempts to use any system functionality it has previously
* `settime`: Changing the system time and date
* `setkeymap`: Changing the system keyboard layout (\*)
* `sigaction`: Change signal handlers and dispositions (\*)
+* `sendfd`: Send file descriptors over a local socket
+* `recvfd`: Receive file descriptors over a local socket
Promises marked with an asterisk (\*) are SerenityOS specific extensions not supported by the original OpenBSD `pledge()`.