OpenBSD cvs log

created 2019-01-12T16:15:38Z
begin 2019-01-07T00:00:00Z
end 2019-01-08T00:00:00Z
path src/sys
commits 6

date 2019-01-07T03:41:06Z
author dlg
files src/sys/arch/loongson/dev/ohci_voyager.c log diff annotate
src/sys/arch/octeon/dev/octohci.c log diff annotate
src/sys/dev/cardbus/ohci_cardbus.c log diff annotate
src/sys/dev/fdt/ohci_fdt.c log diff annotate
src/sys/dev/pci/ohci_pci.c log diff annotate
src/sys/dev/usb/ohci.c log diff annotate
message tweak ohci_checkrev so it doesnt print a leading comma and space.

it assumes that it always followed an interrupt string, but we don't
print that on fdt. having the bus responsible for the whitespace
means the fdt glue can print a colon to separate the bus info from
checkrev output, while every other glue keeps the comma.

ok deraadt@

date 2019-01-07T07:49:38Z
author claudio
files src/sys/kern/uipc_mbuf.c log diff annotate
message It is possible to call m_zero with a read-only cluster. In that case just
return. Hopefully the other reference holder has the M_ZEROIZE flag set as
well. Triggered by syzkaller. OK deradt@ visa@

Reported-by: syzbot+c578107d70008715d41f@syzkaller.appspotmail.com

date 2019-01-07T07:54:25Z
author claudio
files src/sys/netinet/raw_ip.c log diff annotate
message Validate the version, and all length fields of IP packets passed to a raw socket
with INP_HDRINCL. There is no reason to allow badly constructed packets through
our network stack. Especially since they may trigger diagnostic checks further
down the stack. Now EINVAL is returned instead which was already used for some
checks that happened before.
OK florian@

Reported-by: syzbot+0361ed02deed123667cb@syzkaller.appspotmail.com

date 2019-01-07T14:24:22Z
author mpi
files src/sys/dev/usb/uhub.c log diff annotate
message Use the `iface' argument from the *attach() function instead of calling
usbd_device2interface_handle().

ok visa@

date 2019-01-07T20:24:59Z
author anton
files src/sys/arch/amd64/conf/Makefile.amd64 log diff annotate
message Enabling both kcov and retguard is now possible due to the recent bump of
NKL2_KIMG_ENTRIES on amd64, allowing larger kernels.

ok mpi@; "that's great!" deraadt@

date 2019-01-07T23:44:11Z
author bluhm
files src/sys/arch/i386/pci/pci_machdep.c log diff annotate
message Extents code has its own set of flags and does not use malloc's.
The code in pci_init_extents() accidently passed M_NOWAIT which is
EX_FAST and does no harm. Replace it with EX_NOWAIT.
from Christian Ludwig; OK kettenis@