OpenBSD cvs log

created 2022-03-27T03:17:19Z
begin 2022-03-25T00:00:00Z
end 2022-03-26T00:00:00Z
path src/sys
commits 5

date 2022-03-25T00:42:27Z
author tb
files src/sys/lib/libz/deflate.c log diff annotate
message Sync zlib with userland

Backport zlib fix for the multi line CLEAR_HASH macro. There is
an else branch where only half of the macro is executed conditionally.
Acording to upstream comment this has only little impact.
https://github.com/madler/zlib/commit/38e8ce32afbaa82f67d992b9f3056f281fe69259

ok bluhm (who had the same diff)

date 2022-03-25T10:59:59Z
author tb
files src/sys/lib/libz/deflate.c log diff annotate
src/sys/lib/libz/deflate.h log diff annotate
src/sys/lib/libz/trees.c log diff annotate
message Sync with userland libz (memory-corruption + followup).

ok mbuhl millert

date 2022-03-25T15:49:29Z
author kettenis
files src/sys/dev/ofw/ofw_misc.c log diff annotate
message Implement support for the "bits" property for nvmem cells.

ok patrick@

date 2022-03-25T15:52:03Z
author kettenis
files src/sys/arch/arm64/dev/aplsmc.c log diff annotate
message Implement reboot/powerdown support based on nvmem cells. This works on
M1 Pro/Max machines and will hopefully continue to work on future models
by abstracting the magic flag that needs to be set using device tree
properties.

ok patrick@

date 2022-03-25T17:40:59Z
author robert
files src/sys/kern/kern_pledge.c log diff annotate
message add an exception to the CPU_ID_AA64ISAR0 in pledged applications so that
libcrypto can access this sysctl on arm64 without restrictions to determine
cpu features

ok deraadt@, kettenis@