diff options
author | 2015-04-02 12:43:08 +0000 | |
---|---|---|
committer | 2015-04-02 12:43:08 +0000 | |
commit | d0d48f19ba4b7246d140b9c607c56e7209458a77 (patch) | |
tree | 749ce5c7d4ea90e5ba298960d7032606d1faf72f | |
parent | When using mmap() we don't need to keep the open fd around, closing (diff) | |
download | wireguard-openbsd-d0d48f19ba4b7246d140b9c607c56e7209458a77.tar.xz wireguard-openbsd-d0d48f19ba4b7246d140b9c607c56e7209458a77.zip |
Don't install signal handlers for SIGQUIT, SIGVTALRM, SIGPROF.
-rw-r--r-- | usr.bin/sort/sort.c | 6 |
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); |