OpenBSD cvs log

created 2021-11-20T14:42:15Z
begin 2021-11-15T00:00:00Z
end 2021-11-16T00:00:00Z
path src/sys
commits 4

date 2021-11-15T15:36:24Z
author anton
files src/sys/dev/usb/fido.c log diff annotate
src/sys/dev/usb/ucycom.c log diff annotate
src/sys/dev/usb/ugold.c log diff annotate
src/sys/dev/usb/uhid.c log diff annotate
src/sys/dev/usb/uhidev.c log diff annotate
src/sys/dev/usb/uhidev.h log diff annotate
src/sys/dev/usb/ujoy.c log diff annotate
src/sys/dev/usb/umt.c log diff annotate
src/sys/dev/usb/uoaklux.c log diff annotate
src/sys/dev/usb/uoakrh.c log diff annotate
src/sys/dev/usb/uoakv.c log diff annotate
src/sys/dev/usb/upd.c log diff annotate
src/sys/dev/usb/uslhcom.c log diff annotate
src/sys/dev/usb/uthum.c log diff annotate
src/sys/dev/usb/utrh.c log diff annotate
src/sys/dev/usb/utwitch.c log diff annotate
message In preparation for once again trying the resolve the claim multiple
report ids conflict, extract the claim multiple report ids conditional
in order to minimize the required upcoming changes to resolve the
conflict.

Tested by gnezdo@

date 2021-11-15T15:38:08Z
author anton
files src/sys/dev/usb/uhidev.h log diff annotate
message Third attempt to solve the claim multiple report ids conflict. Using the
report id to signal that multiple ones should be claimed by the match
routines does not work. All valid report ids 1-255 cannot of course be
used and 0 which is reserved by the USB HID specification is internally
used to represents devices lacking an explicit report id.

Therefore, use presence of the claimed array to signal that multiple
report ids can be claimed.

Tested by gnezdo@

date 2021-11-15T15:48:54Z
author visa
files src/sys/kern/kern_event.c log diff annotate
message Revert to eager removal of poll/select knotes

This should prevent a panic that bluhm@ has reported.

date 2021-11-15T17:14:51Z
author deraadt
files src/sys/kern/kern_pledge.c log diff annotate
message Copy p_p->ps_pledge into a local variable (called pledge) in every function
which checks PLEDGE_* bits more than once. Some functions are called without
locking, and this avoids misinterpreting bits which have some coupled behaviour.
ok cheloha kettenis