freebsd-dev/sys/dev/evdev
Vladimir Kondratyev 5ef2488947 evdev: disable evdev if it is invoked from KDB or panic context
This allow to prevent deadlock on entering KDB if one of evdev locks is
already taken by userspace process.

Also this change discards all but LED console events produced by KDB as
unrelated to userspace.

Tested by:	dumbbell (as part of D15070)
Objected by:	bde (as 'KDB lock an already locked mutex' problem solution)
MFC after:	1 month
2018-10-27 21:04:34 +00:00
..
cdev.c evdev: disable evdev if it is invoked from KDB or panic context 2018-10-27 21:04:34 +00:00
evdev_mt.c
evdev_private.h evdev: disable evdev if it is invoked from KDB or panic context 2018-10-27 21:04:34 +00:00
evdev_utils.c evdev: Remove evdev.ko linkage dependency on kbd driver 2018-08-13 19:05:53 +00:00
evdev.c evdev: disable evdev if it is invoked from KDB or panic context 2018-10-27 21:04:34 +00:00
evdev.h evdev: Remove evdev.ko linkage dependency on kbd driver 2018-08-13 19:05:53 +00:00
input-event-codes.h
input.h
uinput.c
uinput.h