summaryrefslogtreecommitdiffstats
path: root/content/posts/WIP-how-bsd-authentication-works/index.org
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts/WIP-how-bsd-authentication-works/index.org')
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org9
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