From: J. Bruce Fields Date: Wed, 21 Aug 2013 14:32:52 +0000 (-0400) Subject: rpc: clean up decoding of gssproxy linux creds X-Git-Tag: v3.12-rc1~62^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778e512bb1d3315c6b55832248cd30c566c081d7;p=pandora-kernel.git rpc: clean up decoding of gssproxy linux creds We can use the normal coding infrastructure here. Two minor behavior changes: - we're assuming no wasted space at the end of the linux cred. That seems to match gss-proxy's behavior, and I can't see why it would need to do differently in the future. - NGROUPS_MAX check added: note groups_alloc doesn't do this, this is the caller's responsibility. Tested-by: Simo Sorce Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed