DragonFly commits List (threaded) for 2009-02
DragonFly BSD
DragonFly commits List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 Feb 2009 19:12:20 -0800 (PST)

commit 918101d3be679a76c85ea8f47b94e05f8eb11ee5
Author: Matthew Dillon <dillon@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@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



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