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
This commit is contained in:
parent
f237b33c72
commit
a6c7f726b5
1 changed files with 1 additions and 0 deletions
1
whitechapel/vendor/google/seapp_contexts
vendored
1
whitechapel/vendor/google/seapp_contexts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue