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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 May 2009 23:50:16 -0700 (PDT)

commit 778963124b94d3f75cd6ace4556026708b1006b7
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/778963124b94d3f75cd6ace4556026708b1006b7


-- 
DragonFly BSD source repository



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