OSDN Git Service

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)
commitb59931649256685f294d2d163a4f6d6286fbff05
treef02694d6d248d8376d2788e5406f695f05a37667
parent7704a8b6fc4a8f51599eb2af4dcf1e2ac9c7e576
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