From owner-freebsd-bugs Wed Oct 2 15:40:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA12085 for bugs-outgoing; Wed, 2 Oct 1996 15:40:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA12051; Wed, 2 Oct 1996 15:40:02 -0700 (PDT) Resent-Date: Wed, 2 Oct 1996 15:40:02 -0700 (PDT) Resent-Message-Id: <199610022240.PAA12051@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, nsayer@kfu.com Received: from outland (outland.3do.com [208.192.70.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA11619 for ; Wed, 2 Oct 1996 15:31:14 -0700 (PDT) Received: from badger.3do.com (badger.3do.com [198.211.30.7]) by outland (SMI-8.6/8.6.12) with SMTP id PAA08301 for ; Wed, 2 Oct 1996 15:30:33 -0700 Received: from jail.3do.com by badger.3do.com (4.1/SMI-4.1) id AA23111; Wed, 2 Oct 96 15:30:40 PDT Received: by jail.3do.com (8.7.5//ident-1.0) id PAA00369; Wed, 2 Oct 1996 15:30:39 -0700 (PDT) Message-Id: <199610022230.PAA00369@jail.3do.com> Date: Wed, 2 Oct 1996 15:30:39 -0700 (PDT) From: nsayer@kfu.com Reply-To: nsayer@kfu.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1711: kernel logging of signaled processes should be optional Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1711 >Category: kern >Synopsis: kernel logging of signaled processes should be optional >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 2 15:40:01 PDT 1996 >Last-Modified: >Originator: Nick Sayer >Organization: Just me >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: >Description: kernel logging of signaled processes ("pid 99, uid 0: exited on signal 11 (core dumped)") _really_ should have an option to disable. Really now. If you can comment the source to indicate that some found it annoying (it certainly bugs the hell out of me), you can put an #ifndef in to allow folks to have their choice. >How-To-Repeat: >Fix: *** kern_sig.c.orig Tue Jul 9 11:12:37 1996 --- kern_sig.c Wed Oct 2 15:23:53 1996 *************** *** 1205,1215 **** --- 1205,1217 ---- */ if (coredump(p) == 0) signum |= WCOREFLAG; + #ifndef NO_SIGEXIT_LOG log(LOG_INFO, "pid %d (%s), uid %d: exited on signal %d%s\n", p->p_pid, p->p_comm, p->p_cred && p->p_ucred ? p->p_ucred->cr_uid : -1, signum &~ WCOREFLAG, signum & WCOREFLAG ? " (core dumped)" : ""); + #endif } exit1(p, W_EXITCODE(0, signum)); /* NOTREACHED */ >Audit-Trail: >Unformatted: