OpenBSD cvs log

created 2022-03-27T00:58:21Z
begin 2022-03-22T00:00:00Z
end 2022-03-23T00:00:00Z
path src/sys
commits 11

date 2022-03-22T06:46:45Z
author miod
files src/sys/arch/riscv64/include/endian.h log diff annotate
message Do not pretend there exist MD code for byte swapping yet provide copies
of the MI fallback code; ok deraadt@ jsg@

date 2022-03-22T06:47:38Z
author miod
files src/sys/arch/riscv64/include/vmparam.h log diff annotate
message Change VM_MIN_ADDRESS to PAGE_SIZE to forbid mapping anything at virtual
address zero, as done on all other platforms.
ok deraadt@ kettenis@

date 2022-03-22T06:48:36Z
author miod
files src/sys/arch/riscv64/riscv64/machdep.c log diff annotate
message Do not bother initializing a0 with a special value in setregs, that's a
FreeBSDism we have no need for.
ok jsg@

date 2022-03-22T06:49:25Z
author miod
files src/sys/arch/riscv64/riscv64/sig_machdep.c log diff annotate
message Fix wrong comment in sendsig(), and remove unused dumpframe()
ok jsg@

date 2022-03-22T06:51:12Z
author miod
files src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
src/sys/arch/riscv64/riscv64/support.S log diff annotate
message Make sure kernel longjmp always returns 1 rather than what turns out to be
in a register at call-time.
with & ok jsg@

date 2022-03-22T10:32:10Z
author kettenis
files src/sys/arch/armv7/stand/efiboot/efiboot.c log diff annotate
message After copying the FDT into a new larger buffer, adjust the FDT size to
reflect the size of the new buffer like we do on arm64.

ok patrick@

date 2022-03-22T10:33:50Z
author kettenis
files src/sys/arch/riscv64/stand/efiboot/efiboot.c log diff annotate
message Copy the FDT into a larger buffer such that we have space to add additional
nodes and properties to it like we do on arm64 and armv7.

ok patrick@

date 2022-03-22T16:29:58Z
author krw
files src/sys/scsi/scsiconf.c log diff annotate
message Nuke increasingly pointless comment. Shorten a line and
compare pointer to NULL instead of 0.

No functional change.

date 2022-03-22T18:02:54Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
message Fix whitespace.

date 2022-03-22T18:17:30Z
author bluhm
files src/sys/netinet/raw_ip.c log diff annotate
message For raw IP packets rip_input() traverses the loop of all PCBs. From
there it calls sbappendaddr() while holding the raw table mutex.
This ends in sorwakeup() where we finally grab the kernel lock while
holding a mutex. Witness detects this misuse.
Use the same solution as for PCB notify. Collect the affected PCBs
in a temporary list. The list is protected by exclusive net lock.
[email protected]
OK claudio@

date 2022-03-22T18:27:21Z
author bluhm
files src/sys/netinet6/raw_ip6.c log diff annotate
message Extract the type from the ICMP6 header before looping over Raw IPv6
PCBs. This make mutex and error handling easier.
OK claudio@