Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 02:12:09 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_lookup.c vfs_syscalls.c
Message-ID:  <200601250212.k0P2CA9L089425@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601250212.k0P2CA9L089425>