Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 01/06/2005 19:26:42
Module Name: src
Committed By: mycroft
Date: Thu Jan 6 19:26:42 UTC 2005
Modified Files:
src/sys/kern: kern_sa.c kern_sig.c kern_time.c
Log Message:
If sa_upcall() fails (which is always going to be due to resource exhaustion),
do not leak siginfo structures.
Note that in the cases of trap signals and timer events, losing this
information could be very bad; right now it will cause us to spin until the
process is SIGKILLed.
"Needs work."
To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 src/sys/kern/kern_sa.c
cvs rdiff -r1.199 -r1.200 src/sys/kern/kern_sig.c
cvs rdiff -r1.85 -r1.86 src/sys/kern/kern_time.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.