39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
|
From d3152a09ac5804ec8603daee12f98cf03523cce0 Mon Sep 17 00:00:00 2001
|
||
|
From: Lennart Poettering <lennart@poettering.net>
|
||
|
Date: Mon, 19 May 2014 00:47:26 +0900
|
||
|
Subject: [PATCH] machined: make sure GetMachineAddresses() is available for
|
||
|
unprivileged processes
|
||
|
|
||
|
---
|
||
|
src/machine/org.freedesktop.machine1.conf | 8 ++++++++
|
||
|
1 file changed, 8 insertions(+)
|
||
|
|
||
|
diff --git src/machine/org.freedesktop.machine1.conf src/machine/org.freedesktop.machine1.conf
|
||
|
index 970ccd8..ab349a5 100644
|
||
|
--- src/machine/org.freedesktop.machine1.conf
|
||
|
+++ 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>
|
||
|
|
||
|
--
|
||
|
1.7.9.2
|
||
|
|