OpenBSD cvs log

created 2019-04-30T18:00:23Z
begin 2019-04-25T00:00:00Z
end 2019-04-26T00:00:00Z
path src/sys
commits 8

date 2019-04-25T01:52:13Z
author kevlo
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/rtwn.c log diff annotate
src/sys/dev/pci/if_iwi.c log diff annotate
message Follow up on jmatthew's suggestion:
in x_media_change(), return the errno from ieee80211_media_change() and
do the error check from x_init().

ok stsp@, jmatthew@, phessler@

date 2019-04-25T01:52:14Z
author kevlo
files src/sys/dev/usb/if_ral.c log diff annotate
src/sys/dev/usb/if_rsu.c log diff annotate
src/sys/dev/usb/if_rum.c log diff annotate
src/sys/dev/usb/if_run.c log diff annotate
src/sys/dev/usb/if_uath.c log diff annotate
src/sys/dev/usb/if_upgt.c log diff annotate
src/sys/dev/usb/if_zyd.c log diff annotate
message Follow up on jmatthew's suggestion:
in x_media_change(), return the errno from ieee80211_media_change() and
do the error check from x_init().

ok stsp@, jmatthew@, phessler@

date 2019-04-25T09:33:47Z
author kettenis
files src/sys/dev/pci/drm/i915/i915_drv.c log diff annotate
message Since we now have an attachhook, the actual interrupt handler is installed
late, after we enable interrupts. If the interrupt pin used for inteldrm(4)
is shared with another device, we may end up being called before the actual
interrup handler is installed resulting in a null-pointer dereference.
Fix this by adding an explicit check that the interrupt handler function
pointer has been set.

ok matthieu@, jsg@

date 2019-04-25T18:24:39Z
author anton
files src/sys/net/bpf.c log diff annotate
message Lower the accepted upper bound for bd_rtout to INT_MAX in order to
prevent passing negative values to timeout_add().

While here, protect against unsigned wrap around during addition of
bd_rdStart and bd_rtout since it could also cause passing negative
values to timeout_add().

ok bluhm@

Reported-by: syzbot+6771e3d6d9567b3983aa@syzkaller.appspotmail.com

date 2019-04-25T20:19:30Z
author naddy
files src/sys/arch/amd64/stand/efiboot/efipxe.c log diff annotate
src/sys/arch/amd64/stand/libsa/dev_i386.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efiboot.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efipxe.c log diff annotate
src/sys/arch/armv7/stand/efiboot/efiboot.c log diff annotate
src/sys/arch/armv7/stand/efiboot/efipxe.c log diff annotate
message Add a check to tftp_open() that we are actually opening a TFTP device.

When reading a file from a non-TFTP device, clear the bootmac variable
to prevent the kernel from going into netboot mode.

This allows loading a kernel from a disk device after having booted
efiboot from PXE.

style tweak and ok kettenis@

date 2019-04-25T21:47:51Z
author deraadt
files src/sys/lib/libkern/arch/sh/movstrSI12_i4.S log diff annotate
message Add movstrSI12_i4 for linking -Os/-Oz kernels. Sadly however it
fails and locks early in boot.

date 2019-04-25T21:47:53Z
author deraadt
files src/sys/arch/sh/conf/files.sh log diff annotate
message Add movstrSI12_i4 for linking -Os/-Oz kernels. Sadly however it
fails and locks early in boot.

date 2019-04-25T21:48:40Z
author deraadt
files src/sys/arch/landisk/conf/Makefile.landisk log diff annotate
message disable -Oz compile for SMALL_KERNEL w/ comment why