From 2784cb41a3689084baea86daed599438aa810d52 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 8c36fe7..ed9701b 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -609,6 +609,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);