mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
runit: don't leak SIGCONT SIG_IGN into all child processes.
This commit is contained in:
parent
fba58d92a5
commit
ea5b73f47d
2 changed files with 17 additions and 1 deletions
16
srcpkgs/runit/patches/sigcont.patch
Normal file
16
srcpkgs/runit/patches/sigcont.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
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);
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'runit'
|
# Template file for 'runit'
|
||||||
pkgname=runit
|
pkgname=runit
|
||||||
version=2.1.2
|
version=2.1.2
|
||||||
revision=13
|
revision=14
|
||||||
build_wrksrc="${pkgname}-${version}/src"
|
build_wrksrc="${pkgname}-${version}/src"
|
||||||
build_style="gnu-makefile"
|
build_style="gnu-makefile"
|
||||||
short_desc="UNIX init scheme with service supervision"
|
short_desc="UNIX init scheme with service supervision"
|
||||||
|
|
Loading…
Add table
Reference in a new issue