diff options
Diffstat (limited to 'content/posts/WIP-how-bsd-authentication-works')
| -rw-r--r-- | content/posts/WIP-how-bsd-authentication-works/index.org | 14 | 
1 files changed, 13 insertions, 1 deletions
| diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org index fce6768..352a353 100644 --- a/content/posts/WIP-how-bsd-authentication-works/index.org +++ b/content/posts/WIP-how-bsd-authentication-works/index.org @@ -522,7 +522,7 @@     =auth_getstate= return the =state= of =*as=. -** auth_setpwd +** auth_setpwd / auth_getpwd     :PROPERTIES:     :CUSTOM_ID: auth_setpwd     :END: @@ -585,6 +585,18 @@     returns =0=. If there is no entry with that username, it returns     =1=. +   @@html: <details> <summary> @@ +   #+begin_src c +   struct passwd *auth_getpwd(auth_session_t *as) +   #+end_src +   @@html: </summary> @@ +   #+begin_src c +   { return (as->pwd); } +   #+end_src +   @@html: </details> @@ + +   =auth_getpwd= returns =as->pwd=. +  ** auth_set_va_list     :PROPERTIES:     :CUSTOM_ID: auth_set_va_list | 
