freebsd-skq/sys/sun4v
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
..
cddl
compile
conf
include Change the load base to below 2GB so PIE binaries work including when 2009-10-18 13:08:15 +00:00
mdesc
sun4v In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00