From b0335f17e8d15f453f670ccbed5f30ef9fbf039b Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Tue, 19 Oct 2021 00:25:37 +0300 Subject: [PATCH] sm8350-common: sepolicy: let init start mi_thermald --- sepolicy/vendor/mi_thermald.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/vendor/mi_thermald.te b/sepolicy/vendor/mi_thermald.te index 1e27fe2..e530cf2 100644 --- a/sepolicy/vendor/mi_thermald.te +++ b/sepolicy/vendor/mi_thermald.te @@ -2,6 +2,8 @@ type mi_thermald, domain; type mi_thermald_exec, exec_type, vendor_file_type, file_type; type thermal_data_file, data_file_type, file_type; +init_daemon_domain(mi_thermald) + r_dir_file(mi_thermald, sysfs) r_dir_file(mi_thermald, sysfs_leds) r_dir_file(mi_thermald, sysfs_thermal)