HomeFreeBSD

evdev: Use console lock as evdev lock for all supported keyboard drivers.

Description

evdev: Use console lock as evdev lock for all supported keyboard drivers.

Now evdev part of keyboard drivers does not take any locks if corresponding
input/eventN device node is not opened by userland consumers.

Do not assert console lock inside evdev to handle the cases when keyboard
driver is called from some special single-threaded context like shutdown
thread.

Details

Provenance
wulfAuthored on
Parents
rS339822: sh: Use exitstatus instead of exerrno to pass EXEXEC status
Branches
Unknown
Tags
Unknown