From c689be0dbc702f3187029deee58ac9e5cf749372 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 25 Jun 2020 10:54:57 +0200 Subject: [PATCH] Base: Add "sendfd" and "recvfd" promises to pledge(2) And as it turns out, these are not even extensions! :^) --- Base/usr/share/man/man2/pledge.md | 2 ++ 1 file changed, 2 insertions(+) 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()`.