summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-05-19 00:47:26 +0900
committerLennart Poettering <lennart@poettering.net>2014-05-19 00:47:26 +0900
commitd3152a09ac5804ec8603daee12f98cf03523cce0 (patch)
tree8403e4214039f8c431ab713e93f4fec9e7d39aec /src
parentf1721625e7145977ba705e169580f2eb0002600c (diff)
machined: make sure GetMachineAddresses() is available for unprivileged processes
Diffstat (limited to 'src')
-rw-r--r--src/machine/org.freedesktop.machine1.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/machine/org.freedesktop.machine1.conf b/src/machine/org.freedesktop.machine1.conf
index 970ccd8d69..ab349a536d 100644
--- a/src/machine/org.freedesktop.machine1.conf
+++ b/src/machine/org.freedesktop.machine1.conf
@@ -42,12 +42,20 @@
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Manager"
+ send_member="GetMachineAddresses"/>
+
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Manager"
send_member="GetMachine"/>
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Manager"
send_member="GetMachineByPID"/>
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Machine"
+ send_member="GetAddresses"/>
+
<allow receive_sender="org.freedesktop.machine1"/>
</policy>