From 96bac14cb1964fd27f7224050b7e4cb2adc15d70 Mon Sep 17 00:00:00 2001 From: Mike Wang Date: Wed, 8 Nov 2023 03:38:09 +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 Test: Tested with both dev key or platform key signed MDS apps and the selinux rules works. Change-Id: I375f57537a81514d3a6230ca042a4407accd6c15 --- radio/seapp_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/radio/seapp_contexts b/radio/seapp_contexts index 6d0de367..9caa3947 100644 --- a/radio/seapp_contexts +++ b/radio/seapp_contexts @@ -6,6 +6,7 @@ user=_app seinfo=platform name=com.google.googlecbrs domain=cbrs_setup_app type= # 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 # grilservice user=_app isPrivApp=true name=com.google.android.grilservice domain=grilservice_app levelFrom=all