diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-04-28 01:45:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-04-28 01:45:03 +0000 |
commit | b74e1ecf648c3b79c56ba709218b52b3aa2e128a (patch) | |
tree | 8ca09ee990fe30733bae84709af2b26ccfcb4c12 /src | |
parent | b28835a5009751045e619a367231e80d81702836 (diff) | |
download | execline-b74e1ecf648c3b79c56ba709218b52b3aa2e128a.tar.xz |
Spell it out for OpenBSD: no, we don't want to trap SIGKILL or SIGSTOP, everything is going to be okay, now now, please don't cry
Diffstat (limited to 'src')
-rw-r--r-- | src/execline/trap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/execline/trap.c b/src/execline/trap.c index 29d13ef..4a248d5 100644 --- a/src/execline/trap.c +++ b/src/execline/trap.c @@ -100,6 +100,8 @@ int main (int argc, char const **argv, char const *const *envp) sigset_t full ; sigfillset(&full) ; sigdelset(&full, SIGCHLD) ; + sigdelset(&full, SIGKILL) ; + sigdelset(&full, SIGSTOP) ; for (i = 1 ; i <= NSIG ; i++) if (!argvs[i] && sigismember(&full, i) > 0 && selfpipe_trap(i) < 0) { |