Subject: Re: eliminating veriexec #ifdefs in vfs_vnops.c
To: None <elad@NetBSD.org>
From: YAMAMOTO Takashi <email@example.com>
Date: 12/29/2006 23:36:07
> attached diff does, well, what the subject line says.
> it works here, but I'd like some more eyes on it (locking issues? I
> dunno), so please review.
> if no one objects, I'll just go ahead and commit it.
- it introduces more overhead for non veriexec users...
- it seems quite racy. i don't know if it's a problem for veriexec, tho.
first and second namei() can see different
pathnames (if userland pathname buffer is modified) and/or
vnode (if any components in the pathname is renamed).