DragonFly-2.3.0.871.g945b47 master 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:17:32 PDT 2009


commit 945b476ab592fbe1bf771d4a3008be2e1a8ae495
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/945b476ab592fbe1bf771d4a3008be2e1a8ae495


-- 
DragonFly BSD source repository





More information about the Commits mailing list