Merge "Update ofl_app selinux policy"
This commit is contained in:
commit
782f4c6e6b
3 changed files with 15 additions and 5 deletions
|
@ -1,4 +0,0 @@
|
||||||
# b/264489564
|
|
||||||
userdebug_or_eng(`
|
|
||||||
permissive ofl_app;
|
|
||||||
')
|
|
14
vendor/ofl_app.te
vendored
14
vendor/ofl_app.te
vendored
|
@ -1,3 +1,17 @@
|
||||||
# OFLBasicAgent app
|
# OFLBasicAgent app
|
||||||
|
|
||||||
type ofl_app, domain;
|
type ofl_app, domain;
|
||||||
|
|
||||||
|
userdebug_or_eng(`
|
||||||
|
app_domain(ofl_app)
|
||||||
|
net_domain(ofl_app)
|
||||||
|
|
||||||
|
allow ofl_app app_api_service:service_manager find;
|
||||||
|
allow ofl_app nfc_service:service_manager find;
|
||||||
|
allow ofl_app radio_service:service_manager find;
|
||||||
|
allow ofl_app surfaceflinger_service:service_manager find;
|
||||||
|
|
||||||
|
# Access to directly update firmware on st54spi_device
|
||||||
|
typeattribute st54spi_device mlstrustedobject;
|
||||||
|
allow ofl_app st54spi_device:chr_file rw_file_perms;
|
||||||
|
')
|
2
vendor/seapp_contexts
vendored
2
vendor/seapp_contexts
vendored
|
@ -5,7 +5,7 @@ user=_app isPrivApp=true seinfo=EuiccSupportPixel name=com.google.euiccpixel dom
|
||||||
user=_app seinfo=platform name=com.android.ramdump domain=ramdump_app type=app_data_file levelFrom=all
|
user=_app seinfo=platform name=com.android.ramdump domain=ramdump_app type=app_data_file levelFrom=all
|
||||||
|
|
||||||
# Domain for OFLBasicAgentApp to support NFC/eSIM fw upgrade
|
# Domain for OFLBasicAgentApp to support NFC/eSIM fw upgrade
|
||||||
user=_app isPrivApp=true seinfo=platform name=com.thales.device.ofl.app.basicagent domain=ofl_app type=app_data_file levelFrom=user
|
user=_app isPrivApp=true seinfo=platform name=com.thales.device.ofl.app.omapi_agent domain=ofl_app type=app_data_file levelFrom=user
|
||||||
|
|
||||||
# Domain for connectivity monitor
|
# Domain for connectivity monitor
|
||||||
user=_app isPrivApp=true seinfo=platform name=com.google.android.connectivitymonitor domain=con_monitor_app type=app_data_file levelFrom=all
|
user=_app isPrivApp=true seinfo=platform name=com.google.android.connectivitymonitor domain=con_monitor_app type=app_data_file levelFrom=all
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue