• Roland McGrath's avatar
    [PATCH] x86_64 ia32 vDSO: use VM_ALWAYSDUMP · e03f0ca1
    Roland McGrath authored
    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: default avatarRoland 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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e03f0ca1
ia32_binfmt.c 9.43 KB