hack to prevent stale children

2.0
Richard Fuchs 12 years ago
parent d9194b5c29
commit e6d0d6f95a

@ -596,6 +596,8 @@ retry:
} }
/* child process */ /* 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); rlim(RLIMIT_CORE, 0);
sigemptyset(&ss); sigemptyset(&ss);
sigprocmask(SIG_SETMASK, &ss, NULL); sigprocmask(SIG_SETMASK, &ss, NULL);

Loading…
Cancel
Save