Bus rules for tizen updated
authorPatryk Kaczmarek <patryk.k@samsung.com>
Tue, 31 Mar 2015 11:06:51 +0000 (13:06 +0200)
committerPatryk Kaczmarek <patryk.k@samsung.com>
Mon, 20 Apr 2015 10:28:59 +0000 (12:28 +0200)
bus/accessibility.conf.in
registryd/org.a11y.atspi.Registry.service.in

index 31b6a792e05df406c41d71f1e067e581e608764a..77f12f82af212a2b55fedb1097291152f914d846 100644 (file)
@@ -8,17 +8,32 @@
 
   <listen>unix:tmpdir=/tmp</listen>
 
-  <policy context="default">
+  <user>owner</user>
+
+  <policy smack="User">
     <!-- Allow root to connect -->
-    <allow user="root"/>
-    <!-- Allow everything to be sent -->
+    <allow user="owner"/>
     <allow send_destination="*" eavesdrop="true"/>
     <!-- Allow everything to be received -->
     <allow eavesdrop="true"/>
+    <!-- Allow everything to be sent -->
+    <allow send_destination="*"/>
     <!-- Allow anyone to own anything -->
     <allow own="*"/>
   </policy>
 
+  <policy context="default">
+    <allow send_destination="*" eavesdrop="true"/>
+    <!-- Allow everything to be received -->
+    <allow eavesdrop="true"/>
+    <!-- Allow root to connect -->
+    <allow user="owner"/>
+    <!-- Allow everything to be sent -->
+    <allow send_destination="*"/>
+    <!-- Allow anyone to own anything -->
+    <allow own="*"/>
+  </policy>
+  
   <limit name="max_incoming_bytes">1000000000</limit>
   <limit name="max_outgoing_bytes">1000000000</limit>
   <limit name="max_message_size">1000000000</limit>
index 556117517e6a45d6fa25ae6e9c42ba9fef6c529d..204ca2761e3963312937beac834f60cc104abf55 100644 (file)
@@ -1,3 +1,3 @@
 [D-BUS Service]
 Name=org.a11y.atspi.Registry
-Exec=@LIBEXECDIR@/at-spi2-registryd --use-gnome-session
+Exec=@LIBEXECDIR@/at-spi2-registryd