rpc: comment on linux_cred encoding, treat all as unsigned
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 23 Aug 2013 15:17:53 +0000 (11:17 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 6 Sep 2013 15:45:57 +0000 (11:45 -0400)
commit6a36978e6931e6601be586eb313375335f2cfaa3
tree537c869b262ebdcbd97ada7697fa6b05a15735ce
parent778e512bb1d3315c6b55832248cd30c566c081d7
rpc: comment on linux_cred encoding, treat all as unsigned

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>
net/sunrpc/auth_gss/gss_rpc_xdr.c