DragonFly commits List (threaded) for 2009-05
DragonFly BSD
DragonFly commits List (threaded) for 2009-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.2.1.10.g5dedb DragonFly_RELEASE_2_2 sys/kern vfs_nlookup.c sys/sys nlookup.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 May 2009 23:50:17 -0700 (PDT)

commit 5dedb299e639500966e4bb5d104da3bc5f3960ab
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]