meta-agl: split wireplumber to run in multiple instances
[AGL/meta-agl.git] / meta-app-framework / recipes-security / security-manager / security-manager / 0001-Adapt-rules-to-AGL.patch
1 From 935e4e4e746b5ffcda80c80097dc75c2581c1a89 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Jos=C3=A9=20Bollo?= <jose.bollo@iot.bzh>
3 Date: Wed, 19 Oct 2016 13:45:54 +0200
4 Subject: [PATCH] Adapt rules to AGL
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 AGL distribution uses the repository https://github.com/01org/meta-intel-iot-security.git
10 as basis for the integration of security framework. The security framework
11 that it provides is an evolution of the security framework of tizen refited
12 to the distribution Ostro of Intel. This refit took the decision to simplify
13 the model by removing the running label "User". More can be viewed here:
14 https://github.com/01org/meta-intel-iot-security/pull/116
15
16 This commits adapt the template to the rules that are now needed
17 after this evolution.
18
19 It also integrates one other evolutions: the shared label becomes User::App-Shared instead
20 of User::App::Shared to avoid collision with application of id "Shared".
21
22 Change-Id: Ieb566b63f8c8e691b5f75e06499a3b576d042546
23 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
24 ---
25  policy/app-rules-template.smack | 8 ++++----
26  1 file changed, 4 insertions(+), 4 deletions(-)
27
28 diff --git a/policy/app-rules-template.smack b/policy/app-rules-template.smack
29 index 1311169..b4cd2e3 100644
30 --- a/policy/app-rules-template.smack
31 +++ b/policy/app-rules-template.smack
32 @@ -1,12 +1,10 @@
33 -System ~APP~ rwx
34 +System ~APP~ rwxa
35 +System ~PKG~ rwxat
36  ~APP~ System wx
37  ~APP~ System::Shared rx
38  ~APP~ System::Run rwxat
39  ~APP~ System::Log rwxa
40  ~APP~ _ l
41 -User ~APP~ rwxa
42 -User ~PKG~ rwxat
43 -~APP~ User wx
44  ~APP~ User::Home rxl
45 -~APP~ User::App::Shared rwxat
46 +~APP~ User::App-Shared rwxat
47  ~APP~ ~PKG~ rwxat
48 -- 
49 2.7.4
50