diff options
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r-- | sepolicy/thermal-engine.te | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te index 3754b93..596fb92 100644 --- a/sepolicy/thermal-engine.te +++ b/sepolicy/thermal-engine.te @@ -1,3 +1,5 @@ -set_prop(thermal-engine, diag_prop) -allow thermal-engine sysfs_batteryinfo:file r_file_perms; +type_transition thermal-engine system_data_file:file thermal_data_file "decrypt.txt"; + allow thermal-engine sysfs_kgsl:file r_file_perms; +allow thermal-engine system_data_file:dir w_dir_perms; +allow thermal-engine thermal_data_file:file create_file_perms; |