summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2020-10-30 13:17:16 -0400
committerDante Catalfamo2020-10-30 13:17:16 -0400
commit5963705b935b89785e2f050512f701a2248372e8 (patch)
tree476eed67388a1400582a7a0eec832b2ce3dc15a8
parentc046fd9e604dac8655152b0897d5e6186da81fc2 (diff)
downloadblog-5963705b935b89785e2f050512f701a2248372e8.tar.gz
blog-5963705b935b89785e2f050512f701a2248372e8.tar.bz2
blog-5963705b935b89785e2f050512f701a2248372e8.zip
Begin _auth_spool
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org
index c3afd1a..9b17953 100644
--- a/content/posts/WIP-how-bsd-authentication-works/index.org
+++ b/content/posts/WIP-how-bsd-authentication-works/index.org
@@ -630,7 +630,13 @@
Finally when it's gone through both lists, returns =NULL=
** _auth_spool
+ #+begin_src c
+ static void _auth_spool(auth_session_t *as, int fd)
+ #+end_src
+ =_auth_spool='s job is to read data from =fd= and place it in
+ =as->spool=, and to update =as->index= to the length of the data on
+ the spool.
** _recv_fd
* auth_close