mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
dbus: Add dbus-daemon policy configuration
This commit is contained in:
parent
429ea08202
commit
5bea86e47b
23
src/iwd.conf
Normal file
23
src/iwd.conf
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<!-- This configuration file specifies the required security policies
|
||||||
|
for iNet Wireless Daemon to work. -->
|
||||||
|
|
||||||
|
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||||
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||||
|
<busconfig>
|
||||||
|
|
||||||
|
<!-- ../system.conf have denied everything, so we just punch some holes -->
|
||||||
|
|
||||||
|
<policy user="root">
|
||||||
|
<allow own="net.connman.iwd"/>
|
||||||
|
<allow send_destination="net.connman.iwd"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
<policy at_console="true">
|
||||||
|
<allow send_destination="net.connman.iwd"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
<policy context="default">
|
||||||
|
<deny send_destination="net.connman.iwd"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
</busconfig>
|
Loading…
Reference in New Issue
Block a user