Add sepolicy for radio sap 1.2
Bug: 74114758
Test: Checked radio-service and sap-service is on the lshal after running the service
Change-Id: I1b18711286e000a7d17664e7d3a2045aeeb8c285
Merged-In: I1b18711286e000a7d17664e7d3a2045aeeb8c285
(cherry picked from commit 64839e874b
)
This commit is contained in:
parent
ba89007178
commit
b951e7330d
2 changed files with 8 additions and 0 deletions
2
vendor/file_contexts
vendored
2
vendor/file_contexts
vendored
|
@ -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\.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\.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\.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\.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/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
|
/(vendor|system/vendor)/bin/hw/rild u:object_r:rild_exec:s0
|
||||||
|
|
6
vendor/hal_radio_default.te
vendored
Normal file
6
vendor/hal_radio_default.te
vendored
Normal 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)
|
||||||
|
|
Loading…
Reference in a new issue