commit | 1afa122215fe4fd6e07e3bacd13d4ff69c7353f9 | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Thu Aug 10 00:29:10 2023 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu Aug 10 00:29:10 2023 +0000 |
tree | bfa5a3cdfd93509866590308c94be348172c7c61 | |
parent | 3334b5e659ad6058e657790dc52945e95e0b2ca3 [diff] |
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
diff --git a/turbo_adapter/seapp_contexts b/turbo_adapter/private/seapp_contexts similarity index 100% rename from turbo_adapter/seapp_contexts rename to turbo_adapter/private/seapp_contexts
diff --git a/turbo_adapter/turbo_adapter.te b/turbo_adapter/private/turbo_adapter.te similarity index 93% rename from turbo_adapter/turbo_adapter.te rename to 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;