DragonFly-2.2.1.11.gbf022 DragonFly_RELEASE_2_2 sys/kern vfs_nlookup.c vfs_syscalls.c sys/sys nlookup.h vnode.h sys/vfs/nfs nfs_subs.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun May 3 23:51:52 PDT 2009
commit bf022891f1bce0d30f855b81f313e820c938f70a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun May 3 23:08:19 2009 -0700
The kernel permissions check code was not checking deletability for
the rename source or the directory sticky bit for rename targets which
existed.
This only effected HAMMER which assumes the kernel is responsible for
permissions checks.
Reported-by: YONETANI Tomokazu <qhwt+dfly at les.ath.cx>
Summary of changes:
sys/kern/vfs_nlookup.c | 103 +++++++++++++++++++++++++++++------------------
sys/kern/vfs_syscalls.c | 4 +-
sys/sys/nlookup.h | 1 +
sys/sys/vnode.h | 4 +-
sys/vfs/nfs/nfs_subs.c | 4 +-
5 files changed, 73 insertions(+), 43 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bf022891f1bce0d30f855b81f313e820c938f70a
--
DragonFly BSD source repository
More information about the Commits
mailing list