CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2019/05/01 00:26:42

Modified files:
        sys/kern       : kern_sig.c 

Log message:
add a KERNEL_ASSERT_LOCKED() to ptsignal

it obviously needs to be called with the kernel lock held, so it
makes sense to check that so we can unlock more code without
introducing bugs that shoot us in the face in the indeterminate
future.

csignal is basically a wrapper around ptsignal, so calls to that
without the kernel lock should be caught by this too.

discussed with mpi@ on bugs@

Reply via email to