On Mon, Aug 01, 2011 at 09:31:11PM +0100, David Laight wrote:
 > > +  if (flags & FOLLOW)
 > > +          namei_simple_flags = NSM_FOLLOW_TRYEMULROOT;
 > > +  else
 > > +          namei_simple_flags =  NSM_NOFOLLOW_TRYEMULROOT;
 > > +
 > > +  error = namei_simple_user(path, namei_simple_flags, &vp);
 > 
 > Not withstanding dh's comment, why not pass in all the namei flags.
 > 
 > > +  error = namei_simple_user(path, flags, &vp);

Because I gimmicked up the flags for namei_simple specifically to
disallow that sort of thing :-)

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to