mirror of
https://github.com/PixlOne/logiops.git
synced 2025-07-13 12:52:42 +08:00
Fix CVE-2024-45752
Prevents arbitrary users from accessing d-bus interface. Fixes #473. This change now requires any application using the LogiOps D-Bus interface to run as root.
This commit is contained in:
parent
237fa5fbd3
commit
9495516e0c
@ -3,11 +3,12 @@
|
|||||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||||
|
|
||||||
<busconfig>
|
<busconfig>
|
||||||
<policy user="root">
|
<policy context="default">
|
||||||
<allow own="pizza.pixl.LogiOps"/>
|
<deny receive_sender="pizza.pixl.LogiOps"/>
|
||||||
</policy>
|
</policy>
|
||||||
|
|
||||||
<policy context="default">
|
<policy user="root">
|
||||||
|
<allow own="pizza.pixl.LogiOps"/>
|
||||||
<allow send_destination="pizza.pixl.LogiOps"/>
|
<allow send_destination="pizza.pixl.LogiOps"/>
|
||||||
<allow receive_sender="pizza.pixl.LogiOps"/>
|
<allow receive_sender="pizza.pixl.LogiOps"/>
|
||||||
</policy>
|
</policy>
|
||||||
|
Loading…
Reference in New Issue
Block a user