chiark / gitweb /
machined: make sure GetMachineAddresses() is available for unprivileged processes
authorLennart Poettering <lennart@poettering.net>
Sun, 18 May 2014 15:47:26 +0000 (00:47 +0900)
committerLennart Poettering <lennart@poettering.net>
Sun, 18 May 2014 15:47:26 +0000 (00:47 +0900)
src/machine/org.freedesktop.machine1.conf

index 970ccd8..ab349a5 100644 (file)
 
                 <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>