From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 23 May 2007 20:45:35 +0200 From: Folkert van Heusden Subject: Re: signals logged / [RFC] log out-of-virtual-memory events Message-ID: <20070523184535.GE21655@vanheusden.com> References: <464C9D82.60105@redhat.com> <20070520205500.GJ22452@vanheusden.com> <200705202314.57758.ak@suse.de> <46517817.1080208@users.sourceforge.net> <20070521110406.GA14802@vanheusden.com> <20070521124734.GB14802@vanheusden.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org Return-Path: To: Satyam Sharma Cc: Jan Engelhardt , Andrea Righi , Andi Kleen , Stephen Hemminger , Eric Dumazet , Rik van Riel , LKML , linux-mm@kvack.org List-ID: > >> >+ { > >> if (sig_fatal(t, sig)) { > >> >+ printk(KERN_WARNING "Sig %d send to %d owned by %d.%d > >(%s)\n", > >> s/send/sent/; > >> >+ sig, t -> pid, t -> uid, t -> gid, t -> comm); > >> t->pid, t->uid, t->gid, t->comm); > > > > Gargh ... why does this want to be in the *kernel*'s logs? In any case, can > you please make this KERN_INFO (or lower) instead of KERN_WARNING. Description: This patch adds code to the signal-sender making it log a message when an unhandled fatal signal will be delivered. Signed-of by: Folkert van Heusden pid, t->uid, t->gid, t->comm); + } + /* * fast-pathed signals for kernel-internal things like SIGSTOP * or SIGKILL. Folkert van Heusden -- Temperature outside: 21.437500, temperature livingroom: ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org