summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-05-01 06:26:43 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-05-01 06:26:43 +0000
commiteb3211fd97527b4f083f1b4fa25153c70844a87a (patch)
tree54ab06ddf0df53b3a9623c6e4bcfb453751b14ae /sys/dev
parentbc17cbe150c909b7a6b2df9c01ca09c836b49887 (diff)
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@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions