summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Wang <mikeyuewang@google.com>2023-12-07 22:02:37 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-08 21:20:17 +0000
commita58f608e474d79df1b512085a8d69c4f22d62e63 (patch)
tree9a2dcdc69a9e1e302078d4e801c6d33d59b5d3f6
parentf916b7f4a27a9d1d6daece06337d225dccad5944 (diff)
downloadcoral-sepolicy-a58f608e474d79df1b512085a8d69c4f22d62e63.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:8b625c816d12ae03dcebb3e05e9ad03e055d8583) Merged-In: I845c75cbb7d5f4361c32e180528a6e1ddcc5647a Change-Id: I845c75cbb7d5f4361c32e180528a6e1ddcc5647a
-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 d65c4e7..ec4f93e 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 Oslo
user=_app seinfo=platform name=com.google.oslo domain=oslo_app type=app_data_file levelFrom=all