diff options
author | 2020-09-24 07:23:41 +0000 | |
---|---|---|
committer | 2020-09-24 07:23:41 +0000 | |
commit | af3b61a43dd9e19ea2bddf455a3222b1718f1f52 (patch) | |
tree | b5f665998d0a30be39b575b281ad8eb165f3b6b1 /lib/libssl/ssl_locl.h | |
parent | sync (diff) | |
download | wireguard-openbsd-af3b61a43dd9e19ea2bddf455a3222b1718f1f52.tar.xz wireguard-openbsd-af3b61a43dd9e19ea2bddf455a3222b1718f1f52.zip |
Always ask the kernel about current hw.perfpolicy
apmd(8) doesn't need to maintain state about the current hw.perfpolicy.
Dropping this weak caching fixes several issues:
- setting hw.perfpolicy can fail, don't report a bogus hw.perfpolicy if
that happens (reported by Miod)
- don't assume that hw.perfpolicy is set to "manual" at apmd(8) startup
- don't assume that hw.perfpolicy can't change behind apmd(8)'s back
"Seems fine" tedu@
Diffstat (limited to 'lib/libssl/ssl_locl.h')
0 files changed, 0 insertions, 0 deletions