Files
freebsd/sys/dev/evdev
Vladimir Kondratyev 4a919ad3a2 MFC r344494,r344495:
evdev: export event device properties through sysctl interface

A big security advantage of Wayland is not allowing applications to read
input devices all the time. Having /dev/input/* accessible to the user
account subverts this advantage.

libudev-devd was opening the evdev devices to detect their types (mouse,
keyboard, touchpad, etc). This don't work if /dev/input/* is inaccessible.
With the kernel exposing this information as sysctls (kern.evdev.input.*),
we can work w/o /dev/input/* access, preserving the Wayland security model.

Submitted by:	Greg V <[email protected]>
Reviewed by:	wulf, imp
Differential Revision:	https://reviews.freebsd.org/D18694
2019-03-10 20:43:08 +00:00
..
…
2019-03-10 20:43:08 +00:00
2019-03-10 20:43:08 +00:00
…
…
…
…