]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
evdev: Extend EVIOCGRAB ioctl scope to cover sysmouse interface
authorVladimir Kondratyev <wulf@FreeBSD.org>
Thu, 17 Nov 2022 21:48:42 +0000 (00:48 +0300)
committerVladimir Kondratyev <wulf@FreeBSD.org>
Sat, 24 Dec 2022 08:33:27 +0000 (11:33 +0300)
commit9aca77c20c938494101b463e1323ac6980c80335
tree470cee60de3a47a4fe3ba200e16cdc086b79dccc
parentbee14272ae84f38b312728c59ebe7a74d3d50ba1
evdev: Extend EVIOCGRAB ioctl scope to cover sysmouse interface

of psm(4), ums(4) and sysmouse(4) drivers.
EVIOCGRAB ioctl execution on /dev/input/event# device node gains
exclusive access to this device to caller. It is used mostly for
development purposes and remote control software. See e.g.
https://reviews.freebsd.org/D30020 which is the reason of creation
of this change.

(cherry picked from commit 4a0db5e2920c0e0df52d6888bdd732df95706dfc)
sys/dev/atkbdc/psm.c
sys/dev/evdev/evdev.c
sys/dev/evdev/evdev.h
sys/dev/syscons/sysmouse.c
sys/dev/usb/input/ums.c
sys/dev/vt/vt_sysmouse.c