Add missing rules for signal delivery 08/105408/1 accepted/tizen/common/20161219.151906 accepted/tizen/ivi/20161219.021933 accepted/tizen/mobile/20161219.021833 accepted/tizen/tv/20161219.021853 accepted/tizen/unified/20170309.033336 accepted/tizen/wearable/20161219.021912 submit/tizen/20161216.123946 submit/tizen_unified/20170308.100408
authorRafal Krypa <r.krypa@samsung.com>
Fri, 16 Dec 2016 11:24:00 +0000 (12:24 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Fri, 16 Dec 2016 11:24:00 +0000 (12:24 +0100)
Recent changes to kernel code and configuration changed Smack behavior
for access check on kill(). The sending process now needs "A" access
instead of "W".

Permit "System" and "System::Privileged" labeled processes to send signals
to "User" and "_" labeled processes.

Change-Id: Ie8a46fae4154f1b08ff9c2e9294cb81338f25c55
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
packaging/default-ac-domains.manifest

index afa2a34b4f92b8f370984c95895c366541eaf97d..cb786a1b583384a4d391a0483ebbd7ded0b656ca 100644 (file)
@@ -12,7 +12,7 @@
       <smack request="System::Log" type="rwxa"/>
       <smack request="User::Home" type="rwxat"/>
       <smack request="User::App::Shared" type="rwxat"/>
-      <smack request="_" type="rwx"/>
+      <smack request="_" type="rwxa"/>
     </request>
     <permit>
       <smack permit="_" type="wx"/>
@@ -28,7 +28,7 @@
       <smack request="System::Log" type="rwxa"/>
       <smack request="User::Home" type="rwxat"/>
       <smack request="User::App::Shared" type="rwxat"/>
-      <smack request="_" type="rwx"/>
+      <smack request="_" type="rwxa"/>
     </request>
     <permit>
       <smack permit="_" type="wx"/>
@@ -64,8 +64,8 @@
       <smack request="User::App::Shared" type="rwxat"/>
     </request>
     <permit>
-      <smack permit="System" type="rwx"/>
-      <smack permit="System::Privileged" type="rwx"/>
+      <smack permit="System" type="rwxa"/>
+      <smack permit="System::Privileged" type="rwxa"/>
     </permit>
   </define>
   <define>