mirror of
https://github.com/PixlOne/logiops.git
synced 2025-07-13 04:42:40 +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">
|
||||
|
||||
<busconfig>
|
||||
<policy user="root">
|
||||
<allow own="pizza.pixl.LogiOps"/>
|
||||
<policy context="default">
|
||||
<deny receive_sender="pizza.pixl.LogiOps"/>
|
||||
</policy>
|
||||
|
||||
<policy context="default">
|
||||
<policy user="root">
|
||||
<allow own="pizza.pixl.LogiOps"/>
|
||||
<allow send_destination="pizza.pixl.LogiOps"/>
|
||||
<allow receive_sender="pizza.pixl.LogiOps"/>
|
||||
</policy>
|
||||
|
Loading…
Reference in New Issue
Block a user