From 21cd42db5c57c1a2c4ccc48c772640b06b3ba809 Mon Sep 17 00:00:00 2001 From: dtucker Date: Sun, 20 May 2007 05:10:16 +0000 Subject: [PATCH] - 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@ --- ChangeLog | 5 +++++ monitor.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 15100fb1..e85d44d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/monitor.c b/monitor.c index 02f2dc86..08c7ea3c 100644 --- a/monitor.c +++ b/monitor.c @@ -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 * Copyright 2002 Markus Friedl @@ -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; -- 2.45.2