summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-06-21 07:40:43 +0000
committermpi <mpi@openbsd.org>2018-06-21 07:40:43 +0000
commit110bb65a3196b07cbbe66ee2801a8c1c4eb59877 (patch)
treeda894ac1254fcf17650ebb4782703a79bdb67b7f /sys/kern/subr_hibernate.c
parentSave and restore retguard area during hibernate unpack. This copies the (diff)
downloadwireguard-openbsd-110bb65a3196b07cbbe66ee2801a8c1c4eb59877.tar.xz
wireguard-openbsd-110bb65a3196b07cbbe66ee2801a8c1c4eb59877.zip
Grab the KERNEL_LOCK() rather than asserting that it is held.
Prevent a panic now that some syscall are running unlocked. Found the hardway by Gregor Best.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions