OpenBSD cvs log

created 2019-05-14T11:07:26Z
begin 2019-05-11T00:00:00Z
end 2019-05-12T00:00:00Z
path src/sys
commits 26

date 2019-05-11T02:33:34Z
author mlarkin
files src/sys/arch/amd64/stand/efi32/Makefile log diff annotate
src/sys/arch/amd64/stand/efi32/Makefile.common log diff annotate
src/sys/arch/amd64/stand/efi32/Makefile.inc log diff annotate
src/sys/arch/amd64/stand/efi32/cmd_i386.c log diff annotate
src/sys/arch/amd64/stand/efi32/conf.c log diff annotate
src/sys/arch/amd64/stand/efi32/dev_i386.c log diff annotate
src/sys/arch/amd64/stand/efi32/diskprobe.c log diff annotate
src/sys/arch/amd64/stand/efi32/efiboot.c log diff annotate
src/sys/arch/amd64/stand/efi32/efiboot.h log diff annotate
src/sys/arch/amd64/stand/efi32/eficall.S log diff annotate
src/sys/arch/amd64/stand/efi32/eficall.h log diff annotate
src/sys/arch/amd64/stand/efi32/efidev.c log diff annotate
src/sys/arch/amd64/stand/efi32/efidev.h log diff annotate
src/sys/arch/amd64/stand/efi32/efipxe.c log diff annotate
src/sys/arch/amd64/stand/efi32/efipxe.h log diff annotate
src/sys/arch/amd64/stand/efi32/efirng.c log diff annotate
src/sys/arch/amd64/stand/efi32/exec_i386.c log diff annotate
src/sys/arch/amd64/stand/efi32/heap.h log diff annotate
src/sys/arch/amd64/stand/efi32/Attic/ldscript.amd64 log diff annotate
src/sys/arch/amd64/stand/efi32/ldscript.i386 log diff annotate
src/sys/arch/amd64/stand/efi32/machdep.c log diff annotate
src/sys/arch/amd64/stand/efi32/memprobe.c log diff annotate
src/sys/arch/amd64/stand/efi32/run_i386.S log diff annotate
src/sys/arch/amd64/stand/efi32/run_i386.h log diff annotate
src/sys/arch/amd64/stand/efi32/self_reloc.c log diff annotate
src/sys/arch/amd64/stand/efi32/Attic/start_amd64.S log diff annotate
src/sys/arch/amd64/stand/efi32/start_i386.S log diff annotate
src/sys/arch/amd64/stand/efi32/bootia32/Makefile log diff annotate
message Refactor efiboot into 32 and 64 bit copies.

Make 2 separate efiboots, one for 32 bit and one for 64 bit to allow
us to remove lots of #ifdef code. Needed to ease the development effort
for random-VA linked kernels

ok tedu, deraadt

date 2019-05-11T02:36:10Z
author mlarkin
files src/sys/arch/amd64/stand/efi64/Makefile log diff annotate
src/sys/arch/amd64/stand/efi64/Makefile.common log diff annotate
src/sys/arch/amd64/stand/efi64/Makefile.inc log diff annotate
src/sys/arch/amd64/stand/efi64/cmd_i386.c log diff annotate
src/sys/arch/amd64/stand/efi64/conf.c log diff annotate
src/sys/arch/amd64/stand/efi64/dev_i386.c log diff annotate
src/sys/arch/amd64/stand/efi64/diskprobe.c log diff annotate
src/sys/arch/amd64/stand/efi64/efiboot.c log diff annotate
src/sys/arch/amd64/stand/efi64/efiboot.h log diff annotate
src/sys/arch/amd64/stand/efi64/eficall.S log diff annotate
src/sys/arch/amd64/stand/efi64/eficall.h log diff annotate
src/sys/arch/amd64/stand/efi64/efidev.c log diff annotate
src/sys/arch/amd64/stand/efi64/efidev.h log diff annotate
src/sys/arch/amd64/stand/efi64/efipxe.c log diff annotate
src/sys/arch/amd64/stand/efi64/efipxe.h log diff annotate
src/sys/arch/amd64/stand/efi64/efirng.c log diff annotate
src/sys/arch/amd64/stand/efi64/exec_i386.c log diff annotate
src/sys/arch/amd64/stand/efi64/heap.h log diff annotate
src/sys/arch/amd64/stand/efi64/ldscript.amd64 log diff annotate
src/sys/arch/amd64/stand/efi64/Attic/ldscript.i386 log diff annotate
src/sys/arch/amd64/stand/efi64/machdep.c log diff annotate
src/sys/arch/amd64/stand/efi64/memprobe.c log diff annotate
src/sys/arch/amd64/stand/efi64/run_i386.S log diff annotate
src/sys/arch/amd64/stand/efi64/run_i386.h log diff annotate
src/sys/arch/amd64/stand/efi64/self_reloc.c log diff annotate
src/sys/arch/amd64/stand/efi64/start_amd64.S log diff annotate
src/sys/arch/amd64/stand/efi64/Attic/start_i386.S log diff annotate
src/sys/arch/amd64/stand/efi64/bootx64/Makefile log diff annotate
message Refactor efiboot into 32 and 64 bit copies.

