summaryrefslogtreecommitdiffstats
path: root/content/posts
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts')
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org10
1 files changed, 5 insertions, 5 deletions
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);