From c0bc156696a43bf4603d90088264983ddb436ae3 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 24 Oct 2016 08:42:40 +0200 Subject: [PATCH] Don't mask all signals in the subprocess handler fixes #12940 --- lib/base/process.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/base/process.cpp b/lib/base/process.cpp index e81a8140e..34504247b 100644 --- a/lib/base/process.cpp +++ b/lib/base/process.cpp @@ -228,10 +228,6 @@ static Value ProcessWaitPIDImpl(struct msghdr *msgh, const Dictionary::Ptr& requ static void ProcessHandler(void) { - sigset_t mask; - sigfillset(&mask); - sigprocmask(SIG_SETMASK, &mask, NULL); - rlimit rl; if (getrlimit(RLIMIT_NOFILE, &rl) >= 0) { rlim_t maxfds = rl.rlim_max;