• Home
  • Raw
  • Download

Lines Matching refs:pmonitor

284 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()
369 close(pmonitor->m_log_recvfd); in monitor_child_preauth()
370 pmonitor->m_sendfd = pmonitor->m_log_recvfd = -1; in monitor_child_preauth()
386 monitor_child_postauth(struct monitor *pmonitor) in monitor_child_postauth() argument
388 close(pmonitor->m_recvfd); in monitor_child_postauth()
389 pmonitor->m_recvfd = -1; in monitor_child_postauth()
391 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth()
412 monitor_read(pmonitor, mon_dispatch, NULL); in monitor_child_postauth()
416 monitor_read_log(struct monitor *pmonitor) in monitor_read_log() argument
426 if (atomicio(read, pmonitor->m_log_recvfd, in monitor_read_log()
431 close(pmonitor->m_log_recvfd); in monitor_read_log()
432 pmonitor->m_log_recvfd = -1; in monitor_read_log()
444 if (atomicio(read, pmonitor->m_log_recvfd, in monitor_read_log()
463 monitor_read(struct monitor *pmonitor, struct mon_table *ent, in monitor_read() argument
473 pfd[0].fd = pmonitor->m_sendfd; in monitor_read()
475 pfd[1].fd = pmonitor->m_log_recvfd; in monitor_read()
487 monitor_read_log(pmonitor); in monitor_read()
496 mm_request_receive(pmonitor->m_sendfd, &m); in monitor_read()
511 ret = (*ent->f)(pmonitor->m_sendfd, &m); in monitor_read()
1438 extern struct monitor *pmonitor; in mm_answer_pty()
1450 s->pid = pmonitor->m_pid; in mm_answer_pty()
1521 extern struct monitor *pmonitor; in mm_answer_term()
1534 while (waitpid(pmonitor->m_pid, &status, 0) == -1) in mm_answer_term()
1587 monitor_apply_keystate(struct monitor *pmonitor) in monitor_apply_keystate() argument
1624 mm_get_keystate(struct monitor *pmonitor) in mm_get_keystate() argument
1630 mm_request_receive_expect(pmonitor->m_sendfd, MONITOR_REQ_KEYEXPORT, in mm_get_keystate()