Re: [PATCH] fix vsyscall page in core dumps

From: Andrew Morton
Date: Fri Oct 03 2003 - 04:12:17 EST


Roland McGrath <roland@xxxxxxxxxx> wrote:
>
> My change to core dumps that was included with the vsyscall DSO
> implementation had a bug (braino on my part). Core dumps don't include the
> full page of the vsyscall DSO, and so don't accurately represent the whole
> memory image of the process. This patch fixes it. I have tested it on
> x86, but not tested the same change to 32-bit core dumps on AMD64 (haven't
> even compiled on AMD64).
>
> I've also included the corresponding change for the IA64 code that was
> copied blindly from the x86 vsyscall implementation, which looks like more
> change than it is since I preserved the formatting of the copied code
> instead of arbitrarily diddling it along with the trivial symbol name
> changes.

How does one test it?

> I haven't compiled or tested on ia64.

I have. GATE_BASE is undefined. Replacing it with GATE_ADDR makes it
build OK, but that's all I can say.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/