summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-02 01:05:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-02 01:05:51 +0000
commitf947bb9b6abf1d31b74de33b09c7a4456aa2a14d (patch)
treec0a831b40fa9405101479a500f3a8e0832a5157b
parentec14d9381ff4e0890fbd067e445bdb3ed1e6fc38 (diff)
mark signal races
-rw-r--r--sbin/ping6/ping6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 87d458a4d26..a8519371ba7 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.59 2004/09/14 22:12:27 deraadt Exp $ */
+/* $OpenBSD: ping6.c,v 1.60 2005/12/02 01:05:50 deraadt Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
@@ -2155,13 +2155,13 @@ tvsub(struct timeval *out, struct timeval *in)
void
onint(int notused)
{
- summary();
+ summary(); /* XXX signal race */
(void)signal(SIGINT, SIG_DFL);
(void)kill(getpid(), SIGINT);
/* NOTREACHED */
- exit(1);
+ exit(1); /* XXX signal race */
}
/*