Re: [PATCH] Thread core dumps for 2.4.4

From: Szabolcs Szakacsits (szaka@f-secure.com)
Date: Sun May 06 2001 - 11:47:28 EST


On Thu, 3 May 2001, Don Dugger wrote:

> The attached patch allows core dumps from thread processes in the 2.4.4
> kernel. This patch is the same as the last one I sent out except it fixes
> the same bug that `kernel/fork.c' had with duplicate info in the `mm'
> structure, plus this patch has had more extensive testing.

AFAIK Linux can't dump the threads to the same file as others but doing
it to different files looks a bit scary. How the system behaves when you
dump a heavy threaded app with a decent VM [i.e just think about a
bloatware instead of malicious code]? How will the developer know which
thread caused the fault? I've found dumping just the faulting thread is
enough about 100% of the cases especially because [on SMP] others can
run on and the dump is much more close to "garbage" then usuful info
from a debug point of view.

        Szaka

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



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:23 EST