diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-08-21 10:32:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-01 09:17:48 -0700 |
commit | d68b9c457e6298e941b8b574f921624c6c648218 (patch) | |
tree | 916cb8160133c27bfb470a9b203a1ab6593d19e0 /lib/debugobjects.c | |
parent | 85f58908c038a5e1f51fb9014f0b0954f66be1d4 (diff) |
rpc: clean up decoding of gssproxy linux creds
commit 778e512bb1d3315c6b55832248cd30c566c081d7 upstream.
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 <simo@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions