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

Nicolas Thery nth at crater.dragonflybsd.org
Sun Aug 23 00:03:20 PDT 2009


commit b2aed953647428149e24f2497ae39e417c6c0ea5
Author: Nicolas Thery <nthery at 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





More information about the Commits mailing list