OpenBSD cvs log

created 2022-12-25T09:12:59Z
begin 2022-12-23T00:00:00Z
end 2022-12-24T00:00:00Z
path src/sys
commits 5

date 2022-12-23T05:35:08Z
author deraadt
files src/sys/kern/kern_pledge.c log diff annotate
message wrap a line better

date 2022-12-23T07:14:55Z
author dlg
files src/sys/net/pf.c log diff annotate
message disable the use of the has in the pf state key lookup (for now).

anton@ says the previous commit breaks ipv6 related regress tests.
disabling the use of the hash in the state key compare gets it going
again while i can figure out what's going on.

date 2022-12-23T11:29:32Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message Prevent an iwx(4) firmware error when authentication to the AP times out.

Stop session protection before tearing down firmware state after failure
to authenticate. Firmware will panic if we remove the MAC/PHY binding
while session protection is active.

test + ok kevlo@

date 2022-12-23T17:31:30Z
author kettenis
files src/sys/arch/arm64/arm64/locore.S log diff annotate
src/sys/arch/arm64/arm64/locore0.S log diff annotate
message Avoid using 1GB mappings for the identity map that we use in the early
kernel bootstrap phase and when booting the secondary CPUs. This avoids
accidentally mapping memory regions that should not be mapped (i.e. secure
memory) as all mapped memory can be accessed speculatively.

To allow the kernel to be loaded at arbitrary physical addresses (and
arbitrary virtual addresses in the future) make sure the code that builds
the page tables can handle mapping a block of memory that straddles a
1GB or 512GB boundary. This involves using two pagetable pages at all
levels except the top level and changing the link_l1_pagetable function
to accept an entry count just like link_l0_pagetable already does.

ok patrick@

date 2022-12-23T17:46:49Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
src/sys/arch/arm64/include/armreg.h log diff annotate
message Add detection of EPAN feature bit.

ok deraadt@