Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269621AbTHQMvE (ORCPT ); Sun, 17 Aug 2003 08:51:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269628AbTHQMvE (ORCPT ); Sun, 17 Aug 2003 08:51:04 -0400 Received: from natsmtp00.webmailer.de ([192.67.198.74]:47581 "EHLO post.webmailer.de") by vger.kernel.org with ESMTP id S269621AbTHQMvB (ORCPT ); Sun, 17 Aug 2003 08:51:01 -0400 Message-ID: <3F3F7A79.1060404@softhome.net> Date: Sun, 17 Aug 2003 14:52:09 +0200 From: "Ihar 'Philips' Filipau" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alan Cox CC: Linux Kernel Mailing List Subject: Re: Dumb question: Why are exceptions such as SIGSEGV not logged References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1238 Lines: 38 Alan Cox wrote: > On Sul, 2003-08-17 at 00:06, David D. Hagood wrote: > >>>Your logfiles just got DoS'ed.... >> >> >>Why not then just log uncaught exceptions? > > > man acct > Sorry, probably I'm missing smth. man acct(2) says: "DESCRIPTION "When called with the name of an existing file as argument, ccounting is turned on, records for each terminating process are appended to filename as it terminates. An argument of NULL causes accounting to be turned off". I do not see how it relates to abends. It logs _everything_, what is not that useful. Having some kind of filter what to log - whould be just great. Or alternatively ability to pass file descriptor - not file name. And this mysterious NOTES: "No accounting is produced for programs running when a crash occurs. In particular, nonterminating processes are never accounted for". Sounds like acct() does reverse? No crashes are logged. Or it is about Linux crash? - 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/