[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>
Showing
- arch/mips/kernel/linux32.c 8 additions, 8 deletionsarch/mips/kernel/linux32.c
- fs/compat.c 8 additions, 8 deletionsfs/compat.c
- include/asm-ia64/compat.h 10 additions, 10 deletionsinclude/asm-ia64/compat.h
- include/asm-mips/compat.h 6 additions, 4 deletionsinclude/asm-mips/compat.h
- include/asm-parisc/compat.h 6 additions, 4 deletionsinclude/asm-parisc/compat.h
- include/asm-ppc64/compat.h 10 additions, 8 deletionsinclude/asm-ppc64/compat.h
- include/asm-s390/compat.h 10 additions, 10 deletionsinclude/asm-s390/compat.h
- include/asm-sparc64/compat.h 10 additions, 8 deletionsinclude/asm-sparc64/compat.h
- include/asm-x86_64/compat.h 10 additions, 10 deletionsinclude/asm-x86_64/compat.h
- include/linux/compat.h 3 additions, 0 deletionsinclude/linux/compat.h
- ipc/compat.c 6 additions, 6 deletionsipc/compat.c
Loading
Please register or sign in to comment