diff options
author | 2013-04-09 18:58:03 +0000 | |
---|---|---|
committer | 2013-04-09 18:58:03 +0000 | |
commit | 86840a47ed254df2f605831f8286e1e5ec4fb307 (patch) | |
tree | 3692c11eaf6854568274015d57cb5ba784a04245 /sys/dev/isa/it.c | |
parent | newvers.sh uses 'basename' to determine the directory name to stamp the (diff) | |
download | wireguard-openbsd-86840a47ed254df2f605831f8286e1e5ec4fb307.tar.xz wireguard-openbsd-86840a47ed254df2f605831f8286e1e5ec4fb307.zip |
Add a magic number to the head of the signature block. Check for magic
number match during signature block read during speculative unhibernate on
boot. If the magic number matches but we have otherwise chosen to not
unhibernate (due to kernel/memory mismatch), clear the signature block
early to avoid accidentally trying to unhibernate on subsequent boots. This
prevents accidental unhibernates and endless unhibernate/reboot cycles.
Add a define for HIBERNATE_DEBUG for various debugging printfs (disabled by
default).
Finally, change some KASSERTs to warning printfs (they probably shouldn't
have been KASSERTs in the first place).
"looks good" deraadt@
Diffstat (limited to 'sys/dev/isa/it.c')
0 files changed, 0 insertions, 0 deletions