DragonFly-2.3.0.867.gdae8d master sys/kern vfs_nlookup.c sys/sys nlookup.h

Matthew Dillon dillon at crater.dragonflybsd.org
Sat May 2 10:52:44 PDT 2009


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


-- 
DragonFly BSD source repository





More information about the Commits mailing list