Make 2 separate efiboots, one for 32 bit and one for 64 bit to allow
us to remove lots of #ifdef code. Needed to ease the development effort
for random-VA linked kernels

ok tedu, deraadt

date 2019-05-11T07:18:15Z
author deraadt
files src/sys/Makefile log diff annotate
message socppc makes an extended visit to the bigbucket.
ok kettenis

date 2019-05-11T07:18:16Z
author deraadt
files src/sys/arch/socppc/Attic/Makefile log diff annotate
src/sys/arch/socppc/compile/Attic/Makefile log diff annotate
src/sys/arch/socppc/compile/Attic/Makefile.inc log diff annotate
src/sys/arch/socppc/compile/GENERIC/Attic/Makefile log diff annotate
src/sys/arch/socppc/compile/RAMDISK/Attic/Makefile log diff annotate
src/sys/arch/socppc/conf/Attic/GENERIC log diff annotate
src/sys/arch/socppc/conf/Attic/Makefile.socppc log diff annotate
src/sys/arch/socppc/conf/Attic/RAMDISK log diff annotate
src/sys/arch/socppc/conf/Attic/files.socppc log diff annotate
src/sys/arch/socppc/dev/Attic/com_obio.c log diff annotate
src/sys/arch/socppc/dev/Attic/ehci_obio.c log diff annotate
src/sys/arch/socppc/dev/Attic/if_tsec.c log diff annotate
src/sys/arch/socppc/dev/Attic/ipic.c log diff annotate
src/sys/arch/socppc/dev/Attic/obio.c log diff annotate
src/sys/arch/socppc/dev/Attic/pciide_machdep.c log diff annotate
src/sys/arch/socppc/dev/Attic/sociic.c log diff annotate
src/sys/arch/socppc/dev/Attic/socpcic.c log diff annotate
src/sys/arch/socppc/dev/Attic/wdc_mainbus.c log diff annotate
src/sys/arch/socppc/include/Attic/_float.h log diff annotate
src/sys/arch/socppc/include/Attic/_types.h log diff annotate
src/sys/arch/socppc/include/Attic/asm.h log diff annotate
src/sys/arch/socppc/include/Attic/atomic.h log diff annotate
src/sys/arch/socppc/include/Attic/autoconf.h log diff annotate
src/sys/arch/socppc/include/Attic/bus.h log diff annotate
src/sys/arch/socppc/include/Attic/cdefs.h log diff annotate
src/sys/arch/socppc/include/Attic/conf.h log diff annotate
src/sys/arch/socppc/include/Attic/cpu.h log diff annotate
src/sys/arch/socppc/include/Attic/db_machdep.h log diff annotate
src/sys/arch/socppc/include/Attic/disklabel.h log diff annotate
src/sys/arch/socppc/include/Attic/endian.h log diff annotate
src/sys/arch/socppc/include/Attic/exec.h log diff annotate
src/sys/arch/socppc/include/Attic/fenv.h log diff annotate
src/sys/arch/socppc/include/Attic/fpu.h log diff annotate
src/sys/arch/socppc/include/Attic/frame.h log diff annotate
src/sys/arch/socppc/include/Attic/ieee.h log diff annotate
src/sys/arch/socppc/include/Attic/ieeefp.h log diff annotate
src/sys/arch/socppc/include/Attic/intr.h log diff annotate
src/sys/arch/socppc/include/Attic/kcore.h log diff annotate
src/sys/arch/socppc/include/Attic/limits.h log diff annotate
src/sys/arch/socppc/include/Attic/loadfile_machdep.h log diff annotate
src/sys/arch/socppc/include/Attic/lock.h log diff annotate
src/sys/arch/socppc/include/Attic/mutex.h log diff annotate
src/sys/arch/socppc/include/Attic/param.h log diff annotate
src/sys/arch/socppc/include/Attic/pcb.h log diff annotate
src/sys/arch/socppc/include/Attic/pci_machdep.h log diff annotate
src/sys/arch/socppc/include/Attic/pio.h log diff annotate
src/sys/arch/socppc/include/Attic/pmap.h log diff annotate
src/sys/arch/socppc/include/Attic/proc.h log diff annotate
src/sys/arch/socppc/include/Attic/profile.h log diff annotate
src/sys/arch/socppc/include/Attic/psl.h log diff annotate
src/sys/arch/socppc/include/Attic/pte.h log diff annotate
src/sys/arch/socppc/include/Attic/ptrace.h log diff annotate
src/sys/arch/socppc/include/Attic/reg.h log diff annotate
src/sys/arch/socppc/include/Attic/reloc.h log diff annotate
src/sys/arch/socppc/include/Attic/setjmp.h log diff annotate
src/sys/arch/socppc/include/Attic/signal.h log diff annotate
src/sys/arch/socppc/include/Attic/spinlock.h log diff annotate
src/sys/arch/socppc/include/Attic/stdarg.h log diff annotate
src/sys/arch/socppc/include/Attic/tcb.h log diff annotate
src/sys/arch/socppc/include/Attic/trap.h log diff annotate
src/sys/arch/socppc/include/Attic/varargs.h log diff annotate
src/sys/arch/socppc/include/Attic/vmparam.h log diff annotate
src/sys/arch/socppc/socppc/Attic/autoconf.c log diff annotate
src/sys/arch/socppc/socppc/Attic/clock.c log diff annotate
src/sys/arch/socppc/socppc/Attic/conf.c log diff annotate
src/sys/arch/socppc/socppc/Attic/cpu.c log diff annotate
src/sys/arch/socppc/socppc/Attic/disksubr.c log diff annotate
src/sys/arch/socppc/socppc/Attic/genassym.cf log diff annotate
src/sys/arch/socppc/socppc/Attic/locore.S log diff annotate
src/sys/arch/socppc/socppc/Attic/machdep.c log diff annotate
src/sys/arch/socppc/socppc/Attic/mainbus.c log diff annotate
src/sys/arch/socppc/socppc/Attic/mem.c log diff annotate
src/sys/arch/socppc/socppc/Attic/n1200.dts log diff annotate
src/sys/arch/socppc/socppc/Attic/n1200_dts.S log diff annotate
src/sys/arch/socppc/stand/Attic/Makefile log diff annotate
src/sys/arch/socppc/stand/Attic/Makefile.inc log diff annotate
src/sys/arch/socppc/stand/boot/Attic/Makefile log diff annotate
src/sys/arch/socppc/stand/boot/Attic/boot.8 log diff annotate
src/sys/arch/socppc/stand/boot/Attic/clock.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/cmd_socppc.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/conf.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/dev_socppc.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/devopen.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/exec.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/fdt.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/fdt.h log diff annotate
src/sys/arch/socppc/stand/boot/Attic/libsa.h log diff annotate
src/sys/arch/socppc/stand/boot/Attic/machdep.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/ns16550.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/pciide.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/start.S log diff annotate
src/sys/arch/socppc/stand/boot/Attic/time.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/wd.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/wdc.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/wdc_obio.c log diff annotate
src/sys/arch/socppc/stand/boot/Attic/wdvar.h log diff annotate
src/sys/arch/socppc/stand/mbr/Attic/Makefile log diff annotate
src/sys/arch/socppc/stand/mbr/Attic/mbr.S log diff annotate
src/sys/arch/socppc/stand/mkboot/Attic/Makefile log diff annotate
src/sys/arch/socppc/stand/mkboot/Attic/mkboot.8 log diff annotate
src/sys/arch/socppc/stand/mkboot/Attic/mkboot.c log diff annotate
src/sys/kern/Makefile log diff annotate
message socppc makes an extended visit to the bigbucket.
ok kettenis

