summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2023-08-10 00:29:10 +0000
committerAndroid Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-08-10 00:29:10 +0000
commit1afa122215fe4fd6e07e3bacd13d4ff69c7353f9 (patch)
treebfa5a3cdfd93509866590308c94be348172c7c61
parent3334b5e659ad6058e657790dc52945e95e0b2ca3 (diff)
downloadpixel-sepolicy-1afa122215fe4fd6e07e3bacd13d4ff69c7353f9.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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9f4865ff57be736dec9159b0eeeb78a94d1e89f6) Merged-In: Id4c114ec3039dcfe2ceb29930d500a4d8f67778b 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;