From 28dbcf24d64417253b167e67230e563e78454d41 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Mon, 21 Dec 2020 22:12:24 -0500 Subject: bsd-auth: Add more links --- content/posts/WIP-how-bsd-authentication-works/index.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'content/posts/WIP-how-bsd-authentication-works/index.org') diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org index 3426347..101e470 100644 --- a/content/posts/WIP-how-bsd-authentication-works/index.org +++ b/content/posts/WIP-how-bsd-authentication-works/index.org @@ -171,7 +171,7 @@ - If =password= is specified, then it's non-interactively tested =auth_userokay= is just a wrapper around [[#auth_usercheck][=auth_usercheck=]], which - takes care of closing the session using =auth_close= for you, + takes care of closing the session using [[#auth_close][=auth_close=]] for you, returning the resulting value. * auth_session_t @@ -370,8 +370,8 @@ escape sequences in the value, and returns the newly created string. - For convenience, the function =auth_mkvalue= can be used inside of - the authentication module to create and return appropriately + For convenience, the function [[https://man.openbsd.org/man3/authenticate.3#auth_mkvalue][=auth_mkvalue(3)=]] can be used inside + of the authentication module to create and return appropriately escaped value strings. * auth_open @@ -823,11 +823,11 @@ s = as->state & AUTH_ALLOW; #+end_src - If =s= is equal to =0=, =as->index= is set to =0=, truncating + If =s= is equal to =0= (failure), =as->index= is set to =0=, truncating =as->spool= so that no further functions will be able to read from it. - It then modifies the environment using =auth_setenv= + It then modifies the environment using [[#auth_setenv][=auth_setenv=]] #+begin_src c auth_setenv(as); -- cgit v1.2.3