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

Don Lewis truckman at FreeBSD.org
Tue Jan 24 18:12:24 PST 2006


truckman    2006-01-25 02:12:09 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    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.80.2.4   +11 -4     src/sys/kern/vfs_lookup.c
  1.392.2.5  +1 -1      src/sys/kern/vfs_syscalls.c


More information about the cvs-src mailing list