]> git.baikalelectronics.ru Git - kernel.git/commit
elfcore-compat fix uid/gid types
authorRoland McGrath <roland@redhat.com>
Tue, 26 Feb 2008 21:20:58 +0000 (13:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 29 Feb 2008 16:06:37 +0000 (08:06 -0800)
commit7ebf6cfcd73ce17bbbba06ae08526b3475a8cd94
treef02694d6d248d8376d2788e5406f695f05a37667
parentc1f2a346ea985888b7b93b723888a67e91185fd7
elfcore-compat fix uid/gid types

I overlooked the difference between __kernel_uid_t and uid_t when defining
struct compat_elf_prpsinfo.  The result is a regression in 32-bit core
dumps on x86_64, where the NT_PRPSINFO note has the wrong size and layout.
This patch fixes it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/elfcore-compat.h