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.3.0.867.gdae8d master sys/kern vfs_nlookup.c sys/sys nlookup.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 2 May 2009 10:52:25 -0700 (PDT)

commit dae8d54f0708cf191cbb06ef6aa43cd570ceea90
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/dae8d54f0708cf191cbb06ef6aa43cd570ceea90


-- 
DragonFly BSD source repository



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