Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760050AbXETVPZ (ORCPT ); Sun, 20 May 2007 17:15:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756570AbXETVPN (ORCPT ); Sun, 20 May 2007 17:15:13 -0400 Received: from cantor.suse.de ([195.135.220.2]:46284 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756639AbXETVPM (ORCPT ); Sun, 20 May 2007 17:15:12 -0400 From: Andi Kleen Organization: SUSE Linux Products GmbH, Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg) To: Folkert van Heusden Subject: Re: signals logged / [RFC] log out-of-virtual-memory events Date: Sun, 20 May 2007 23:14:57 +0200 User-Agent: KMail/1.9.6 Cc: Jan Engelhardt , Stephen Hemminger , Eric Dumazet , Rik van Riel , righiandr@users.sourceforge.net, LKML , linux-mm@kvack.org References: <464C9D82.60105@redhat.com> <20070520205500.GJ22452@vanheusden.com> In-Reply-To: <20070520205500.GJ22452@vanheusden.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705202314.57758.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 677 Lines: 24 > + switch(sig) { > + case SIGQUIT: > + case SIGILL: > + case SIGTRAP: > + case SIGABRT: > + case SIGBUS: > + case SIGFPE: > + case SIGSEGV: > + case SIGXCPU: > + case SIGXFSZ: > + case SIGSYS: > + case SIGSTKFLT: Unconditional? That's definitely a very bad idea. If anything only unhandled signals should be printed this way because some programs use them internally. But I think your list is far too long anyways. -Andi - 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/