]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: Grant sessions access to devices tagged with xaccess
authorAlessandro Astone <alessandro.astone@canonical.com>
Wed, 26 Nov 2025 16:26:53 +0000 (17:26 +0100)
committerAlessandro Astone <alessandro.astone@canonical.com>
Fri, 6 Feb 2026 15:20:18 +0000 (16:20 +0100)
commit5a198ad6f8b5af666712b33880a780aefebbcc48
tree499fe5693bd4f6d64569f444c4aebfa4b7996053
parent87840e144be71df81ea07b1e9a3198e4aca690ec
udev: Grant sessions access to devices tagged with xaccess

Grant access to devices tagged with "xaccess" on session start, if the session
was created with XDG_SESSION_EXTRA_DEVICE_ACCESS=1.

udev-builtin-uaccess is refactored to grant multiple users access to a device,
taking into account the device's seat and all the active EXTRA_DEVICE_ACCESS
sessions.
rules.d/73-seat-late.rules.in
src/login/logind-seat.c
src/login/logind-session.c
src/shared/acl-util.c
src/shared/acl-util.h
src/udev/udev-builtin-uaccess.c