summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/monitor.c b/monitor.c
index 6ee44204c..dc6d78d3c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor.c,v 1.206 2019/12/15 18:57:30 djm Exp $ */ 1/* $OpenBSD: monitor.c,v 1.207 2020/01/23 07:10:22 dtucker Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * Copyright 2002 Markus Friedl <markus@openbsd.org> 4 * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -393,11 +393,11 @@ monitor_child_postauth(struct ssh *ssh, struct monitor *pmonitor)
393 pmonitor->m_recvfd = -1; 393 pmonitor->m_recvfd = -1;
394 394
395 monitor_set_child_handler(pmonitor->m_pid); 395 monitor_set_child_handler(pmonitor->m_pid);
396 signal(SIGHUP, &monitor_child_handler); 396 ssh_signal(SIGHUP, &monitor_child_handler);
397 signal(SIGTERM, &monitor_child_handler); 397 ssh_signal(SIGTERM, &monitor_child_handler);
398 signal(SIGINT, &monitor_child_handler); 398 ssh_signal(SIGINT, &monitor_child_handler);
399#ifdef SIGXFSZ 399#ifdef SIGXFSZ
400 signal(SIGXFSZ, SIG_IGN); 400 ssh_signal(SIGXFSZ, SIG_IGN);
401#endif 401#endif
402 402
403 mon_dispatch = mon_dispatch_postauth20; 403 mon_dispatch = mon_dispatch_postauth20;