diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-10-26 19:00:38 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-10-26 19:00:38 +0000 |
commit | 53845c4465a947511f843e5f437e3eb4f126d879 (patch) | |
tree | a731bbc525f42fd6e980328f09aba5c3e06de62f /usr.bin | |
parent | 693da01715c98a846959e542e40c07542d863b54 (diff) |
SIGQUIT handler needs to be cleared before fork like the others,
reported by Simon Andersson.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/proc.c b/usr.bin/tmux/proc.c index 4790d5e87e7..af8343f77e7 100644 --- a/usr.bin/tmux/proc.c +++ b/usr.bin/tmux/proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.c,v 1.18 2020/08/04 08:50:01 nicm Exp $ */ +/* $OpenBSD: proc.c,v 1.19 2020/10/26 19:00:37 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -270,6 +270,7 @@ proc_clear_signals(struct tmuxproc *tp, int defaults) if (defaults) { sigaction(SIGINT, &sa, NULL); + sigaction(SIGQUIT, &sa, NULL); sigaction(SIGHUP, &sa, NULL); sigaction(SIGCHLD, &sa, NULL); sigaction(SIGCONT, &sa, NULL); |