summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-12-14 03:08:30 +0100
committerDenys Vlasenko2009-12-14 03:08:30 +0100
commit18f89128e58423f0335f5c9b32039e41651ac209 (patch)
tree91fe64105b3c764dba25cc3c59ce940604605c7a /init/init.c
parentbcc6ec9b7e19087254ef323bcc503bb8b6872d75 (diff)
downloadbusybox-18f89128e58423f0335f5c9b32039e41651ac209.zip
busybox-18f89128e58423f0335f5c9b32039e41651ac209.tar.gz
init: for paranoid reasons, restore SIGCONT too.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 89bbafd..669085e 100644
--- a/init/init.c
+++ b/init/init.c
@@ -270,6 +270,7 @@ static void reset_sighandlers_and_unblock_sigs(void)
+ (1 << SIGINT)
+ (1 << SIGHUP)
+ (1 << SIGTSTP)
+ + (1 << SIGSTOP)
, SIG_DFL);
sigprocmask_allsigs(SIG_UNBLOCK);
}