Introduce a signal context that is used to pass signal related information
authorclaudio <claudio@openbsd.org>
Mon, 14 Feb 2022 11:26:05 +0000 (11:26 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 14 Feb 2022 11:26:05 +0000 (11:26 +0000)
commit49e9d6d1f8185d923d4aff9724369e39339492ce
treec43a69955c95cacc7505cdef31e8a9127b876db5
parentd19342ebaed0cb141c7c10b07d504ae2ce6da0c8
Introduce a signal context that is used to pass signal related information
from cursig() to postsig() or the caller itself. This will simplify locking.
Also alter sigactsfree() a bit and move it into process_zap() so ps_sigacts
is always a valid pointer.
OK semarie@
sys/kern/kern_exit.c
sys/kern/kern_sig.c
sys/kern/kern_synch.c
sys/sys/signalvar.h
sys/ufs/mfs/mfs_vfsops.c