From e6d0d6f95a2162581a0446039d728f0762e0ed74 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 28 Feb 2013 10:47:43 -0500 Subject: [PATCH] hack to prevent stale children --- daemon/call.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/call.c b/daemon/call.c index 4a10c89..c5f4b1e 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -596,6 +596,8 @@ retry: } /* child process */ + alarm(1); /* syslog functions contain a lock, which may be locked at + this point and can't be unlocked */ rlim(RLIMIT_CORE, 0); sigemptyset(&ss); sigprocmask(SIG_SETMASK, &ss, NULL);