freebsd-skq/sys
Mike Makonnen c197abc49a Signals sent specifically to a particular thread must
be delivered to that thread, regardless of whether it
has it masked or not.

Previously, if the targeted thread had the signal masked,
it would be put on the processes' siglist. If
another thread has the signal umasked or unmasks it before
the target, then the thread it was intended for would never
receive it.

This patch attempts to solve the problem by requiring callers
of tdsignal() to say whether the signal is for the thread or
for the process. If it is for the process, then normal processing
occurs and any thread that has it unmasked can receive it.
But if it is destined for a specific thread, it is put on
that thread's pending list regardless of whether it is currently
masked or not.

The new behaviour still needs more work, though.  If the signal
is reposted for some reason it is always posted back to the
thread that handled it because the information regarding the
target of the signal has been lost by then.

Reviewed by:	jdp, jeff, bde (style)
2003-07-03 19:09:59 +00:00
..
alpha Silly compile fixes from resource_disabled() commit. 2003-07-03 14:33:17 +00:00
amd64 Sync more things with other backends. 2003-07-01 19:16:48 +00:00
arm sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
boot Revert non-style part of the recent two deltas that dealt with 2003-07-02 12:45:45 +00:00
cam Merge common XPT_CALC_GEOMETRY functions into a single convenience function. 2003-06-14 22:17:41 +00:00
coda Remove in toto coda_strategy which incorrectly implemented vop_panic(); 2003-06-15 18:45:15 +00:00
compat Don't map LINUX_POSIX_VDISABLE to _POSIX_VDISABLE and vice versa for 2003-06-28 19:32:07 +00:00
conf The .s files were repo-copied to .S files. 2003-07-02 12:57:07 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r116801, 2003-06-25 06:06:52 +00:00
crypto Use __FBSDID(). 2003-06-10 21:44:29 +00:00
ddb Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
dev All current uses of pci_set_powerstate are bogus, at least in theory. 2003-07-03 14:00:57 +00:00
fs If bread() returns a zero-length buffer, as can happen after a 2003-07-03 14:54:47 +00:00
geom Only dump 512 bytes of debugging. 2003-07-02 08:07:07 +00:00
gnu Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations 2003-06-15 18:53:00 +00:00
i4b Mega busdma API commit. 2003-07-01 15:52:06 +00:00
i386 Silly compile fixes from resource_disabled() commit. 2003-07-03 14:33:17 +00:00
ia64 The .s files were repo-copied to .S files. 2003-07-02 12:57:07 +00:00
isa - Use the new resource_disabled() helper function to see if devices are 2003-07-02 16:09:02 +00:00
isofs/cd9660 change dev_t to struct cdev * to match ufs. This fixes fstat for cd9660 2003-06-24 22:11:20 +00:00
kern Signals sent specifically to a particular thread must 2003-07-03 19:09:59 +00:00
libkern Use __FBSDID(). 2003-06-11 05:37:42 +00:00
modules nitpicking 2003-06-30 05:25:36 +00:00
net remove old 802.11 support; replaced by new code in sys/net80211 2003-06-28 06:09:39 +00:00
net80211 insure ic_bss always has a "valid" channel; avoids problems where users could 2003-06-29 20:13:38 +00:00
netatalk
netatm Use __FBSDID(). 2003-06-11 07:22:30 +00:00
netgraph Allow VPI/VCI 0/0 to be opened. This will be used by the IDT77252 driver 2003-07-02 11:52:46 +00:00
netinet Remove a stale comment, fix indentation. 2003-06-28 14:23:22 +00:00
netinet6 Do not attempt to access to inp_socket fields if the socket is in the TIME_WAIT 2003-06-17 00:31:30 +00:00
netipsec consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
netipx Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netkey Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netnatm Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netncp Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netsmb Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
nfs
nfsclient Change idle sleep indentifier to "-" for nfsiod 2003-07-02 08:09:20 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 - Use the new resource_disabled() helper function to see if devices are 2003-07-02 16:09:02 +00:00
pccard OLDCARD is OBSOLETE_IN_6. Tag it as such. 2003-06-12 04:46:43 +00:00
pci Mega busdma API commit. 2003-07-01 15:52:06 +00:00
posix4 Use __FBSDID(). 2003-06-11 06:34:30 +00:00
powerpc Mega busdma API commit. 2003-07-01 15:52:06 +00:00
rpc
security Redesign the externalization APIs from the MAC Framework to 2003-06-23 01:26:34 +00:00
sparc64 Mega busdma API commit. 2003-07-01 15:52:06 +00:00
sys Signals sent specifically to a particular thread must 2003-07-03 19:09:59 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs Lock the vm object when freeing pages. 2003-06-15 21:50:38 +00:00
vm Fix a few style(9) nits. 2003-07-02 01:47:47 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00