Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2006 19:57:56 +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
Message-ID:  <200601211957.k0LJvuUx013925@repoman.freebsd.org>

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



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