Subject: CVS commit: src/sys/compat
To: None <source-changes@NetBSD.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 12/03/2003 18:40:07
Module Name:	src
Committed By:	manu
Date:		Wed Dec  3 18:40:07 UTC 2003

Modified Files:
	src/sys/compat/darwin: darwin_signal.c darwin_signal.h
	src/sys/compat/mach: mach_notify.c

Log Message:
Rework Mach exceptions and softignals

Exceptions coming from a trap are generated from darwin_trapsignal()
softsignals are from darwin_sigfilter(), a function that is called
from darwin_trapsignal() and from kpsignal2() [the latter from a
emulation specific hook which is not yet committed]

Make some sanity checks to avoid sending data to a port with no receiver.

See http://mail-index.netbsd.org/tech-kern/2003/12/01/0008.html and
follow-ups for details.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/compat/darwin/darwin_signal.c \
    src/sys/compat/darwin/darwin_signal.h
cvs rdiff -r1.9 -r1.10 src/sys/compat/mach/mach_notify.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.