OpenBSD cvs log

created 2018-11-29T23:04:32Z
begin 2018-07-03T00:00:00Z
end 2018-07-04T00:00:00Z
path src/sys
commits 17

date 2018-07-03T00:47:49Z
author kevlo
files src/sys/dev/usb/if_mos.c log diff annotate
message Nuke unused variable.

ok deraadt@, mpi@, rob@

date 2018-07-03T00:49:14Z
author kevlo
files src/sys/dev/usb/if_aue.c log diff annotate
message Fix typo.

ok claudio@, deraadt@, mpi@, rob@

date 2018-07-03T05:45:21Z
author mpi
files src/sys/arch/amd64/amd64/trap.c log diff annotate
message Remove dead code present since r1.1. Fix CID 1470238.

ok guenther@

date 2018-07-03T05:50:46Z
author mpi
files src/sys/dev/diskmap.c log diff annotate
message Instead of overwriting `f_data' replace the 'struct file' with a new one.

With this change `f_data' is effectively immutable.

While here prevent a lock ordering issue by not unterleaving the vnode's
lock and the fdplock().

Tested by bluhm@, ok kettenis@, visa@, jsing@

date 2018-07-03T06:54:47Z
author jmatthew
files src/sys/dev/pci/qle.c log diff annotate
message If we're not on a fabric, we may still need to attach and detach targets
as part of processing port database changes.

date 2018-07-03T07:03:18Z
author landry
files src/sys/dev/usb/usbdevs log diff annotate
message Add usb ids for the Logitech Webcams C210 and C270.

Their audio isn't properly detected yet, but a new quirk will fix that.
ok mpi@

date 2018-07-03T07:04:21Z
author landry
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2018-07-03T07:07:17Z
author jmatthew
files src/sys/dev/pci/qle.c log diff annotate
message During attach, give the loop a while to settle before we start looking
for targets. With some combinations of controllers and targets, the loop
seems to bounce a bit, but with a short delay we can attach targets more

date 2018-07-03T08:14:47Z
author fcambus
files src/sys/dev/pci/pcidevs log diff annotate
message Add device IDs of the VIA VX900 chipset.

OK mlarkin@

date 2018-07-03T08:16:02Z
author fcambus
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2018-07-03T08:42:32Z
author jsg
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
src/sys/arch/amd64/include/specialreg.h log diff annotate
message add amd speculation control cpuid bits

documented in 'AMD64 Technology Indirect Branch Control Extension'
and 'Speculative Store Bypass Disable'

ok mlarkin@ deraadt@

date 2018-07-03T12:58:18Z
author anton
files src/sys/kern/vfs_vnops.c log diff annotate
message Avoid NULL pointer deref in vn_writechk() when calling ftruncate() on a file
descriptor belonging to a cloned device.

ok kettenis@

date 2018-07-03T14:33:43Z
author kevlo
files src/sys/dev/ic/smc83c170.c log diff annotate
src/sys/dev/usb/if_aue.c log diff annotate
src/sys/dev/usb/if_udav.c log diff annotate
src/sys/dev/usb/if_url.c log diff annotate
message Use LIST_FOREACH construct instead of homebrew loop.

ok bluhm@, mpi@

date 2018-07-03T20:15:57Z
author guenther
files src/sys/arch/amd64/amd64/ log diff annotate
src/sys/arch/amd64/amd64/spl.S log diff annotate
src/sys/arch/amd64/amd64/vector.S log diff annotate
src/sys/arch/amd64/include/frame.h log diff annotate
src/sys/arch/amd64/include/i82093reg.h log diff annotate
message Make intrframe the exact same size as trapframe: instead of pushing
the PPL on top, store it where trapframe puts the trap number. This
makes interrupt handlers get called with the correct stack alignment.
Also, document the use of if_err to differentiate resumed/recursed
interrupts from 'real' ones.

tested in snaps
ok deraadt@

date 2018-07-03T20:40:25Z
author kettenis
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/kern/vfs_vnops.c log diff annotate
src/sys/sys/file.h log diff annotate
message Add a new so_seek member to "struct file" such that we can have seekable
files that aren't vnodes. Move the vnode-specific code into its own
function. Add an implementation for the "DMA buffers" that can be used
by DRI3/prime code to find out the size of the graphics buffer.
This implementation is very limited and only supports offset 0 and only
for SEEK_SET and SEEK_END. This doesn't really make sense; implementing
stat(2) would be a more obvious choice. But this is what Linux does.

ok guenther@, visa@

date 2018-07-03T23:21:15Z
author mortimer
files src/sys/arch/amd64/amd64/acpi_wakecode.S log diff annotate
src/sys/arch/amd64/amd64/aes_intel.S log diff annotate
src/sys/arch/amd64/amd64/copy.S log diff annotate
src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/amd64/spl.S log diff annotate
src/sys/arch/amd64/amd64/vmm_support.S log diff annotate
message Add retguard macros for kernel asm.
ok deraadt, ok mlarkin (vmm_support)

date 2018-07-03T23:22:48Z
author mortimer
files src/sys/lib/libkern/arch/amd64/bcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/bzero.S log diff annotate
src/sys/lib/libkern/arch/amd64/ffs.S log diff annotate
src/sys/lib/libkern/arch/amd64/htonl.S log diff annotate
src/sys/lib/libkern/arch/amd64/htons.S log diff annotate
src/sys/lib/libkern/arch/amd64/memchr.S log diff annotate
src/sys/lib/libkern/arch/amd64/memcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/memmove.S log diff annotate
src/sys/lib/libkern/arch/amd64/memset.S log diff annotate
src/sys/lib/libkern/arch/amd64/scanc.S log diff annotate
src/sys/lib/libkern/arch/amd64/skpc.S log diff annotate
src/sys/lib/libkern/arch/amd64/strchr.S log diff annotate
src/sys/lib/libkern/arch/amd64/strcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/strlen.S log diff annotate
src/sys/lib/libkern/arch/amd64/strrchr.S log diff annotate
message Add retguard macros for libkern
ok deraadt