[PATCH] x86_64 ia32 vDSO: use VM_ALWAYSDUMP
authorRoland McGrath <roland@redhat.com>
Fri, 26 Jan 2007 08:56:50 +0000 (00:56 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:58 +0000 (13:50 -0800)
commite03f0ca11645ce69a4defcd4f60a5cb2d5e30507
treefb44091bc16e724a5fef613101594dc7879e0532
parentf47aef55d9a18945fcdd7fd6bf01121ce973b91b
[PATCH] x86_64 ia32 vDSO: use VM_ALWAYSDUMP

This patch fixes ia32 core dumps on x86_64 to include just one phdr for the
vDSO vma.  Currently it writes a confused format with two phdrs for the
address, one without contents and one with.  This patch removes the
special-case core writing macros for the ia32 vDSO.  Instead, it uses
VM_ALWAYSDUMP in the vma.  This changes core dumps so they no longer include
the non-PT_LOAD phdrs from the vDSO, consistent with fixed native i386 core
dumps.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/ia32/ia32_binfmt.c
arch/x86_64/ia32/syscall32.c