summaryrefslogtreecommitdiffstats
path: root/content/posts/WIP-how-bsd-authentication-works/index.org
diff options
context:
space:
mode:
authorDante Catalfamo2020-10-30 18:46:54 -0400
committerDante Catalfamo2020-10-30 18:46:54 -0400
commit5064e2bb192682bd81cebb97056b56fb07d4dd3f (patch)
tree09b2dbd918d610d0b7b35c9f106d9742c9517289 /content/posts/WIP-how-bsd-authentication-works/index.org
parent81fda606363a54b5d7ba5086c1e127e7b373729e (diff)
downloadblog-5064e2bb192682bd81cebb97056b56fb07d4dd3f.tar.gz
blog-5064e2bb192682bd81cebb97056b56fb07d4dd3f.tar.bz2
blog-5064e2bb192682bd81cebb97056b56fb07d4dd3f.zip
explain auth_clrenv
Diffstat (limited to 'content/posts/WIP-how-bsd-authentication-works/index.org')
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org9
1 files changed, 9 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 a0d7d4e..1a92943 100644
--- a/content/posts/WIP-how-bsd-authentication-works/index.org
+++ b/content/posts/WIP-how-bsd-authentication-works/index.org
@@ -286,6 +286,15 @@
#+end_src
=auth_set_va_list= copies =ap= to the =ap= field in =*as=
+
+** auth_clrenv
+ #+begin_src c
+ void auth_clrenv(auth_session_t *as)
+ #+end_src
+
+ =auth_clrenv= removes all lines containing =BI_SETENV= and
+ =BI_UNSETENV= from =as->spool=. This is explained under the
+ =auth_call= section.
* auth_open
#+begin_src c