freebsd-nq/sys
Konstantin Belousov d6e029adbe In r197963, a race with thread being selected for signal delivery
while in kernel mode, and later changing signal mask to block the
signal, was fixed for sigprocmask(2) and ptread_exit(3). The same race
exists for sigreturn(2), setcontext(2) and swapcontext(2) syscalls.

Use kern_sigprocmask() instead of direct manipulation of td_sigmask to
reschedule newly blocked signals, closing the race.

Reviewed by:	davidxu
Tested by:	pho
MFC after:	1 month
2009-10-27 10:47:58 +00:00
..
amd64 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
arm In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
boot Correct some issues with zfs boot. 2009-10-23 18:44:53 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam Make "Retrying Command" to be printed before actual retrying. 2009-10-23 13:39:30 +00:00
cddl Correct some issues with zfs boot. 2009-10-23 18:44:53 +00:00
compat In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
conf Document new modularised ATA kernel options. 2009-10-26 10:35:16 +00:00
contrib Updated iwn(4) driver supporting the newer series, 5000, 5150 and 5300. 2009-10-23 22:04:18 +00:00
crypto
ddb Put square backets ([]) around process names for system processes to patch 2009-10-01 19:12:14 +00:00
dev Revert r198500 for now, this will break situations when 2009-10-26 21:47:16 +00:00
fs There is no need to "busy" a page when the object is locked for the duration 2009-10-26 18:02:05 +00:00
gdb
geom Set the active flag in the PMBR when we install bootcode on a GPT 2009-10-14 19:24:01 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
ia64 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
isa Tweak the way that the ACPI and ISA bus drivers match hint devices to 2009-08-24 21:51:46 +00:00
kern In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
kgssapi
libkern done method is supposed to return int. 2009-06-22 22:09:18 +00:00
mips In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
modules Updates to the iwn driver: 2009-10-24 09:55:11 +00:00
net Remove unneeded blank line from bpf_drvinit(). 2009-10-23 17:26:29 +00:00
net80211 The draft spec doesn't say beacon frames need to have a wildcard BSSID, 2009-10-23 11:13:08 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Spell DIAGNOSTIC correctly. 2009-10-24 18:49:17 +00:00
netinet Improve the round robin stream scheduler. 2009-10-26 19:23:34 +00:00
netinet6 Use the correct option name in the preprocessor command to enable 2009-10-23 18:27:34 +00:00
netipsec Changed an IPSEC_ASSERT to a simple test, as such invalid packets 2009-10-01 15:33:53 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Close a race with caching of -ve name lookups in the NFS client. 2009-10-16 19:30:48 +00:00
nfsserver Ensure that tv_sec is between INT32_MIN and INT32_MAX, so ZFS won't object. 2009-09-26 18:23:16 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
pc98 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
pci intpm/sb700: force polling mode if configured interrupt is SMI 2009-09-19 08:56:28 +00:00
powerpc In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
rpc Set the prison in NFS anon and GSS SVC creds (as I indended to in r197581). 2009-09-28 18:55:29 +00:00
security Having thrown the cat out of the house, add a necessary include. 2009-09-08 13:24:36 +00:00
sparc64 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
sun4v In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
sys In kern_sigsuspend(), better manipulate thread signal mask using 2009-10-27 10:42:24 +00:00
teken Discard Device Control Strings and Operating System Commands. 2009-10-08 10:26:49 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs Don't build ufs_gjournal.c at all if UFS_GJOURNAL option is not given 2009-09-22 16:22:05 +00:00
vm When protection of wired read-only mapping is changed to read-write, 2009-10-27 10:15:58 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
Makefile