Add selinux permissions for NFC/eSIM fw upgrade
Bug: 183709811 Test: Confirm no selinux permissions errors. Change-Id: Ibd98558a2446567d4beb1f6b88acafc05c3c1951
This commit is contained in:
parent
ce42ee4660
commit
a4b253476c
3 changed files with 24 additions and 1 deletions
3
tracking_denials/ofl_app.te
Normal file
3
tracking_denials/ofl_app.te
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# b/184005231
|
||||||
|
dontaudit ofl_app default_prop:file { read };
|
||||||
|
|
17
whitechapel/vendor/google/ofl_app.te
vendored
Normal file
17
whitechapel/vendor/google/ofl_app.te
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# OFLBasicAgent app
|
||||||
|
|
||||||
|
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 secure_element
|
||||||
|
typeattribute secure_element_device mlstrustedobject;
|
||||||
|
allow ofl_app secure_element_device:chr_file rw_file_perms;
|
||||||
|
')
|
3
whitechapel/vendor/google/seapp_contexts
vendored
3
whitechapel/vendor/google/seapp_contexts
vendored
|
@ -43,3 +43,6 @@ user=radio isPrivApp=true seinfo=platform name=com.google.RilConfigService domai
|
||||||
|
|
||||||
# CBRS setup app
|
# CBRS setup app
|
||||||
user=_app seinfo=platform name=com.google.googlecbrs domain=cbrs_setup_app type=app_data_file levelFrom=user
|
user=_app seinfo=platform name=com.google.googlecbrs domain=cbrs_setup_app type=app_data_file levelFrom=user
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue