msm8953-common: Import sepolicy from sdm660 tree
This commit is contained in:
18
sepolicy/vendor/thermal-engine.te
vendored
Normal file
18
sepolicy/vendor/thermal-engine.te
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
typeattribute thermal-engine data_between_core_and_vendor_violators;
|
||||
|
||||
# Allow thermal-engine to read files in /sys
|
||||
r_dir_file(thermal-engine, sysfs)
|
||||
|
||||
allow thermal-engine sysfs_healthd:dir search;
|
||||
allow thermal-engine sysfs_healthd:file rw_file_perms;
|
||||
|
||||
allow thermal-engine self:capability { chown fowner };
|
||||
|
||||
get_prop(thermal-engine, moto_boot_prop)
|
||||
allow thermal-engine { proc_stat proc_loadavg }:file r_file_perms;
|
||||
|
||||
allow thermal-engine sysfs_hwmon:dir r_dir_perms;
|
||||
allow thermal-engine sysfs_hwmon:file rw_file_perms;
|
||||
allow thermal-engine sysfs_devfreq:dir r_dir_perms;
|
||||
allow thermal-engine sysfs_devfreq:file rw_file_perms;
|
||||
r_dir_file(thermal-engine sysfs_socinfo)
|
||||
Reference in New Issue
Block a user