From 5064e2bb192682bd81cebb97056b56fb07d4dd3f Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Fri, 30 Oct 2020 18:46:54 -0400 Subject: explain auth_clrenv --- content/posts/WIP-how-bsd-authentication-works/index.org | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3