summaryrefslogtreecommitdiff
path: root/monitor_wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r--monitor_wrap.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c
index 53bf59b5b..0fe5bc10d 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -623,6 +623,23 @@ mm_session_pty_cleanup2(void *session)
623 s->ttyfd = -1; 623 s->ttyfd = -1;
624} 624}
625 625
626#ifdef USE_PAM
627void
628mm_start_pam(char *user)
629{
630 Buffer m;
631
632 debug3("%s entering", __FUNCTION__);
633
634 buffer_init(&m);
635 buffer_put_cstring(&m, user);
636
637 mm_request_send(monitor->m_recvfd, MONITOR_REQ_PAM_START, &m);
638
639 buffer_free(&m);
640}
641#endif /* USE_PAM */
642
626/* Request process termination */ 643/* Request process termination */
627 644
628void 645void