summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungHun Kim <yh8004.kim@samsung.com>2018-04-24 18:43:08 +0900
committerYoungHun Kim <yh8004.kim@samsung.com>2018-05-03 16:17:33 +0900
commitad95f6af6de9c28e2d5ad4623cf686ab553da427 (patch)
tree0d4834eb2bffd83bf8f9721917441900a69fb11e
parent9b94d75b4d732d41f30d34c6113002d87544c85a (diff)
downloadmurphy-ad95f6af6de9c28e2d5ad4623cf686ab553da427.tar.gz
murphy-ad95f6af6de9c28e2d5ad4623cf686ab553da427.tar.bz2
murphy-ad95f6af6de9c28e2d5ad4623cf686ab553da427.zip
Apply deny policy for default context in dbus configuration filesubmit/tizen/20180504.054911accepted/tizen/unified/20180508.071444
Change-Id: I6cbb4802b83b95d32bec9c89ca7d1d6b2e85979b
-rw-r--r--packaging/murphy.spec2
-rw-r--r--packaging/org.Murphy.conf.in10
2 files changed, 10 insertions, 2 deletions
diff --git a/packaging/murphy.spec b/packaging/murphy.spec
index b58e7c3..20a1ef2 100644
--- a/packaging/murphy.spec
+++ b/packaging/murphy.spec
@@ -29,7 +29,7 @@
Summary: Resource policy framework
Name: murphy
Version: 0.0.74
-Release: 10
+Release: 11
License: BSD-3-Clause
Group: System/Service
URL: http://01.org/murphy/
diff --git a/packaging/org.Murphy.conf.in b/packaging/org.Murphy.conf.in
index 643df47..edacf85 100644
--- a/packaging/org.Murphy.conf.in
+++ b/packaging/org.Murphy.conf.in
@@ -3,8 +3,16 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
- <policy context="default">
+ <policy user="multimedia_fw">
+ <allow receive_sender="org.Murphy"/>
+ <allow send_destination="org.Murphy"/>
+ </policy>
+ <policy group="multimedia_fw">
<allow receive_sender="org.Murphy"/>
<allow send_destination="org.Murphy"/>
</policy>
+ <policy context="default">
+ <deny receive_sender="org.Murphy"/>
+ <deny send_destination="org.Murphy"/>
+ </policy>
</busconfig>