Debian Patches

Status for g810-led/0.4.2-1+deb11u1

Patch Description Author Forwarded Bugs Origin Last update
build.patch Build fixes
* Preserve build flags
* Echo commands
* Skip installing udev and systemd files
Stephen Kitt <skitt@debian.org> no
device-permissions.patch commit e2b486fd1bc21e0b784e1b4c959770772dfced24

Rely on uaccess to control device access

The udev rules currently make supported device nodes world-readable
and writable, which means that any process on the system can read
traffic from keyboards including passwords etc. To avoid this, while
still allowing the "controlling" user to run g810-led without being
root, this patch adds a uaccess tag; this ensures that the user at the
console has write access to the devices. The mode is also changed to
660 to ensure that existing device nodes are fixed on upgrade.

Thanks to Xavi Drudis Ferran for bringing this to my attention.

Fixes: #293
Signed-off-by: Stephen Kitt <steve@sk2.org>

diff --git a/udev/g810-led.rules b/udev/g810-led.rules
index 90b743b..ea05726 100644
Stephen Kitt <steve@sk2.org> no 2022-11-28

All known versions for source package 'g810-led'

Links