date 2019-05-11T08:18:51Z
author anton
files src/sys/kern/vfs_lockf.c log diff annotate
message Restore previous behavior of limiting deadlock detection to posix-style
locks.

ok jturner@ visa@

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

date 2019-05-11T14:19:16Z
author abieber
files src/sys/dev/pckbc/wskbdmap_mfii.c log diff annotate
src/sys/dev/wscons/wsksymdef.h log diff annotate
message Add the colemak keyboard layout.

OK deraadt@

date 2019-05-11T14:20:17Z
author abieber
files src/sys/dev/usb/ukbdmap.c log diff annotate
message Regen

date 2019-05-11T14:39:13Z
author jsg
files src/sys/dev/pci/drm/include/linux/irq_work.h log diff annotate
src/sys/dev/pci/drm/include/linux/workqueue.h log diff annotate
message move irq_work bits into irq_work header

date 2019-05-11T14:43:27Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/fusbtc.c log diff annotate
message Add fusbtc(4) to support the Fairchild FUSB302 USB Type-C controller.
A Type-C controller has multiple tasks. Even though the orientation
of the plug doesn't matter for the user, it matters for the hardware.
To be able to know how to route the SuperSpeed pins you need to know
which way the plug is connected. Also you need to know if you're a
sink/source or device/host. To get the first connection, you toggle
between the modes until you find a connection. In case you see that
a sink is connected, you can turn on USB Vbus to power the sink.

