cvs commit: src/sys/kern vfs_lookup.c

Don Lewis truckman at FreeBSD.org
Sat Jan 21 11:57:56 PST 2006


truckman    2006-01-21 19:57:56 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_lookup.c 
  Log:
  Return EPERM from lookup() if cn_nameiop is DELETE or RENAME and
  the last component of the path name is "..".  This keeps VOP_LOOKUP()
  from locking vnodes in reverse order.
  
  Tested by:      Denis Shaposhnikov <dsh AT vlink DOT ru>
  MFC after:      3 days
  
  Revision  Changes    Path
  1.84      +11 -4     src/sys/kern/vfs_lookup.c


More information about the cvs-src mailing list