Apply uaccess rules on all actions other than remove
These actions now need to react to "change" uevents, not only "add"
uevents. The recommendation from
5a8b9fd49f/NEWS (L22)
is to apply them on all non-"remove" uevents, which is what is done
here.
See also https://bugs.debian.org/1112660
Signed-off-by: Stephen Kitt <steve@sk2.org>
This commit is contained in:
parent
abc5a31c15
commit
924684b610
|
@ -5,7 +5,7 @@
|
|||
# because they could perform firmware updates.
|
||||
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"
|
||||
|
||||
ACTION != "add", GOTO="solaar_end"
|
||||
ACTION == "remove", GOTO="solaar_end"
|
||||
SUBSYSTEM != "hidraw", GOTO="solaar_end"
|
||||
|
||||
# USB-connected Logitech receivers and devices
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Allowing users to write to the device is potentially dangerous
|
||||
# because they could perform firmware updates.
|
||||
|
||||
ACTION != "add", GOTO="solaar_end"
|
||||
ACTION == "remove", GOTO="solaar_end"
|
||||
SUBSYSTEM != "hidraw", GOTO="solaar_end"
|
||||
|
||||
# USB-connected Logitech receivers and devices
|
||||
|
|
Loading…
Reference in New Issue