diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-08-21 12:47:47 +0800 |
---|---|---|
committer | Chengwei Yang <chengwei.yang@intel.com> | 2013-08-21 13:12:48 +0800 |
commit | f84d14659501e1614f4587d503ef72ae80084500 (patch) | |
tree | e90e0836110d23bdf2f8ccff521159813945e2ec /com.samsung.omadsagent.conf | |
parent | 3b269607504c4ab518dab56cdaaf4270da022017 (diff) | |
download | oma-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.conf | 10 |
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> |