nfs: fix real/effective id mismatch in nfs_access
authorNicolas Thery <nthery@gmail.com>
Wed, 9 Sep 2009 07:39:02 +0000 (09:39 +0200)
committerNicolas Thery <nthery@gmail.com>
Wed, 9 Sep 2009 07:53:55 +0000 (09:53 +0200)
commit408229397d962ed4b38dbb059e2327e5b7d66146
tree64541d3902baf0006c4d2f5043bf7f0ffc21ac33
parentd66b98ebb623f903e93cd6590d34fc87135a4561
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.
sys/vfs/nfs/nfs_vnops.c