Browse Source

Base: Add "sendfd" and "recvfd" promises to pledge(2)

And as it turns out, these are not even extensions! :^)
Andreas Kling 5 years ago
parent
commit
c689be0dbc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Base/usr/share/man/man2/pledge.md

+ 2 - 0
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()`.