DragonFly-2.2.1.8.g778963 DragonFly_RELEASE_2_2 sys/kern vfs_syscalls.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun May 3 23:51:51 PDT 2009


commit 778963124b94d3f75cd6ace4556026708b1006b7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Feb 28 15:30:30 2009 -0800

    HAMMER VFS - Fix improper cred checks for utimes()
    
    Adjust the kern_utimes() code in the kernel to check for write permissions
    prior to diving into the VFS.  UFS checks for write perms but HAMMER doesn't.
    Generally speaking we want (at least for now) the kernel to do as much of
    these checks as possible.
    
    Reported-by: YONETANI Tomokazu <qhwt+dfly at les.ath.cx>

Summary of changes:
 sys/kern/vfs_syscalls.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/778963124b94d3f75cd6ace4556026708b1006b7


-- 
DragonFly BSD source repository





More information about the Commits mailing list