From 47e344a2614219d1d9bdb742b18781e7989afa16 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 3ad76d3d4..fa877d3e6 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -600,6 +600,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);