diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-05-20 15:10:16 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-05-20 15:10:16 +1000 |
commit | 7fa339bb7ca96be1824d85e579cfcfb1be507e51 (patch) | |
tree | bb1387b85520c606b6f1a0a6e6d6ee5d2c3d3b27 | |
parent | 26c6662834a0ed748c52044a60ed51b9102e7d54 (diff) |
- djm@cvs.openbsd.org 2007/05/17 20:52:13
[monitor.c]
pass received SIGINT from monitor to postauth child so it can clean
up properly. bz#1196, patch from senthilkumar_sen AT hotpop.com;
ok markus@
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | monitor.c | 3 |
2 files changed, 8 insertions, 2 deletions
@@ -28,6 +28,11 @@ on a socket, such as is the case when ProxyCommand is used. Gives hostbased auth an opportunity to work; bz#616, report and feedback stuart AT kaloram.com; ok markus@ + - djm@cvs.openbsd.org 2007/05/17 20:52:13 + [monitor.c] + pass received SIGINT from monitor to postauth child so it can clean + up properly. bz#1196, patch from senthilkumar_sen AT hotpop.com; + ok markus@ 20070509 - (tim) [configure.ac] Bug #1287: Add missing test for ucred.h. @@ -2928,4 +2933,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.4666 2007/05/20 05:09:42 dtucker Exp $ +$Id: ChangeLog,v 1.4667 2007/05/20 05:10:16 dtucker Exp $ @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.90 2007/02/19 10:45:58 dtucker Exp $ */ +/* $OpenBSD: monitor.c,v 1.91 2007/05/17 20:52:13 djm Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * Copyright 2002 Markus Friedl <markus@openbsd.org> @@ -409,6 +409,7 @@ monitor_child_postauth(struct monitor *pmonitor) monitor_set_child_handler(pmonitor->m_pid); signal(SIGHUP, &monitor_child_handler); signal(SIGTERM, &monitor_child_handler); + signal(SIGINT, &monitor_child_handler); if (compat20) { mon_dispatch = mon_dispatch_postauth20; |