Lines Matching refs:authctxt
657 privsep_preauth(Authctxt *authctxt) in privsep_preauth() argument
687 monitor_child_preauth(authctxt, pmonitor); in privsep_preauth()
731 privsep_postauth(Authctxt *authctxt) argument
738 if (authctxt->pw->pw_uid == 0 || options.use_login) {
778 do_setusercontext(authctxt->pw);
1476 Authctxt *authctxt; local
2181 authctxt = xcalloc(1, sizeof(*authctxt));
2183 authctxt->loginmsg = &loginmsg;
2186 the_authctxt = authctxt;
2193 if (privsep_preauth(authctxt) == 1)
2206 do_authentication2(authctxt);
2210 do_authentication(authctxt);
2231 authctxt->authenticated = 1;
2243 temporarily_use_uid(authctxt->pw);
2260 privsep_postauth(authctxt);
2274 do_authenticated(authctxt);