OpenBSD cvs log

created 2021-10-30T23:06:24Z
begin 2021-10-29T00:00:00Z
end 2021-10-30T00:00:00Z
path src/sys
commits 6

date 2021-10-29T13:24:50Z
author ratchov
files src/sys/dev/midi.c log diff annotate
message Don't grab audio_lock in filt_midi{read,write} if NOTE_SUBMIT is set.

Fixes panics caused by attempts to grab audio_lock twice in the
interrupt code path: once in the low-lever interrupt handler and once
in selwakeup()

This is exactly how audio(4) handles this problem.

ok mpi

date 2021-10-29T14:22:26Z
author jsg
files src/sys/dev/usb/usbdevs log diff annotate
message more Prolific HXN ids
ok deraadt@ robert@ patrick@

date 2021-10-29T14:23:07Z
author jsg
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2021-10-29T14:25:05Z
author jsg
files src/sys/dev/usb/uplcom.c log diff annotate
message match more Prolific HXN ids
tested by robert@ on PL2303GT
ok deraadt@ robert@ patrick@

date 2021-10-29T15:43:55Z
author anton
files src/sys/dev/usb/uhidev.h log diff annotate
message A USB HID report ID must be represented using a single byte ranging
between 1-255 where 0 is reserved. The pseudo report ID
UHIDEV_CLAIM_MULTIPLE_REPORTID is currently colliding with the valid
report ID 255. Therefore crank it which gets rid of the collision and
increase the related fields in order to cope with larger integers.

Thanks to Damien Couderc <openbsd at petrocore dot eu> for reporting and
testing.

date 2021-10-29T15:52:44Z
author anton
files src/sys/kern/sys_generic.c log diff annotate
message poll needs similar treatment as select recently gained in order to not
mask failed kqueue_register() attempts which in turn causes the thread to
end up sleeping as opposed of propagating the failure to user space.

Regression introduced in the recent switch to implement poll on top of
kqueue.

Thanks to Larry Hynes <larry at larryhynes dot com> for reporting and
Leah Neukirchen <leah at vuxu dot org> for providing a reproducer; which
also already made its way into regress.

ok mpi@