davinci: sepolicy: Update mi_thermald property label
Change-Id: Ib0944a93ab4a43c8386de989894b3f6ee38d8088
This commit is contained in:
parent
770e1d1dd3
commit
4c5bfa0185
4
sepolicy/vendor/mi_thermald.te
vendored
4
sepolicy/vendor/mi_thermald.te
vendored
@ -1,12 +1,12 @@
|
||||
type mi_thermald, domain;
|
||||
type mi_thermald_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
type thermal_normal_prop, property_type;
|
||||
type vendor_thermal_normal_prop, property_type;
|
||||
type thermal_data_file, data_file_type, file_type;
|
||||
|
||||
init_daemon_domain(mi_thermald)
|
||||
|
||||
set_prop(mi_thermald, thermal_normal_prop)
|
||||
set_prop(mi_thermald, vendor_thermal_normal_prop)
|
||||
|
||||
allow mi_thermald thermal_data_file:dir rw_dir_perms;
|
||||
allow mi_thermald thermal_data_file:file create_file_perms;
|
||||
|
2
sepolicy/vendor/property_contexts
vendored
2
sepolicy/vendor/property_contexts
vendored
@ -25,4 +25,4 @@ persist.sensor. u:object_r:persist_sensors_prop:s0
|
||||
ro.vendor.touchfeature.type u:object_r:vendor_touchfeature_prop:s0
|
||||
|
||||
# Xiaomi thermal daemon
|
||||
sys.thermal. u:object_r:thermal_normal_prop:s0
|
||||
vendor.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
||||
|
Loading…
Reference in New Issue
Block a user