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 31b6a79..77f12f8 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 5561175..204ca27 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