DragonFly-2.3.0.332.g91810 master sys/kern vfs_syscalls.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Feb 28 19:13:15 PST 2009


commit 918101d3be679a76c85ea8f47b94e05f8eb11ee5
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/918101d3be679a76c85ea8f47b94e05f8eb11ee5


-- 
DragonFly BSD source repository





More information about the Commits mailing list