From 59f0d0f4c6793f51b473fdd51f32d2d3823da601 Mon Sep 17 00:00:00 2001 From: Vachounet Date: Tue, 25 Apr 2017 18:44:44 +0200 Subject: [PATCH] potter: update policies --- sepolicy/config_bluetooth.te | 3 +++ sepolicy/file_contexts | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 sepolicy/config_bluetooth.te diff --git a/sepolicy/config_bluetooth.te b/sepolicy/config_bluetooth.te new file mode 100644 index 0000000..8c2e3c8 --- /dev/null +++ b/sepolicy/config_bluetooth.te @@ -0,0 +1,3 @@ +type config_bluetooth, domain, domain_deprecated; +type config_bluetooth_exec, exec_type, file_type; +init_daemon_domain(config_bluetooth) diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 4b56d86..342e2a8 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -7,9 +7,11 @@ # Binaries /system/bin/adspd u:object_r:adspd_exec:s0 +/system/bin/hci_qcomm_init u:object_r:config_bluetooth_exec:s0 /system/bin/init\.mmi\.boot\.sh u:object_r:mmi_boot_exec:s0 /system/bin/init\.mmi\.laser\.sh u:object_r:mmi_laser_exec:s0 /system/bin/init\.mmi\.touch\.sh u:object_r:mmi_touch_sh_exec:s0 +/system/bin/init\.oem\.hw\.sh u:object_r:oem-hw-sh_exec:s0 /system/bin/motosh u:object_r:sensor_hub_exec:s0 /system/bin/akmd09912 u:object_r:akmd_exec:s0 /system/bin/fm_qsoc_patches u:object_r:fm_qsoc_patches_exec:s0