diff options
author | Dante Catalfamo | 2020-11-03 15:19:24 -0500 |
---|---|---|
committer | Dante Catalfamo | 2020-11-03 15:19:24 -0500 |
commit | 2e24230cb8dcdc0261f8ce1a6234c143690b917e (patch) | |
tree | fb1565a4adfda5b653397dca80235f337bf9a6bc /content/posts | |
parent | d17011f4a8dfed324983bf81a3da1a7cc34ac956 (diff) | |
download | blog-2e24230cb8dcdc0261f8ce1a6234c143690b917e.tar.gz blog-2e24230cb8dcdc0261f8ce1a6234c143690b917e.tar.bz2 blog-2e24230cb8dcdc0261f8ce1a6234c143690b917e.zip |
Describe the control message API
Diffstat (limited to 'content/posts')
-rw-r--r-- | content/posts/WIP-how-bsd-authentication-works/index.org | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org index 4b48016..f051248 100644 --- a/content/posts/WIP-how-bsd-authentication-works/index.org +++ b/content/posts/WIP-how-bsd-authentication-works/index.org @@ -699,9 +699,12 @@ #+end_src =_recv_fd= reads control messages, also called ancillary data, from - =fd= and tried to receive a file descriptor. If it receives one and - =as->fd= is equal to =-1=, it sets it to the received file - descriptor. Otherwise it closes the received file descriptor. + =fd= and tries to receive a file descriptor. It does this using the + [[https://man.openbsd.org/CMSG_DATA.3][control message API]]. + + If it receives one and =as->fd= is equal to =-1=, it sets it to the + received file descriptor. Otherwise it closes the received file + descriptor. ** _add_rmlist #+begin_src c |