OpenBSD cvs log

created 2019-08-12T15:31:32Z
begin 2019-08-07T00:00:00Z
end 2019-08-08T00:00:00Z
path src/sys
commits 9

date 2019-08-07T11:14:16Z
author patrick
files src/sys/dev/usb/uvideo.c log diff annotate
src/sys/dev/usb/uvideo.h log diff annotate
message Add support for the KSMedia 8-bit IR format, a greyscale format,
as seen on the IR camera of my Lenovo X395.

ok jan@

date 2019-08-07T11:16:02Z
author patrick
files src/sys/dev/usb/uvideo.c log diff annotate
message Add support for integrated USB cameras with two functions, as
seen on a Lenovo X395 which combines normal webcam functionality
with another IR camera, by parsing the USB interface association
descriptors. This fixes the symptom of uvideo(4) complaining
about too many headers and not providing any functionality at all.

ok jan@

date 2019-08-07T14:14:01Z
author deraadt
files src/sys/kern/kern_sig.c log diff annotate
message avoid large MAXPATHLEN object on the stack in coredump(), by allocating
it from the pool.
ok bluhm visa

date 2019-08-07T18:53:12Z
author guenther
files src/sys/arch/amd64/amd64/codepatch.c log diff annotate
src/sys/arch/amd64/include/codepatch.h log diff annotate
message Add codepatch_jmp(), like codepath_call() but inserting a jmp instead of a call.

tweaked based on feedback from kettenis@
ok deraadt@

date 2019-08-07T18:53:28Z
author guenther
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/amd64/vector.S log diff annotate
src/sys/arch/amd64/include/codepatch.h log diff annotate
src/sys/arch/amd64/include/frameasm.h log diff annotate
message Mitigate CVE-2019-1125: block speculation past conditional jump to mis-skip
or mis-take swapgs in interrupt path and in trap/fault/exception path. The
latter is improved to have no conditionals around this when Meltdown mitigation
is in effect. Codepatch out the fences based on the description of CPU bugs
in the (well written) Linux commit message.

feedback from kettenis@
ok deraadt@

date 2019-08-07T20:30:30Z
author bluhm
files src/sys/kern/vfs_syscalls.c log diff annotate
message The pathname in unveil(2) allocated 1024 bytes on the stack during
the system call. Better use namei pool like sys___realpath() does.
OK semarie@ deraadt@

date 2019-08-07T22:03:43Z
author jcs
files src/sys/dev/pci/azalia_codec.c log diff annotate
message recognize the Realtek ALC285

date 2019-08-07T22:03:46Z
author jmatthew
files src/sys/dev/pci/if_iavf.c log diff annotate
message Process admin queue responses in the interrupt handler, rather than
deferring to a task, so we can run sequences of admin commands using
tasks. The only part of this that can't be done in interrupt context
is allocating new admin response buffers, so make that the responsibility
of the admin command issuer.

date 2019-08-07T22:34:25Z
author jmatthew
files src/sys/dev/pci/if_iavf.c log diff annotate
message Handle VF resets. When the PF changes VF settings, the VF will be reset,
which means the driver has to set everything up again from scratch.
When we detect a reset (identified by an interrupt with ICR 0xdeadbeef),
schedule a task that sets up the admin queue, establishes communication
with the PF, and configures the rx/tx queues again. The interface is
taken down during the reset process.