Home
last modified time | relevance | path

Searched refs:pmonitor (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dmonitor_wrap.c91 extern struct monitor *pmonitor;
128 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
198 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_MODULI, &m); in mm_choose_dh()
201 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_MODULI, &m); in mm_choose_dh()
225 struct kex *kex = *pmonitor->m_pkex; in mm_key_sign()
234 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SIGN, &m); in mm_key_sign()
237 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SIGN, &m); in mm_key_sign()
257 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PWNAM, &m); in mm_getpwnamallow()
260 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PWNAM, &m); in mm_getpwnamallow()
316 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTH2_READ_BANNER, &m); in mm_auth2_read_banner()
[all …]
Dmonitor.c334 monitor_child_preauth(Authctxt *_authctxt, struct monitor *pmonitor) in monitor_child_preauth() argument
341 close(pmonitor->m_recvfd); in monitor_child_preauth()
342 close(pmonitor->m_log_sendfd); in monitor_child_preauth()
343 pmonitor->m_log_sendfd = pmonitor->m_recvfd = -1; in monitor_child_preauth()
367 authenticated = (monitor_read(pmonitor, mon_dispatch, &ent) == 1); in monitor_child_preauth()
397 mm_request_receive_expect(pmonitor->m_sendfd, in monitor_child_preauth()
399 authenticated = mm_answer_pam_account(pmonitor->m_sendfd, &m); in monitor_child_preauth()
420 mm_get_keystate(pmonitor); in monitor_child_preauth()
423 while (pmonitor->m_log_recvfd != -1 && monitor_read_log(pmonitor) == 0) in monitor_child_preauth()
426 close(pmonitor->m_sendfd); in monitor_child_preauth()
[all …]
Dsshd.c240 struct monitor *pmonitor = NULL; variable
361 if (use_privsep && pmonitor != NULL && pmonitor->m_pid > 0) in grace_alarm_handler()
362 kill(pmonitor->m_pid, SIGALRM); in grace_alarm_handler()
661 pmonitor = monitor_init(); in privsep_preauth()
663 pmonitor->m_pkex = &active_state->kex; in privsep_preauth()
666 box = ssh_sandbox_init(pmonitor); in privsep_preauth()
673 pmonitor->m_pid = pid; in privsep_preauth()
684 monitor_child_preauth(authctxt, pmonitor); in privsep_preauth()
687 monitor_sync(pmonitor); in privsep_preauth()
693 pmonitor->m_pid = -1; in privsep_preauth()
[all …]
Dsandbox-seccomp-filter.c161 extern struct monitor *pmonitor;
172 mm_log_handler(SYSLOG_LEVEL_FATAL, msg, pmonitor); in ssh_sandbox_violation()
DChangeLog4163 avoid crash at exit: check that pmonitor!=NULL before dereferencing;