Skip to content

Commit c689be0

Browse files
committed
Base: Add "sendfd" and "recvfd" promises to pledge(2)
And as it turns out, these are not even extensions! :^)
1 parent 55a22b5 commit c689be0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Base/usr/share/man/man2/pledge.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ If the process later attempts to use any system functionality it has previously
5151
* `settime`: Changing the system time and date
5252
* `setkeymap`: Changing the system keyboard layout (\*)
5353
* `sigaction`: Change signal handlers and dispositions (\*)
54+
* `sendfd`: Send file descriptors over a local socket
55+
* `recvfd`: Receive file descriptors over a local socket
5456

5557
Promises marked with an asterisk (\*) are SerenityOS specific extensions not supported by the original OpenBSD `pledge()`.
5658

0 commit comments

Comments
 (0)