• R
    [PATCH] x86_64 ia32 vDSO: use VM_ALWAYSDUMP · e03f0ca1
    Roland McGrath 提交于
    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: NRoland 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: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    e03f0ca1
syscall32.c 3.2 KB