summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Wang <mikeyuewang@google.com>2023-11-09 07:17:07 +0000
committerMike Wang <mikeyuewang@google.com>2023-11-09 07:17:07 +0000
commita6c7f726b55b5640c6726af2168a1fed829ba50d (patch)
tree309d4b67aef5ee4dff44c94216b629d21449af5e
parentf237b33c72cd025867cb822d547aeb4019400576 (diff)
downloadgs101-sepolicy-a6c7f726b55b5640c6726af2168a1fed829ba50d.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 Test: Tested with both dev key or platform key signed MDS apps and the selinux rules works. Change-Id: If890f7caaac33e5ddc6c02cc8084654a10cea416
-rw-r--r--whitechapel/vendor/google/seapp_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/whitechapel/vendor/google/seapp_contexts b/whitechapel/vendor/google/seapp_contexts
index 7711c44..f2c53eb 100644
--- a/whitechapel/vendor/google/seapp_contexts
+++ b/whitechapel/vendor/google/seapp_contexts
@@ -29,6 +29,7 @@ user=_app isPrivApp=true seinfo=platform name=com.android.omadm.service domain=o
# Modem Diagnostic System
user=_app isPrivApp=true seinfo=mds name=com.google.mds domain=modem_diagnostic_app type=app_data_file levelFrom=user
+user=_app isPrivApp=true seinfo=platform name=com.google.mds domain=modem_diagnostic_app type=app_data_file levelFrom=user
# RIL Config Service
user=radio isPrivApp=true seinfo=platform name=com.google.RilConfigService domain=ril_config_service_app type=app_data_file