From ac74f433926b6822a9c874ad7462b4683e64349b Mon Sep 17 00:00:00 2001 From: Mike Wang Date: Thu, 7 Dec 2023 22:04:05 +0000 Subject: [PATCH] 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:f0a6fd1f09fa1c25550b0041b1b6bac27e04a9ec) Merged-In: Ic7b93397c3fd27e41f818b8aa26e1128fcc5d649 Change-Id: Ic7b93397c3fd27e41f818b8aa26e1128fcc5d649 --- vendor/google/seapp_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/google/seapp_contexts b/vendor/google/seapp_contexts index 2279b623..6a9026b2 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