userns: Convert group_info values from gid_t to kgid_t.
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 14 Nov 2011 23:56:38 +0000 (15:56 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 3 May 2012 10:27:21 +0000 (03:27 -0700)
commitae2975bc3476243b45a1e2344236d7920c268f38
treee4b2a8472f6047734b6e7e2bdc994375b2790323
parent22d917d80e842829d0ca0a561967d728eb1d6303
userns: Convert group_info values from gid_t to kgid_t.

As a first step to converting struct cred to be all kuid_t and kgid_t
values convert the group values stored in group_info to always be
kgid_t values.   Unless user namespaces are used this change should
have no effect.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
12 files changed:
arch/s390/kernel/compat_linux.c
fs/nfsd/auth.c
fs/proc/array.c
include/linux/cred.h
kernel/groups.c
kernel/uid16.c
net/ipv4/ping.c
net/sunrpc/auth_generic.c
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/auth_unix.c
net/sunrpc/svcauth_unix.c
security/keys/permission.c