Home
last modified time | relevance | path

Searched refs:use_privsep (Results 1 – 13 of 13) sorted by relevance

/freebsd/crypto/openssh/
H A Dauth2-gss.c156 if (authctxt == NULL || (authctxt->methoddata == NULL && !use_privsep)) in input_gssapi_token()
220 if (authctxt == NULL || (authctxt->methoddata == NULL && !use_privsep)) in input_gssapi_errtok()
259 if (authctxt == NULL || (authctxt->methoddata == NULL && !use_privsep)) in input_gssapi_exchange_complete()
272 if ((!use_privsep || mm_is_monitor()) && in input_gssapi_exchange_complete()
297 if (authctxt == NULL || (authctxt->methoddata == NULL && !use_privsep)) in input_gssapi_mic()
323 if ((!use_privsep || mm_is_monitor()) && in input_gssapi_mic()
H A Dplatform.c35 extern int use_privsep;
128 do_pam_setcred(use_privsep); in platform_setusercontext()
156 do_pam_setcred(use_privsep); in platform_setusercontext_post_groups()
H A Dmonitor_wrap.h31 extern int use_privsep;
32 #define PRIVSEP(x) (use_privsep ? mm_##x : x)
H A Dsshd.c252 int use_privsep = -1; variable
495 if (use_privsep == PRIVSEP_ON) in privsep_preauth()
560 use_privsep = 0;
1883 privsep_chroot = use_privsep && (getuid() == 0 || geteuid() == 0);
2348 if (use_privsep) {
2367 if (use_privsep) {
2408 if (use_privsep) {
2440 if (use_privsep)
2453 if (use_privsep) {
2548 if (use_privsep && privsep_is_preauth &&
[all …]
H A Dserverloop.c89 extern int use_privsep;
108 if (use_privsep) in bind_permitted()
357 if (!use_privsep) { in server_loop2()
501 !options.disable_forwarding && (pw->pw_uid == 0 || use_privsep)) { in server_request_direct_streamlocal()
831 (pw->pw_uid != 0 && !use_privsep)) { in server_input_global_request()
H A Dauth-rhosts.c49 extern int use_privsep;
H A Dauth.c83 extern int use_privsep;
276 if (use_privsep && !mm_is_monitor() && !authctxt->postponed) in auth_log()
H A Dauth2.c315 use_privsep ? " [net]" : ""); in input_userauth_request()
318 if (use_privsep) in input_userauth_request()
H A Dsession.c759 if (!use_privsep) in do_login()
770 if (options.use_pam && !use_privsep && s->authctxt->force_pwchange) { in do_login()
1961 if (!use_privsep) in session_pty_req()
2181 if (!use_privsep || mm_is_monitor()) { in session_signal_req()
2733 if (!use_privsep || mm_is_monitor()) in do_cleanup()
H A Dauth-pam.c672 if (sshpam_handle == NULL || (use_privsep && !mm_is_monitor())) in sshpam_cleanup()
1196 if (use_privsep) in do_pam_chauthtok()
H A Dssh_api.c55 int use_privsep = 0; variable
H A Dservconf.c82 extern int use_privsep;
464 if (use_privsep == -1) in fill_default_server_options()
465 use_privsep = PRIVSEP_ON; in fill_default_server_options()
/freebsd/contrib/blocklist/diff/
H A Dssh.diff129 if (use_privsep && pmonitor != NULL && pmonitor->m_pid > 0)
150 if (use_privsep && privsep_is_preauth &&