Date: Wed, 2 Oct 1996 15:30:39 -0700 (PDT) From: nsayer@kfu.com To: FreeBSD-gnats-submit@freebsd.org Subject: kern/1711: kernel logging of signaled processes should be optional Message-ID: <199610022230.PAA00369@jail.3do.com> Resent-Message-ID: <199610022240.PAA12051@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610022230.PAA00369>