summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto
diff options
context:
space:
mode:
authoruebayasi <uebayasi@openbsd.org>2014-07-12 20:18:08 +0000
committeruebayasi <uebayasi@openbsd.org>2014-07-12 20:18:08 +0000
commit02d8e5b1b1bd7d306aeabbefd27be8420b90e130 (patch)
tree840d605c620a19183c004c6cbfa95e279a1d2422 /lib/libcrypto
parentClose connections when msgbuf_write() returns 0. (diff)
downloadwireguard-openbsd-02d8e5b1b1bd7d306aeabbefd27be8420b90e130.tar.xz
wireguard-openbsd-02d8e5b1b1bd7d306aeabbefd27be8420b90e130.zip
reboot(9): Shutdown system by signaling init(8) from kernel where appropriate
Some ports watch temperature in MD and try to shutdown system, when overheated, by calling directly (re)boot(9). Change this to signal init(8) from kernel, as acpi(4) and acpitz(4) do, which has been more tested. This also helps to clarify design that ``clean shutdown must be always started by init(8)''. Note that SIGUSR2 causes init(8) to call reboot(2) with RB_POWERDOWN, as acpi(4) etc. already does. It is reasonable, pointed out by kettenis@, considering system is overheated and immediate reboot may be dangerous. OK deraadt@ miod@
Diffstat (limited to 'lib/libcrypto')
0 files changed, 0 insertions, 0 deletions