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/23/2006 11:05:02
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: Sat, 23 Dec 2006 13:00:06 +0200

 YAMAMOTO Takashi wrote:
 >> btw: can't we solve the problem for netbsd-4 with SAVENAME?
 > 
 > if it's enough for you, it can.  i don't know.
 
 it's the same, because namei() can already do this for us.
 
 in check_exec() it's an obvious fix. in sys_unlink() we can add SAVENAME
 and PNBUF_PUT() for error cases. in rename_files() we can do the same,
 but it seems it already passes SAVESTART. are SAVENAME and SAVESTART
 mutually exclusive?
 
 > i still don't understand why you want to feed saved pathname to veriexec.
 
 because otherwise the log messages are meaningless...
 
 -e.