Subject: Re: kern/35278: veriexec sometimes feeds user va to log(9)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 12/20/2006 09:35:02
The following reply was made to PR kern/35278; it has been noted by GNATS.
From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: elad@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/35278: veriexec sometimes feeds user va to log(9)
Date: Wed, 20 Dec 2006 18:32:06 +0900 (JST)
> YAMAMOTO Takashi wrote:
>
> > i don't think it's a good idea to sprinkle these redundant pnbuf allocation
> > and copyinstr.
> >
> > if you really want to have a functionality to keep a copy of the original
> > pathname, it should be done by making namei always use a caller-supplied
> > buffer directly (and internal buffer only for symlink handing), rather
> > than a hack like this, IMO.
>
> wouldn't that mean changes to either namei() api and/or struct nameidata
> abi?
>
> -e.
yes.
YAMAMOTO Takashi