aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsqian2018-03-29 15:59:00 -0500
committersqian2018-04-16 14:00:11 -0500
commitb951e7330db0733884ab9d51e363a7f44bbd2fc6 (patch)
tree44de0bca48214b5f542c73089ed60a1ffb534be6
parentba890071786e90500a67711fc4379f7afc02addb (diff)
downloadsystem-sepolicy-b951e7330db0733884ab9d51e363a7f44bbd2fc6.tar.gz
system-sepolicy-b951e7330db0733884ab9d51e363a7f44bbd2fc6.tar.xz
system-sepolicy-b951e7330db0733884ab9d51e363a7f44bbd2fc6.zip
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 64839e874b1ab4c94f2287827b9ac6bb351c27e2)
-rw-r--r--vendor/file_contexts2
-rw-r--r--vendor/hal_radio_default.te6
2 files changed, 8 insertions, 0 deletions
diff --git a/vendor/file_contexts b/vendor/file_contexts
index cdaf6953..90de40b5 100644
--- a/vendor/file_contexts
+++ b/vendor/file_contexts
@@ -31,6 +31,8 @@
31/(vendor|system/vendor)/bin/hw/android\.hardware\.media\.omx@1\.0-service u:object_r:mediacodec_exec:s0 31/(vendor|system/vendor)/bin/hw/android\.hardware\.media\.omx@1\.0-service u:object_r:mediacodec_exec:s0
32/(vendor|system/vendor)/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_default_exec:s0 32/(vendor|system/vendor)/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_default_exec:s0
33/(vendor|system/vendor)/bin/hw/android\.hardware\.radio\.config@1\.0-service u:object_r:hal_radio_config_default_exec:s0 33/(vendor|system/vendor)/bin/hw/android\.hardware\.radio\.config@1\.0-service u:object_r:hal_radio_config_default_exec:s0
34/(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.2-radio-service u:object_r:hal_radio_default_exec:s0
35/(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.2-sap-service u:object_r:hal_radio_default_exec:s0
34/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service u:object_r:hal_sensors_default_exec:s0 36/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service u:object_r:hal_sensors_default_exec:s0
35/(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service u:object_r:hal_secure_element_default_exec:s0 37/(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service u:object_r:hal_secure_element_default_exec:s0
36/(vendor|system/vendor)/bin/hw/rild u:object_r:rild_exec:s0 38/(vendor|system/vendor)/bin/hw/rild u:object_r:rild_exec:s0
diff --git a/vendor/hal_radio_default.te b/vendor/hal_radio_default.te
new file mode 100644
index 00000000..82fd40e9
--- /dev/null
+++ b/vendor/hal_radio_default.te
@@ -0,0 +1,6 @@
1type hal_radio_default, domain;
2hal_server_domain(hal_radio_default, hal_telephony)
3
4type hal_radio_default_exec, exec_type, vendor_file_type, file_type;
5init_daemon_domain(hal_radio_default)
6