[icinga-checkins] icinga.org: icinga2/master: Don' t mask all signals in the subprocess handler

git at icinga.org git at icinga.org
Mon Oct 24 08:45:21 CEST 2016


Module: icinga2
Branch: master
Commit: c0bc156696a43bf4603d90088264983ddb436ae3
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=c0bc156696a43bf4603d90088264983ddb436ae3

Author: Gunnar Beutner <gunnar.beutner at icinga.com>
Date:   Mon Oct 24 08:42:40 2016 +0200

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 e81a814..3450424 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;



More information about the icinga-checkins mailing list