This driver explicitly does not implement USB's Type-C state machine,
but if we get more and more of these controllers it might be worth
doing. Also there's no support for Power Delivery messages yet.

ok kettenis@

date 2019-05-11T14:56:12Z
author patrick
files src/sys/dev/fdt/rkgpio.c log diff annotate
message Implement interrupt controller functionality in the Rockchip
GPIO driver. This allows us to use the fusbtc(4) interrupt
on the RockPro64.

ok kettenis@

date 2019-05-11T14:59:52Z
author lteo
files src/sys/dev/acpi/acpi.c log diff annotate
message Fix incorrect error message.

ok kettenis@

date 2019-05-11T16:47:02Z
author claudio
files src/sys/net/route.c log diff annotate
src/sys/net/rtsock.c log diff annotate
message Make rt_mpls_set() be more strict in what it accepts. Also ensure that
the RTF_MPLS can't be toggled without rt_mpls_set() being called. While
RTF_MPLS is part of RTF_FMASK it should be excluded from the flags and mask
when they are applied to the route since toggling it requires a call to
rt_mpls_set().
OK bluhm@

Reported-by: syzbot+86344a9e31c27aa6f15b@syzkaller.appspotmail.com

date 2019-05-11T16:56:47Z
author deraadt
files src/sys/lib/libsa/printf.c log diff annotate
src/sys/lib/libsa/snprintf.c log diff annotate
message we have never built without %b support

date 2019-05-11T17:13:59Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/include/linux/dma-fence-array.h log diff annotate
message implement dma_fence_array

date 2019-05-11T17:16:21Z
author benno
files src/sys/netinet/ip_ipsp.c log diff annotate
message unbreak the build without IPSEC.
ok claudio@ deraadt@

