Subject: Re: Problem with gcore and permissions
To: Allen Briggs <briggs@netbsd.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-kern
Date: 01/18/2005 05:15:41
On Mon, 17 Jan 2005 22:36:28 -0500
Allen Briggs <briggs@netbsd.org> wrote:
> Attempting to use SysV semaphores, using an algorithm in Stevens'
> UNPv2 to prevent a race condition, will cause the code to go into an
> infinite loop without this change.  The algorithm depends on sem_otime
> being updated with the time of the last semop(), but that doesn't
> happen in the old code (this has always been broken).

So it is possible that some earlier change exposed this existing bug and
this fixed the root problem?  That could explain why it is happening in
the release but not before or after.

-- 
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/