summaryrefslogtreecommitdiff
path: root/com.samsung.omadsagent.conf
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-08-21 12:47:47 +0800
committerChengwei Yang <chengwei.yang@intel.com>2013-08-21 13:12:48 +0800
commitf84d14659501e1614f4587d503ef72ae80084500 (patch)
treee90e0836110d23bdf2f8ccff521159813945e2ec /com.samsung.omadsagent.conf
parent3b269607504c4ab518dab56cdaaf4270da022017 (diff)
downloadoma-ds-agent-f84d14659501e1614f4587d503ef72ae80084500.tar.gz
oma-ds-agent-f84d14659501e1614f4587d503ef72ae80084500.tar.bz2
oma-ds-agent-f84d14659501e1614f4587d503ef72ae80084500.zip
Add dbus policy conf
By default, dbus will reject own bus name request, this patch add a dbus policy conf to make it's allowed to own the bus name and request send to it. Bug: https://bugs.tizen.org/jira/browse/TDIST-268 Change-Id: If2a831778175cb5feab8ed63295df76326e16cd3 Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Diffstat (limited to 'com.samsung.omadsagent.conf')
-rw-r--r--com.samsung.omadsagent.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/com.samsung.omadsagent.conf b/com.samsung.omadsagent.conf
new file mode 100644
index 0000000..ae996fa
--- /dev/null
+++ b/com.samsung.omadsagent.conf
@@ -0,0 +1,10 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy user="root">
+ <allow own="com.samsung.omadsagent"/>
+ </policy>
+ <policy context="default">
+ <allow send_destination="com.samsung.omadsagent"/>
+ </policy>
+</busconfig>