From 425db1b40fd56d5f868ad09e03c14e8d0fa48045 Mon Sep 17 00:00:00 2001 From: Can Erkin Acar Date: Fri, 19 Mar 2004 20:36:29 +0000 Subject: Pass SIGINT to child. Noticed by mpech@, ok jakob@ --- usr.sbin/bind/lib/isc/unix/privsep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bind/lib') diff --git a/usr.sbin/bind/lib/isc/unix/privsep.c b/usr.sbin/bind/lib/isc/unix/privsep.c index 22d890aed3f..8e186436b87 100644 --- a/usr.sbin/bind/lib/isc/unix/privsep.c +++ b/usr.sbin/bind/lib/isc/unix/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.1 2004/03/12 18:40:15 canacar Exp $ */ +/* $OpenBSD: privsep.c,v 1.2 2004/03/19 20:36:28 canacar Exp $ */ /* * Copyright (c) 2004 Henning Brauer @@ -94,6 +94,7 @@ isc_priv_init(int lstderr) signal(SIGALRM, sig_pass_to_chld); signal(SIGTERM, sig_pass_to_chld); signal(SIGHUP, sig_pass_to_chld); + signal(SIGINT, sig_pass_to_chld); signal(SIGCHLD, sig_got_chld); /* Father - close unneeded sockets */ -- cgit v1.2.3