1# ============================================== 2# MTK Policy Rule 3# ============================================== 4 5# Date : 2017/08/01 6# Operation: SQC 7# Purpose : Allow Whatstemp, a MTK thermal logging tool, to log thermal related information 8# properly for thermal tests at OEM/ODM. 9allow untrusted_app_25 proc_mtktz:dir search; 10allow untrusted_app_25 proc_mtktz:file r_file_perms; 11allow untrusted_app_25 proc_thermal:dir search; 12allow untrusted_app_25 proc_thermal:file r_file_perms; 13 14allow untrusted_app_25 sysfs_fps:dir search; 15allow untrusted_app_25 sysfs_fps:file r_file_perms; 16allow untrusted_app_25 sysfs_batteryinfo:dir search; 17#allow untrusted_app_25 sysfs_batteryinfo:file { getattr open read }; 18allow untrusted_app_25 sysfs_therm:dir r_dir_perms; 19allow untrusted_app_25 sysfs_therm:file r_file_perms; 20