Skip to content

evdev: get devnum through sysctl when available#15

Open
Defenso-QTH wants to merge 1 commit into
wulf7:masterfrom
Defenso-QTH:devnum-sysctl
Open

evdev: get devnum through sysctl when available#15
Defenso-QTH wants to merge 1 commit into
wulf7:masterfrom
Defenso-QTH:devnum-sysctl

Conversation

@Defenso-QTH
Copy link
Copy Markdown

D56968 evdev: add devnum sysctl (https://reviews.freebsd.org/D56968) makes devnum accessible through the sysctl interface, which can be used from within a jail that does not have access to the input devices through devfs.

Use those sysctl values when available and keep the former stat(2) on devfs code path otherwise.

D56968 evdev: add devnum sysctl (https://reviews.freebsd.org/D56968) makes
devnum accessible through the sysctl interface, which can be used from within a
jail that does not have access to the input devices through devfs.

Use those sysctl values when available and keep the former stat(2) on devfs code
path otherwise.

Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Sponsored-by: Defenso
@Defenso-QTH
Copy link
Copy Markdown
Author

This will enable a cleaner patch to make libinput work in jails that have no access to input devices through devfs but can get fds to them using a seat manager (e.g. seatd).

See https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant