git: hammer - Disallow creation of a file/subdir/etc in a deleted directory

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 26 21:42:31 PDT 2014


commit 06f8943e75900ef8c6df45f3c6f828c26e164da6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Sep 26 21:41:23 2014 -0700

    hammer - Disallow creation of a file/subdir/etc in a deleted directory
    
    * Disallow the creation of inodes within deleted directories.  This
      possibility occurs if a program is CD'd into an empty directory which
      is then rmdir'd, and the program then tries to create something
      in the now-destroyed directory.
    
    Reported-by: varialus

Summary of changes:
 sys/vfs/hammer/hammer_inode.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/06f8943e75900ef8c6df45f3c6f828c26e164da6


-- 
DragonFly BSD source repository



More information about the Commits mailing list