summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbus/dnsmasq.conf12
1 files changed, 10 insertions, 2 deletions
diff --git a/dbus/dnsmasq.conf b/dbus/dnsmasq.conf
index a14f363..222867c 100644
--- a/dbus/dnsmasq.conf
+++ b/dbus/dnsmasq.conf
@@ -7,8 +7,16 @@
<allow send_destination="uk.org.thekelleys.dnsmasq"/>
</policy>
<policy context="default">
- <allow own="uk.org.thekelleys.dnsmasq"/>
- <allow send_destination="uk.org.thekelleys.dnsmasq"/>
+ <check send_destination="uk.org.thekelleys.dnsmasq"
+ send_interface="uk.org.thekelleys.dnsmasq" send_member="SetServers"
+ privilege="http://tizen.org/privilege/network.set"/>
+
+ <check send_destination="uk.org.thekelleys.dnsmasq"
+ send_interface="uk.org.thekelleys.dnsmasq" send_member="ClearCache"
+ privilege="http://tizen.org/privilege/network.set"/>
+
+ <allow send_destination="uk.org.thekelleys.dnsmasq"
+ send_interface="uk.org.thekelleys.dnsmasq" send_member="GetVersion"/>
</policy>
</busconfig>