summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2023-08-09 13:07:45 +0900
committerInseob Kim <inseob@google.com>2023-08-09 13:08:09 +0900
commit9f4865ff57be736dec9159b0eeeb78a94d1e89f6 (patch)
tree6e0b28b48502ced244a982538d807ac989c224ee
parente26abea4fea69dcc5f7bc071bf77201155987fe3 (diff)
downloadpixel-sepolicy-9f4865ff57be736dec9159b0eeeb78a94d1e89f6.tar.gz
Move turbo_adapter sepolicy to system_ext
Because TurboAdapter is installed to system_ext and labeling it with vendor sepolicy is a Treble violation. Bug: 280547417 Test: TH Change-Id: Id4c114ec3039dcfe2ceb29930d500a4d8f67778b
-rw-r--r--turbo_adapter/private/seapp_contexts (renamed from turbo_adapter/seapp_contexts)0
-rw-r--r--turbo_adapter/private/turbo_adapter.te (renamed from turbo_adapter/turbo_adapter.te)2
-rw-r--r--turbo_adapter/public/turbo_adapter.te1
3 files changed, 2 insertions, 1 deletions
diff --git a/turbo_adapter/seapp_contexts b/turbo_adapter/private/seapp_contexts
index 4f983be..4f983be 100644
--- a/turbo_adapter/seapp_contexts
+++ b/turbo_adapter/private/seapp_contexts
diff --git a/turbo_adapter/turbo_adapter.te b/turbo_adapter/private/turbo_adapter.te
index 63cb193..5eb76c1 100644
--- a/turbo_adapter/turbo_adapter.te
+++ b/turbo_adapter/private/turbo_adapter.te
@@ -2,7 +2,7 @@
# this means that TurboAdapter doesn't get the platform_app permissions any more, so we need to
# list everything that it needs here.
-type turbo_adapter, domain, coredomain, system_suspend_internal_server;
+typeattribute turbo_adapter coredomain, system_suspend_internal_server;
app_domain(turbo_adapter)
diff --git a/turbo_adapter/public/turbo_adapter.te b/turbo_adapter/public/turbo_adapter.te
new file mode 100644
index 0000000..ef2ec65
--- /dev/null
+++ b/turbo_adapter/public/turbo_adapter.te
@@ -0,0 +1 @@
+type turbo_adapter, domain;