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: I375f57537a81514d3a6230ca042a4407accd6c15
This commit is contained in:
Mike Wang 2023-11-08 03:38:09 +00:00
parent d76fa68860
commit 96bac14cb1

View file

@ -6,6 +6,7 @@ user=_app seinfo=platform name=com.google.googlecbrs domain=cbrs_setup_app type=
# Modem Diagnostic System # 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=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
# grilservice # grilservice
user=_app isPrivApp=true name=com.google.android.grilservice domain=grilservice_app levelFrom=all user=_app isPrivApp=true name=com.google.android.grilservice domain=grilservice_app levelFrom=all