summaryrefslogtreecommitdiff
path: root/usr.bin/sort/sort.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-04-02 12:43:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-04-02 12:43:09 +0000
commitae425576c9b681190ae752db0fc8036a00ba141c (patch)
tree3bc67fbaf3b4132728da37dfbea1e23e3a19d808 /usr.bin/sort/sort.c
parentedb26935e3704ea96f0fcdea41f3c6a2bdca7382 (diff)
Don't install signal handlers for SIGQUIT, SIGVTALRM, SIGPROF.
Diffstat (limited to 'usr.bin/sort/sort.c')
-rw-r--r--usr.bin/sort/sort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sort/sort.c b/usr.bin/sort/sort.c
index d7d98190810..ce36ced1ee6 100644
--- a/usr.bin/sort/sort.c
+++ b/usr.bin/sort/sort.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sort.c,v 1.68 2015/04/01 22:49:47 millert Exp $ */
+/* $OpenBSD: sort.c,v 1.69 2015/04/02 12:43:08 millert Exp $ */
/*-
* Copyright (C) 2009 Gabor Kovesdan <gabor@FreeBSD.org>
@@ -394,8 +394,8 @@ static void
set_signal_handler(void)
{
struct sigaction sa;
- int i, signals[] = {SIGTERM, SIGHUP, SIGINT, SIGQUIT, SIGUSR1, SIGUSR2,
- SIGPIPE, SIGXCPU, SIGXFSZ, SIGVTALRM, SIGPROF, 0};
+ int i, signals[] = {SIGTERM, SIGHUP, SIGINT, SIGUSR1, SIGUSR2,
+ SIGPIPE, SIGXCPU, SIGXFSZ, 0};
memset(&sa, 0, sizeof(sa));
sigfillset(&sa.sa_mask);