[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0809230150290.27884@twin.jikos.cz>
Date: Tue, 23 Sep 2008 01:52:10 +0200 (CEST)
From: Jiri Kosina <jkosina@...e.cz>
To: Thomas Jarosch <thomas.jarosch@...ra2net.com>
cc: linux-kernel@...r.kernel.org,
Marcin Slusarz <marcin.slusarz@...il.com>
Subject: Re: [patch] log fatal signals like SIGSEGV
On Sat, 20 Sep 2008, Thomas Jarosch wrote:
> ------------------------------------------------------
> From: Thomas Jarosch <thomas.jarosch@...ra2net.com>
>
> Log signals like SIGSEGV, SIGILL, SIGBUS or SIGFPE to aid tracing
> of obscure problems. Also logs the sender of the signal.
>
> The log message looks like this:
> "kernel: signal 9 sent to freezed[2634] uid:100,
> parent init[1] uid:0 by bash[3168] uid:0, parent sshd[3164] uid:0"
BTW be aware that for example x86 arch-specific code does this on its own,
and therefore with your patch, the information will be duplicated. See
page fault handler for x86.
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists