Restrict signal policy 38/213138/4 accepted/tizen/unified/20190902.055150 submit/tizen/20190902.014312
authorBaumann <a.baumann@samsung.com>
Fri, 30 Aug 2019 13:50:30 +0000 (15:50 +0200)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 2 Sep 2019 01:39:03 +0000 (01:39 +0000)
Change-Id: I2864bd37fe36e58207d04ffd23ea1de22fd59556
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
conf/org.tizen.system.deviced.conf

index 53535a8..0fa137a 100644 (file)
@@ -4,6 +4,15 @@
     <policy user="root">
         <allow own="org.tizen.system.deviced"/>
         <allow send_destination="org.tizen.system.deviced"/>
+        <allow send_type="signal"
+            send_path="/Org/Tizen/System/DeviceD/Display"
+            send_interface="org.tizen.system.deviced.display"/>
+        <allow send_type="signal"
+            send_path="/Org/Tizen/System/DeviceD/Time"
+            send_interface="org.tizen.system.deviced.Time"/>
+        <allow send_type="signal"
+            send_path="/Org/Tizen/System/DeviceD/Battery"
+            send_interface="org.tizen.system.deviced.Battery"/>
     </policy>
 
     <policy user="system_fw">
         <allow send_destination="org.tizen.system.deviced" send_interface="org.tizen.system.deviced.PmQos"/>
         <allow send_destination="org.tizen.system.deviced" send_interface="org.tizen.system.deviced.temperature"/>
         <allow send_destination="org.tizen.system.deviced" send_interface="org.tizen.system.deviced.Board"/>
+
+       <deny send_type="signal"
+            send_path="/Org/Tizen/System/DeviceD/Display"
+            send_interface="org.tizen.system.deviced.display"/>
+        <deny send_type="signal"
+            send_path="/Org/Tizen/System/DeviceD/Time"
+            send_interface="org.tizen.system.deviced.Time"/>
+        <deny send_type="signal"
+            send_path="/Org/Tizen/System/DeviceD/Battery"
+            send_interface="org.tizen.system.deviced.Battery"/>
     </policy>
 </busconfig>