summaryrefslogtreecommitdiff
path: root/usr.sbin/bind
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2004-03-19 20:36:29 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2004-03-19 20:36:29 +0000
commit425db1b40fd56d5f868ad09e03c14e8d0fa48045 (patch)
tree6a13c3df48c08efcf28b70c667af3f76d5d0a282 /usr.sbin/bind
parentb2a9b24f7e68ead21a42df63a8cdf210e107a8fc (diff)
Pass SIGINT to child. Noticed by mpech@, ok jakob@
Diffstat (limited to 'usr.sbin/bind')
-rw-r--r--usr.sbin/bind/lib/isc/unix/privsep.c3
1 files changed, 2 insertions, 1 deletions
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 <henning@openbsd.org>
@@ -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 */