Subject: Re: CVS commit: syssrc
To: None <firstname.lastname@example.org>
From: Jason Thorpe <email@example.com>
Date: 02/06/2000 08:27:11
On Sat, 5 Feb 2000 23:30:01 -0800 (PST)
"Erik E. Fair" <firstname.lastname@example.org> wrote:
> Modified Files:
> syssrc/sys/kern: kern_sig.c kern_sysctl.c
> syssrc/sys/sys: sysctl.h
> Log Message:
> Add kernel logging of processes which exit on signals which can
> cause a core to drop, and whether the core dropped, or, if it did
> not, why not (i.e. error number). Logs process ID, name, signal that
> hit it, and whether the core dump was successful.
> logging only happens if kern_logsigexit is non-zero, and it can be
> changed by the new sysctl(3) value KERN_LOGSIGEXIT. The name of this
> sysctl and its function are taken from FreeBSD, at the suggestion
> of Greg Woods in PR 6224. Default behavior is zero for a normal
> kernel, and one for a kernel compiled with DIAGNOSTIC.
This seems misguided. On a system running w/ DIAGNOSTIC, a user can
run a simple program that deref's NULL over and over and fill up the
system log files with it, possibly causing the disk to fill up, thereby
making it harder to log REAL problems.
-- Jason R. Thorpe <email@example.com>