]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] compat: be more consistent about [ug]id_t
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Sep 2005 22:16:40 +0000 (15:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:19 +0000 (16:57 -0700)
commit202e5979af4d91c7ca05892641131dee22653259
treeba8443571add62bc93d29c1f6a3575381cccd167
parent8dbfc5cfdcac04d656f6f6789eb8fcdcc3d2dfda
[PATCH] compat: be more consistent about [ug]id_t

When I first wrote the compat layer patches, I was somewhat cavalier about
the definition of compat_uid_t and compat_gid_t (or maybe I just
misunderstood :-)).  This patch makes the compat types much more consistent
with the types we are being compatible with and hopefully will fix a few
bugs along the way.

compat type type in compat arch
__compat_[ug]id_t __kernel_[ug]id_t
__compat_[ug]id32_t __kernel_[ug]id32_t
compat_[ug]id_t [ug]id_t

The difference is that compat_uid_t is always 32 bits (for the archs we
care about) but __compat_uid_t may be 16 bits on some.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/mips/kernel/linux32.c
fs/compat.c
include/asm-ia64/compat.h
include/asm-mips/compat.h
include/asm-parisc/compat.h
include/asm-ppc64/compat.h
include/asm-s390/compat.h
include/asm-sparc64/compat.h
include/asm-x86_64/compat.h
include/linux/compat.h
ipc/compat.c