aboutsummaryrefslogtreecommitdiff
path: root/net/sunrpc/auth_gss/gss_rpc_upcall.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2013-08-23 11:17:53 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-01 09:41:02 -0700
commit25aa4abcf089f849705d232f9028516f9f95c121 (patch)
treeff0d59fa9875617663f09b10e9b666d057b8489f /net/sunrpc/auth_gss/gss_rpc_upcall.c
parent4a3c0a03cbc9eec8bafbcf76448494b469ef903b (diff)
rpc: comment on linux_cred encoding, treat all as unsigned
commit 6a36978e6931e6601be586eb313375335f2cfaa3 upstream. The encoding of linux creds is a bit confusing. Also: I think in practice it doesn't really matter whether we treat any of these things as signed or unsigned, but unsigned seems more straightforward: uid_t/gid_t are unsigned and it simplifies the ngroups overflow check. Tested-by: Simo Sorce <simo@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_rpc_upcall.c')
0 files changed, 0 insertions, 0 deletions