freebsd-nq/sys/pc98/pc98
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
..
busio.s
busiosubr.c
canbepm.c
canbus_if.m
canbus.c
canbus.h
canbusvars.h
machdep.c In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
pc98_machdep.c
pc98_machdep.h