summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Wang <mikeyuewang@google.com>2023-12-07 22:00:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-08 21:20:30 +0000
commit31702639ffbb917bddc75c88f7555a7494fdb39c (patch)
tree72446231ba3d660135b06a03fb197c0373a15316
parent6297c3b0b278647cfda0a931d02ccba236ad15b9 (diff)
downloadredbull-sepolicy-31702639ffbb917bddc75c88f7555a7494fdb39c.tar.gz
Change the MDS to platform app in selinux ap context.
The MDS will be signed with platform key and become a platform app. To make the selinux rules for modem_diagnostic_app work, need to set it to platform app in app context. Bug: 287683516 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e9bec474549d16fe64919df1f6260c4c2c22a36a) Merged-In: I7a4ca18f7bd54ffe26bc0dca1e0cf06f89d37ce6 Change-Id: I7a4ca18f7bd54ffe26bc0dca1e0cf06f89d37ce6
-rw-r--r--vendor/google/seapp_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/google/seapp_contexts b/vendor/google/seapp_contexts
index 680d4e6..71f4cb5 100644
--- a/vendor/google/seapp_contexts
+++ b/vendor/google/seapp_contexts
@@ -7,6 +7,7 @@ user=_app isPrivApp=true name=com.google.android.grilservice domain=grilservice_
# Domain for Modem Diagnostic System
user=_app seinfo=mds name=com.google.mds domain=modem_diagnostic_app type=app_data_file levelFrom=user
+user=_app seinfo=platform name=com.google.mds domain=modem_diagnostic_app type=app_data_file levelFrom=user
# Domain for GoogleCBRS app
user=_app seinfo=platform name=com.google.googlecbrs domain=cbrs_setup_app type=app_data_file levelFrom=user