Merge "Add sepolicy for radio sap 1.2"

This commit is contained in:
Treehugger Robot 2018-04-16 23:08:50 +00:00 committed by Gerrit Code Review
commit e96766dc42
2 changed files with 8 additions and 0 deletions

View file

@ -31,6 +31,8 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.media\.omx@1\.0-service u:object_r:mediacodec_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.radio\.config@1\.0-service u:object_r:hal_radio_config_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.2-radio-service u:object_r:hal_radio_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.2-sap-service u:object_r:hal_radio_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service u:object_r:hal_secure_element_default_exec:s0
/(vendor|system/vendor)/bin/hw/rild u:object_r:rild_exec:s0

6
vendor/hal_radio_default.te vendored Normal file
View file

@ -0,0 +1,6 @@
type hal_radio_default, domain;
hal_server_domain(hal_radio_default, hal_telephony)
type hal_radio_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_radio_default)