HomeFreeBSD

evdev: Extend EVIOCGRAB ioctl scope to cover kbd interface

Description

evdev: Extend EVIOCGRAB ioctl scope to cover kbd interface

of various keyboard 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.
Keyboard grabbing is disabled in KDB and during panics.

(cherry picked from commit 183088934a6c4384e45ac6d01c04754e0d7a991c)

Details

Provenance
wulfAuthored on Nov 18 2022, 11:54 PM
Parents
rG9aca77c20c93: evdev: Extend EVIOCGRAB ioctl scope to cover sysmouse interface
Branches
Unknown
Tags
Unknown