Subject: Re: sys_mount/checkdirs race with exit1 for p_cwdi
To: Darrin B.Jewell <dbj@NetBSD.org>
From: Charles M. Hannum <abuse@spamalicious.com>
List: tech-kern
Date: 10/08/2004 15:46:26
On Monday 04 October 2004 16:58, Darrin B.Jewell wrote:
> The following patch will allow checkdirs to skip any exiting processes,
> but I would like some review before committing.
It seems somewhat more sensible to just clear p_cwdi and skip the process if
it's been cleared. Otherwise you risk introducing another race condition.