Re: [PATCH 1/4] coredump: add an interface to control the core dump routine

From: David Howells
Date: Sat Mar 31 2007 - 09:04:18 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> Yes, I agree - I don't think we presently have a way of avoiding having
> to send all of that uninteresting data down the pipe.

Have the kernel fork and exec a debug program "just in time" with the dying
process ptrace-attached in advance. That program could then use ptrace() or
whatever to do the coredump. I think Windows does something like that.

David
-
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/