Home
last modified time | relevance | path

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

/external/openssh/
Dmonitor_wrap.c90 extern struct monitor *pmonitor;
127 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
195 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_MODULI, &m); in mm_choose_dh()
198 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_MODULI, &m); in mm_choose_dh()
222 struct kex *kex = *pmonitor->m_pkex; in mm_key_sign()
232 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SIGN, &m); in mm_key_sign()
235 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SIGN, &m); in mm_key_sign()
255 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PWNAM, &m); in mm_getpwnamallow()
258 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PWNAM, &m); in mm_getpwnamallow()
314 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTH2_READ_BANNER, &m); in mm_auth2_read_banner()
[all …]
Dmonitor.c284 monitor_child_preauth(Authctxt *_authctxt, struct monitor *pmonitor) in monitor_child_preauth() argument
292 close(pmonitor->m_recvfd); in monitor_child_preauth()
293 close(pmonitor->m_log_sendfd); in monitor_child_preauth()
294 pmonitor->m_log_sendfd = pmonitor->m_recvfd = -1; in monitor_child_preauth()
311 authenticated = (monitor_read(pmonitor, mon_dispatch, &ent) == 1); in monitor_child_preauth()
338 mm_request_receive_expect(pmonitor->m_sendfd, in monitor_child_preauth()
340 authenticated = mm_answer_pam_account(pmonitor->m_sendfd, &m); in monitor_child_preauth()
362 mm_get_keystate(pmonitor); in monitor_child_preauth()
365 while (pmonitor->m_log_recvfd != -1 && monitor_read_log(pmonitor) == 0) in monitor_child_preauth()
368 close(pmonitor->m_sendfd); in monitor_child_preauth()
[all …]
Dsshd.c224 struct monitor *pmonitor = NULL; variable
343 if (use_privsep && pmonitor != NULL && pmonitor->m_pid > 0) in grace_alarm_handler()
344 kill(pmonitor->m_pid, SIGALRM); in grace_alarm_handler()
570 pmonitor = monitor_init(); in privsep_preauth()
572 pmonitor->m_pkex = &active_state->kex; in privsep_preauth()
575 box = ssh_sandbox_init(pmonitor); in privsep_preauth()
582 pmonitor->m_pid = pid; in privsep_preauth()
593 monitor_child_preauth(authctxt, pmonitor); in privsep_preauth()
599 pmonitor->m_pid = -1; in privsep_preauth()
603 pmonitor->m_pid = -1; in privsep_preauth()
[all …]
Dsandbox-seccomp-filter.c271 extern struct monitor *pmonitor;
282 mm_log_handler(SYSLOG_LEVEL_FATAL, msg, pmonitor); in ssh_sandbox_violation()