OpenBSD cvs log

created 2021-03-28T04:14:58Z
begin 2021-03-24T00:00:00Z
end 2021-03-25T00:00:00Z
path src/sys
commits 11

date 2021-03-24T02:20:44Z
author jcs
files src/sys/dev/usb/usbdevs log diff annotate
message add HAILUCK Keyboard

from kurt

date 2021-03-24T02:21:40Z
author jcs
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2021-03-24T02:49:57Z
author jcs
files src/sys/dev/usb/ums.c log diff annotate
src/sys/dev/usb/umt.c log diff annotate
src/sys/dev/usb/usb_quirks.c log diff annotate
src/sys/dev/usb/usb_quirks.h log diff annotate
message Define a USB quirk for devices that need to keep their pipes open at
all times, before the device is enabled and after the device is
disabled by wscons.

This was originally needed by umt for the Microsoft Surface Type
Cover to avoid it resetting (or at least detaching and reattaching)
when the touchpad was touched while at the console.

A similar problem occurs with the Pinebook Pro's keyboard when
switching from X to the console due to the touchpad getting
disabled, so add it to ums as well.

with and ok kurt

date 2021-03-24T07:40:37Z
author bru
files src/sys/dev/wscons/wstpad.c log diff annotate
message Make tap detection less restrictive for multi-finger taps.

In order to distinguish tap gestures from short movements, the mechanism
checks whether the distance between the first and the last position of a
touch exceeds the 'maxdist' limit. Some touchpads provide unreliable
coordinates when more than one contact is being made simultaneously, and
in this case the filter may be too strong - and superfluous, because only
one-finger contacts should trigger pointer movement.

date 2021-03-24T14:26:39Z
author bluhm
files src/sys/arch/amd64/amd64/mem.c log diff annotate
message The logic in mmrw() to check whether an address is within direct
map was the wrong way around. The && prevented an EFAULT error and
could pass userland addresses as kernel source to copyout(9). The
kernel could crash with protection fault due to an invalid offset
when reading /dev/kmem.
Also make the range checks stricter. Not only the start address
must be valid, but also the end address must be within the region
to be copied.
Note that sysctl kern.allowkmem=0 makes the bug unreachable by
default.
OK deraadt@

date 2021-03-24T16:11:32Z
author semarie
files src/sys/miscfs/deadfs/dead_vnops.c log diff annotate
src/sys/miscfs/fuse/fuse_vnops.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vnops.c log diff annotate
message make some `struct vops' members explicitly NULL instead of implicitly NULL

ok mpi@

date 2021-03-24T16:17:05Z
author semarie
files src/sys/isofs/cd9660/cd9660_vnops.c log diff annotate
message cd9660, mfs: do not hide generic vop functions behind #define

It makes clearer which vop functions are real fileystem-implementations and which one are only stubs.

No functional changes are intented.

ok visa@

date 2021-03-24T16:17:06Z
author semarie
files src/sys/ufs/mfs/mfs_extern.h log diff annotate
src/sys/ufs/mfs/mfs_vnops.c log diff annotate
message cd9660, mfs: do not hide generic vop functions behind #define

It makes clearer which vop functions are real fileystem-implementations and which one are only stubs.

No functional changes are intented.

ok visa@

date 2021-03-24T18:28:24Z
author bru
files src/sys/dev/wscons/wstpad.c log diff annotate
message Improve the tap detection mechanism.

Revision 1.29 of wstpad.c has removed the 'maxdist' checks
for multi-finger taps. While this change makes tap detection
more reliable, and does not affect inputs intended for pointer
movement, it might interfere with short scroll gestures.
This version reorganizes the filtering code, and reintroduces
a weaker version of those checks for MT touchpads.

date 2021-03-24T18:49:25Z
author sthen
files src/sys/dev/usb/usbdevs log diff annotate
message remove vendor name (Dell) repeated in product name

date 2021-03-24T18:49:40Z
author sthen
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message sync