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

Don Lewis truckman at FreeBSD.org
Sun Jan 22 11:37:03 PST 2006


truckman    2006-01-22 19:37:02 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_lookup.c vfs_syscalls.c 
  Log:
  Tweak previous vfs_lookup.c commit to return an EINVAL error from
  lookup() instead of EPERM when a DELETE or RENAME operation is
  attempted on "..".
  
  In kern_unlink(), remap EINVAL errors returned from namei() to EPERM
  to match existing (and POSIX required) behaviour.
  
  Discussed with: bde
  MFC after:      3 days
  
  Revision  Changes    Path
  1.85      +1 -1      src/sys/kern/vfs_lookup.c
  1.400     +1 -1      src/sys/kern/vfs_syscalls.c


More information about the cvs-all mailing list