Subject: Re: kern/35278: veriexec sometimes feeds user va to log(9)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Elad Efrat <elad@NetBSD.org>
List: netbsd-bugs
Date: 12/24/2006 07:00:05
The following reply was made to PR kern/35278; it has been noted by GNATS.

From: Elad Efrat <elad@NetBSD.org>
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/35278: veriexec sometimes feeds user va to log(9)
Date: Sun, 24 Dec 2006 08:55:53 +0200

 YAMAMOTO Takashi wrote:
 
 >> the possibilities for sys_unlink/rename_files are:
 >>
 >>   - change NDINIT()/namei() to work with a pathname_t interface similar
 >>     to what you suggested. if we do that, we probably don't want to
 >>     pull it up to netbsd-4, and we'll have to pull up a PNBUF_GET() +
 >>     copyinstr() + PNBUF_PUT() fix.
 >>
 >>   - use a pathname_t interface similar to the one I suggested. this
 >>     can be pulled up to netbsd-4.
 > 
 > for short-term or netbsd-4, they are mostly same.
 > the only difference is that, while the latter uses subroutines,
 > the former duplicate the code instead.  right?
 
 yes. if we do the latter, we can always just not document it. although
 it seems like you prefer that over changes to namei(), so maybe it's
 okay to document it. :)
 
 -e.