Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2001 17:37:55 -0700 (PDT)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ufs ufs_vnops.c
Message-ID:  <200110080037.f980btS55488@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2001/10/07 17:37:55 PDT

  Modified files:
    sys/ufs/ufs          ufs_vnops.c 
  Log:
  Remove panics for rename() race conditions.  The panics are inappropriate
  because the IN_RENAME flag only fixes a few of the huge number of race
  conditions that can result in the source path becoming invalid even
  prior to the VOP_RENAME() call.  The panics created a serious security
  issue whereby an attacker could fairly easily cause the panic to
  occur, crashing the machine.
  
  The correct solution requires a great deal of work in the namei
  path cache code.
  
  MFC after:	0 days
  
  Revision  Changes    Path
  1.180     +17 -2     src/sys/ufs/ufs/ufs_vnops.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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