From 5c56ef6fa84bb1145435124b6c536acddee7fbc5 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 30 Sep 2015 12:21:47 +0000 Subject: remove old self-kill() in the signal handler. must predate the signal handler audit. found while adapting ping6 to tame. ok kettenis --- sbin/ping6/ping6.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index ac523acb9f2..39d6b2ba164 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping6.c,v 1.116 2015/09/16 10:12:03 florian Exp $ */ +/* $OpenBSD: ping6.c,v 1.117 2015/09/30 12:21:46 deraadt Exp $ */ /* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */ /* @@ -1856,9 +1856,6 @@ onint(int signo) { summary(signo); - (void)signal(SIGINT, SIG_DFL); - (void)kill(getpid(), SIGINT); - if (signo) _exit(nreceived ? 0 : 1); else -- cgit v1.2.3