On Mon, 18 Apr 2005, Jeff Moyer wrote:
==> Regarding Re: [autofs] Re: [patch, rfc] fix hung automounter issues; [EMAIL PROTECTED] adds:
raven> On Mon, 18 Apr 2005 [EMAIL PROTECTED] wrote:
raven> Hang on, I think I've got a problem with white space and my mailer.
raven> If you have problems with the patch in the previous mail try this one raven> instead (maybe just use this one).
Oops, we need to disable signals when flushing the logs. The following is unsafe:
+static void flush_log(void) +{ + int i; + + for (i = 0; i < ringlen; i++) + syslog(logbuf[i].pri, logbuf[i].buf); + ringlen = 0; +} +
But it's static and only called when signals are blocked.
Ian
_______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
