Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 16:12:04 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        John Polstra <jdp@polstra.com>
Cc:        mbr@freebsd.org
Subject:   RE: thread-unsafe syslog code in libc?
Message-ID:  <Pine.NEB.3.96L.1040815160330.30898Q-100000@fledge.watson.org>
In-Reply-To: <XFMail.20040815125806.jdp@polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Aug 2004, John Polstra wrote:

> The above is only to handle an unusual error case. 
> 
> There is some thread-unsafeness here, but it doesn't look like it would
> matter under normal conditions. 

So maybe we're dealing with a user space race where multiple threads
attempt to do a first syslog in parallel?

Martin -- do we know exactly what that application does threadwise to
generate this problem?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040815160330.30898Q-100000>