date 2019-05-11T17:45:59Z
author sashan
files src/sys/kern/kern_rwlock.c log diff annotate
message make rw-lock adaptive

OK visa@, OK mpi@

date 2019-05-11T18:10:45Z
author florian
files src/sys/net/if_trunk.c log diff annotate
message A trunk(4) usually stays up when the link state of one of its members
changes. While we do get RTM_IFINFO messages for the (physical) member
interfaces there is no indication that something changed from the
trunk(4) interface.
It is helpful to get this information in userland from the trunk so that
userland daemons do not need to track interface membership by themselves.
OK phessler

date 2019-05-11T19:14:41Z
author mlarkin
files src/sys/arch/amd64/stand/efi32/Makefile log diff annotate
src/sys/arch/amd64/stand/efi32/efiboot.c log diff annotate
src/sys/arch/amd64/stand/efi32/eficall.h log diff annotate
src/sys/arch/amd64/stand/efi32/exec_i386.c log diff annotate
src/sys/arch/amd64/stand/efi32/Attic/ldscript.amd64 log diff annotate
src/sys/arch/amd64/stand/efi32/self_reloc.c log diff annotate
src/sys/arch/amd64/stand/efi32/Attic/start_amd64.S log diff annotate
src/sys/arch/amd64/stand/efi64/Makefile log diff annotate
src/sys/arch/amd64/stand/efi64/efiboot.c log diff annotate
src/sys/arch/amd64/stand/efi64/eficall.h log diff annotate
src/sys/arch/amd64/stand/efi64/exec_i386.c log diff annotate
src/sys/arch/amd64/stand/efi64/Attic/ldscript.i386 log diff annotate
src/sys/arch/amd64/stand/efi64/self_reloc.c log diff annotate
src/sys/arch/amd64/stand/efi64/Attic/start_i386.S log diff annotate
message Further cleanup of efi32/64.

Removes some code and files not needed by efi32 and efi64.

ok guenther

date 2019-05-11T19:59:26Z
author deraadt
files src/sys/kern/exec_elf.c log diff annotate
message wxneeded binaries on wxallowed filesystems were refused execution. We have
encountered a wxneeded binary that attempts correct operation when started
on a nowxallowed filesystem (it tries mprotect with RWX, notices ENOTSUP
and acts in a different way). So permit execution (but of course don't
allow W^X violating mappings)
ok sthen kettenis robert

date 2019-05-11T20:02:00Z
author deraadt
files src/sys/uvm/uvm_mmap.c log diff annotate
message move the noise about W^X mapping failure inside the sysctl kern.wxabort
knob, since we found a proram which tests RWX mapping then changes execution
behaviour to non-W^X.
(that program is chrome, as v8 is heading towards W^X compliance with
mprotect RW/RX swaps, and also has jitless components in developent.)
ok sthen kettenis robert

date 2019-05-11T20:31:53Z
author krw
files src/sys/dev/softraid_raid5.c log diff annotate
message Kill an unused done: label and the associated superfluous "return;"
statement at the end of a void function. All inside #if 0, so
no effect on generated code.

date 2019-05-11T22:09:48Z
author mlarkin
files src/sys/arch/amd64/stand/boot/conf.c log diff annotate
message whitespace removal

date 2019-05-11T22:12:18Z
author mlarkin
files src/sys/arch/amd64/stand/cdboot/conf.c log diff annotate
message whitespace removal

date 2019-05-11T22:13:26Z
author mlarkin
files src/sys/arch/amd64/stand/pxeboot/conf.c log diff annotate
message whitespace removal

date 2019-05-11T23:27:08Z
author stsp
files src/sys/net80211/ieee80211_node.c log diff annotate
message Show driver name on net80211 scan debug lines.
ok mpi@

date 2019-05-11T23:36:40Z
author mpi
files src/sys/net/if.c log diff annotate
message Correct a check in if_isconnected().

Fix a regression introduced by the bridge(4) refactoring.

Found by and ok bluhm@