瀏覽代碼

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

And as it turns out, these are not even extensions! :^)
Andreas Kling 5 年之前
父節點
當前提交
c689be0dbc
共有 1 個文件被更改,包括 2 次插入0 次删除
  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()`.