DragonFly-2.2.1.10.g5dedb DragonFly_RELEASE_2_2 sys/kern vfs_nlookup.c sys/sys nlookup.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun May 3 23:51:52 PDT 2009
commit 5dedb299e639500966e4bb5d104da3bc5f3960ab
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat May 2 10:49:58 2009 -0700
Fix sticky bit directory handling for deletions.
Properly check the sticky bit and disallow deletions if set on a directory
and the user doing the deletion does not own the directory or the file.
This check is now being done by the kernel layer, VFSs do not need to do
this check any more.
Reported-by: YONETANI Tomokazu <qhwt+dfly at les.ath.cx>
Summary of changes:
sys/kern/vfs_nlookup.c | 63 ++++++++++++++++++++++++++++++++++++++++++-----
sys/sys/nlookup.h | 3 +-
2 files changed, 57 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5dedb299e639500966e4bb5d104da3bc5f3960ab
--
DragonFly BSD source repository
More information about the Commits
mailing list