android_device_xiaomi_sdm66.../sepolicy/vendor/thermal-engine.te
PIPIPIG233666 9c6a56cef6
sdm660-common: Address thermal-engine denials
Change-Id: I7d824f1066638ec6e73ae80093737b380436ba80
2020-01-06 21:06:22 +01:00

12 lines
498 B
Text

allow thermal-engine thermal_data_file:dir rw_dir_perms;
allow thermal-engine thermal_data_file:file create_file_perms;
allow thermal-engine self:capability { chown fowner };
allow thermal-engine property_socket:sock_file write;
dontaudit thermal-engine self:capability dac_override;
set_prop(thermal-engine, thermal_engine_prop);
r_dir_file(thermal-engine sysfs_devfreq)
r_dir_file(thermal-engine sysfs_graphics)
r_dir_file(thermal-engine sysfs_thermal)
dontaudit thermal-engine sysfs:dir read;