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

git: vfs: add support for incoming faccessat(2) syscall


From: Nicolas Thery <nth@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 Aug 2009 00:01:43 -0700 (PDT)

commit b2aed953647428149e24f2497ae39e417c6c0ea5
Author: Nicolas Thery <nthery@gmail.com>
Date:   Sun Aug 23 00:37:44 2009 +0200

    vfs: add support for incoming faccessat(2) syscall
    
    Add flags argument to vop_access and change vop_helper_access()
    to check access against real or effective uid/gid depending on
    AT_EACCESS presence in flags.
    
    NOTE: nfs_access() may need to be changed too but I haven't yet
    managed to figure out whether if should use real or effective uid
    depending on AT_EACCESS.
    
    Approved-by: dillon@, corecode@

Summary of changes:
 sys/kern/vfs_helper.c |   20 +++++++++++++++-----
 sys/kern/vfs_vopops.c |    4 +++-
 sys/sys/fcntl.h       |    1 +
 sys/sys/vfsops.h      |    9 ++++++---
 4 files changed, 25 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b2aed953647428149e24f2497ae39e417c6c0ea5


-- 
DragonFly BSD source repository



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