diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/posts/WIP-how-bsd-authentication-works/index.org | 14 | 
1 files changed, 5 insertions, 9 deletions
| diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org index 46387c4..527f719 100644 --- a/content/posts/WIP-how-bsd-authentication-works/index.org +++ b/content/posts/WIP-how-bsd-authentication-works/index.org @@ -1344,7 +1344,7 @@    First, the variable arguments are placed in =as->ap0=.    [[#_auth_next_arg][=_auth_next_arg=]] is called once, with the result being set as the -  first element in =argv=. If =as->fd= is set, add =-v= and =fd=4= to +  first element in =argv=. If =as->fd= is set, adds =-v= and =fd=4= to    =argv=.    Then it loops through the =optlist= and appends =-v= followed the @@ -1358,7 +1358,7 @@    is called the "back channel", and is used to communicate with the    authentication module. -  The process now calls [[https://man.openbsd.org/man2/fork.2][=fork(2)=]]. +  The process then calls [[https://man.openbsd.org/man2/fork.2][=fork(2)=]].    Here two constants are set for the back channel and optional    authentication file descriptors. @@ -1590,13 +1590,9 @@     #+end_src     @@html: </details> @@ -   Returns one argument per call. - -   First goes through =as->ap0=, returning one argument at a time -   until it hits the =NULL= character pointer. At which point it -   calls =va_end(as->ap0)= and [[https://man.openbsd.org/man3/bzero.3#explicit_bzero][=explicit_bzero(3)=]]'s it. - -   Moves on to do the same thing for =as->ap=. +   Loops through =as->ap0= then =as->ap=, returning one argument per +   call. Calls =va_end= on each list once it finishes with them, then +   [[https://man.openbsd.org/man3/bzero.3#explicit_bzero][=explicit_bzero(3)=]]'s them.     Finally when it's gone through both lists, returns =NULL= | 
