summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/auth_gss.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-02-01 17:18:04 -0800
committerEric W. Biederman <ebiederm@xmission.com>2013-02-13 06:15:20 -0800
commite572fc739822ad779493b8a72bd27f2101fc3373 (patch)
tree0178825a3990b0b316e7ecd2830cdcfbc3451a5e /net/sunrpc/auth_gss/auth_gss.c
parentcdba321e291f0fbf5abda4d88340292b858e3d4d (diff)
downloadop-kernel-dev-e572fc739822ad779493b8a72bd27f2101fc3373.zip
op-kernel-dev-e572fc739822ad779493b8a72bd27f2101fc3373.tar.gz
sunrpc: Use gid_valid to test for gid != INVALID_GID
In auth unix there are a couple of places INVALID_GID is used a sentinel to mark the end of uc_gids array. Use gid_valid as a type safe way to verify we have not hit the end of valid data in the array. Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'net/sunrpc/auth_gss/auth_gss.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud