Page MenuHomeFreeBSD

evdev: add devnum sysctl
Needs ReviewPublic

Authored by quentin.thebault_defenso.fr on Tue, May 12, 1:57 PM.

Details

Reviewers
wulf
kevans
Summary

Add a sysctl entry for the evdev device number (devnum) to allow libudev-devd to
populate the corresponding device information fields (MAJOR and MINOR) when
running in a jail with no input devices exposed through devfs.

Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Sponsored by: Defenso
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73042
Build 69925: arc lint + arc unit

Event Timeline

Enables an improvement of libudev-devd (https://github.com/wulf7/libudev-devd/pull/15), itself necessary for a cleaner patch of libinput (https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1471) to let libinput work in a jail with no devfs but an available seat manager (e.g. seatd socket on nullfs) to get file descriptors from the host.