NetBSD/sys
manu ffb3de5522 Move the sigfilter hook to a more adequate location, and rename it to better
fit what it does.

The softsignal feature is used in Darwin to trace processes. When the
traced process gets a signal, this raises an exception. The debugger will
receive the exception message, use ptrace with PT_THUPDATE to pass the
signal to the child or discard it, and then it will send a reply to the
exception message, to resume the child.

With the hook at the beginnng of kpsignal2, we are in the context of the
signal sender, which can be the kill(1) command, for instance. We cannot
afford to sleep until the debugger tells us if the signal should be
delivered or not.

Therefore, the hook to generate the Mach exception must be in the traced
process context. That was we can sleep awaiting for the debugger opinion
about the signal, this is not a problem. The hook is hence located into
issignal, at the place where normally SIGCHILD is sent to the debugger,
whereas the traced process is stopped. If the hook returns 0, we bypass
thoses operations, the Mach exception mecanism will take care of notifying
the debugger (through a Mach exception), and stop the faulting thread.
2003-12-24 22:53:59 +00:00
..
altq
arch Configuration file for the TeamASA NPWR-FC. 2003-12-24 19:41:09 +00:00
coda Dynamic sysctl. 2003-12-04 19:38:21 +00:00
compat Move the sigfilter hook to a more adequate location, and rename it to better 2003-12-24 22:53:59 +00:00
conf Pull in netinet/ip_ecn.c if FAST_IPSEC is defined. 2003-12-12 20:54:30 +00:00
crypto s/netbsd.org/NetBSD.org/g 2003-11-28 08:56:48 +00:00
ddb Dynamic sysctl. 2003-12-04 19:38:21 +00:00
dev Support i82845G/GL based motherboards without an Integrated Graphics 2003-12-23 19:56:58 +00:00
fs Include <sys/sysctl.h> for sysctl stuff. 2003-12-05 00:51:08 +00:00
gdbscripts
ipkdb
kern Move the sigfilter hook to a more adequate location, and rename it to better 2003-12-24 22:53:59 +00:00
lib netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
lkm Add ethfoo LKM example. It implements a cloning interface for fake 2003-11-24 21:58:45 +00:00
miscfs a little bit more namespace sanity 2003-12-10 14:19:02 +00:00
net gi_len is ip_len, so it has to be network byteorder. markus friedl 2003-12-11 00:22:29 +00:00
net80211 Synchronize with FreeBSD sources from 12 Dec 2003. 2003-12-14 09:56:53 +00:00
netatalk
netccitt
netinet Comment out #undef LARGE_NAT so LARGE_NAT can be set in a kernel config file 2003-12-16 12:15:04 +00:00
netinet6 Fix ICMPV6CTL_ND6_[DP]RLIST, they broke with new sysctl. 2003-12-17 18:49:38 +00:00
netipsec Cast an expression with sizeof() to long. 2003-12-12 21:36:32 +00:00
netisdn netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
netiso netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
netkey do not touch sav->xx after key_freesav(). from hajimu umemoto 2003-12-10 23:46:42 +00:00
netnatm
netns
netsmb
nfs Unix semantics dictate that access checks for files are done when it 2003-12-07 21:15:46 +00:00
opencrypto
stand
sys Move the sigfilter hook to a more adequate location, and rename it to better 2003-12-24 22:53:59 +00:00
ufs Fix usage of fifth argument to pool_init(). 2003-12-21 07:53:58 +00:00
uvm No need to break a line - the full line is less than 80 chars long. 2003-12-21 11:38:46 +00:00
Makefile