ce081b037e
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 |
||
---|---|---|
.. | ||
autoconf.c | ||
busdma_machdep.c | ||
cache_mipsNN.c | ||
cache.c | ||
copystr.S | ||
cpu.c | ||
db_disasm.c | ||
db_interface.c | ||
db_trace.c | ||
dump_machdep.c | ||
elf64_machdep.c | ||
elf_machdep.c | ||
exception.S | ||
fp.S | ||
gdb_machdep.c | ||
genassym.c | ||
in_cksum.c | ||
intr_machdep.c | ||
locore.S | ||
machdep.c | ||
mainbus.c | ||
mem.c | ||
mp_machdep.c | ||
nexus.c | ||
pm_machdep.c | ||
pmap.c | ||
psraccess.S | ||
stack_machdep.c | ||
support.S | ||
swtch.S | ||
tick.c | ||
tlb.S | ||
trap.c | ||
uio_machdep.c | ||
vm_machdep.c |