Subject: Re: kern/35351 (Re: CVS commit: src/sys/kern)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Elad Efrat <e@murder.org>
List: netbsd-bugs
Date: 04/07/2007 16:50:02
The following reply was made to PR kern/35351; it has been noted by GNATS.

From: Elad Efrat <e@murder.org>
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Cc: tech-kern@netbsd.org, gnats-bugs@netbsd.org
Subject: Re: kern/35351 (Re: CVS commit: src/sys/kern)
Date: Sat, 07 Apr 2007 19:48:25 +0200

 YAMAMOTO Takashi wrote:
 
 > the lack of locking in fileassoc.  are you kidding?
 >
 > 
 > as you know, veriexec is not only user of fileassoc.
 > do you mean you have investigated all of users and know fileassoc
 > doesn't need to have locking on netbsd-4?  otherwise, why do you claim
 > it isn't a problem?  to me, these users seem to work basically independently,
 > so i think nothing serializes users and thus fileassoc itself needs to
 > have locking internally.
 > am i missing something obvious?  (i guess i am, given that you are
 > an author of all of these fileassoc users.)
 
 (interesting use of the word "all". :)
 
 besides veriexec there's only segvguard, for which the implementation
 needs to change - it's unsafe even if locking was in place. I pointed
 this out at least two times, and this is why it's disabled by default.
 
 -e.