git: nfs: fix real/effective id mismatch in nfs_access

Nicolas Thery nth at crater.dragonflybsd.org
Wed Sep 9 11:59:17 PDT 2009


commit 408229397d962ed4b38dbb059e2327e5b7d66146
Author: Nicolas Thery <nthery at gmail.com>
Date:   Wed Sep 9 09:39:02 2009 +0200

    nfs: fix real/effective id mismatch in nfs_access
    
    When access(2) or faccessat(2) without AT_EACCESS are called on
    NFS file, use real uid/gid.
    
    When faccessat(2) with AT_EACCESS set is called on NFS file, use
    effective uid/gid.

Summary of changes:
 sys/vfs/nfs/nfs_vnops.c |   39 +++++++++++++++++++++++++++++----------
 1 files changed, 29 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/408229397d962ed4b38dbb059e2327e5b7d66146


-- 
DragonFly BSD source repository





More information about the Commits mailing list