diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-05-13 15:32:01 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-05-13 15:32:01 +0000 |
commit | 717bc758983a5169f4964fcb886c4400e1c18663 (patch) | |
tree | 46526193c818e0d3c52e1079d44f3f62d908e3ec /sys/kern/clock_subr.c | |
parent | 335345cbbdd5d1cb1712da72045e5499039aa563 (diff) |
Use the process ps_mtx to protect the process sigacts structure.
With this cursig(), postsig() and trapsignal() become safe to be called
without KERNEL_LOCK. As a side-effect sleep with PCATCH no longer needs
the KERNEL_LOCK either. Since sending a signal can happen from interrupt
context raise the ps_mtx IPL to high.
Feedback from mpi@ and kettenis@
OK kettenis@
Diffstat (limited to 'sys/kern/clock_subr.c')
0 files changed, 0 insertions, 0 deletions