userns: Store uid and gid values in struct cred with kuid_t and kgid_t types
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 8 Feb 2012 15:00:08 +0000 (07:00 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 3 May 2012 10:28:38 +0000 (03:28 -0700)
commit078de5f706ece36afd73bb4b8283314132d2dfdf
tree0dee00713f9cb5e2516260a66b8df99ef7d03e4d
parentae2975bc3476243b45a1e2344236d7920c268f38
userns: Store uid and gid values in struct cred with kuid_t and kgid_t types

cred.h and a few trivial users of struct cred are changed.  The rest of the users
of struct cred are left for other patches as there are too many changes to make
in one go and leave the change reviewable.  If the user namespace is disabled and
CONFIG_UIDGID_STRICT_TYPE_CHECKS are disabled the code will contiue to compile
and behave correctly.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
arch/x86/mm/fault.c
fs/ioprio.c
include/linux/cred.h
include/linux/user_namespace.h
kernel/cred.c
kernel/signal.c
kernel/sys.c
kernel/user_namespace.c
mm/oom_kill.c
security/commoncap.c