cvs commit: src/sys/kern vfs_lookup.c vfs_syscalls.c

Don Lewis truckman at FreeBSD.org
Wed Jan 25 18:29:54 PST 2006


truckman    2006-01-26 02:29:53 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/kern             vfs_lookup.c vfs_syscalls.c 
  Log:
  MFC vfs_lookup.c 1.84 and 1.85, and vfs_syscalls.c 1.400
  
   Return EINVAL 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.
  
   In kern_unlink(), remap EINVAL errors returned from namei() to EPERM
   to match existing (and POSIX required) behaviour.
  
  Revision   Changes    Path
  1.64.2.3   +11 -4     src/sys/kern/vfs_lookup.c
  1.356.2.6  +1 -1      src/sys/kern/vfs_syscalls.c


More information about the cvs-src mailing list