17 lines
486 B
Diff
17 lines
486 B
Diff
runit(8): don't leak SIGCONT SIG_IGN into all child processes
|
|
|
|
https://inbox.vuxu.org/supervision/87tug3vzex.fsf@vuxu.org/
|
|
https://github.com/ksh93/ksh/issues/301
|
|
|
|
--- runit-2.1.2/src/runit.c.orig
|
|
+++ runit-2.1.2/src/runit.c
|
|
@@ -125,7 +125,7 @@
|
|
sig_unblock(sig_child);
|
|
sig_uncatch(sig_child);
|
|
sig_unblock(sig_cont);
|
|
- sig_ignore(sig_cont);
|
|
+ sig_uncatch(sig_cont);
|
|
sig_unblock(sig_hangup);
|
|
sig_unblock(sig_int);
|
|
sig_uncatch(sig_int);
|