OpenBSD cvs log

created 2022-05-29T00:13:27Z
begin 2022-05-23T00:00:00Z
end 2022-05-24T00:00:00Z
path src/sys
commits 5

date 2022-05-23T09:54:18Z
author bluhm
files src/sys/net/pf.c log diff annotate
message Fix white space.

date 2022-05-23T11:17:35Z
author bluhm
files src/sys/net/pf.c log diff annotate
message In pf the kernel paniced if IP options in packet within ICMP payload
were truncated. Drop such packets instead.
Reported-by: [email protected]
OK sashan@ claudio@

date 2022-05-23T11:37:22Z
author dlg
files src/sys/dev/fdt/ehci_fdt.c log diff annotate
message add support for the ehci controller on marvell 3720 boards.

the marvell controllers have two quirks compared to standard ehci
controllers, but they're small enough that they can be dealt with
here rather than creating a specific glue driver (like imxehci has).

the first quirk is that the ehci registers are offset in the window
advertised by the device tree. this is handled by having ehci_fdt
always present a bus space subregion to ehci, and defaults the
offset to 0. marvell controllers provide the right offset into their
register window so the subregion code can find the right place for
ehci to operate on.

the other quirk is that marvell controllers need to be forced to
host mode with the extra EHCI_USBMODE register.

this makes ehci work on espressobins and gl-mv1000 boards.

tested by me and dtucker@
ok kettenis@ patrick@

date 2022-05-23T15:17:11Z
author millert
files src/sys/kern/vfs_syscalls.c log diff annotate
message Respect RLIMIT_FSIZE when extending a file via truncat(2)/ftruncate(2).
This refactors the commin parts of sys_truncate() and sys_ftruncate()
into dotruncate(). If the new size of the file is larger than the
RLIMIT_FSIZE limit _and_ the file is being extended, not truncated,
return EFBIG. Adapted from a diff by Piotr Durlej.
With help from and OK by deraadt@ guenther@.

date 2022-05-23T16:58:11Z
author krw
files src/sys/arch/loongson/stand/Makefile log diff annotate
src/sys/arch/macppc/stand/Makefile log diff annotate
message Neither macppc nor the retired loongson have any remaining useful
information in /usr/mdec/mbr. Stop telling fdisk(8) that macppc
and loongson HAS_MBR, and don't bother including the file in the
base set.

macppc build/install tests and ok gkoehler@
loongson is gone deraadt@