diff options
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r-- | sepolicy/thermal-engine.te | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te new file mode 100644 index 0000000..7565599 --- /dev/null +++ b/sepolicy/thermal-engine.te @@ -0,0 +1,9 @@ +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; +allow thermal-engine sysfs_usb_supply:dir search; +allow thermal-engine sysfs_usb_supply:file r_file_perms; +allow thermal-engine diag_device:chr_file { read write }; +allow thermal-engine diag_device:chr_file open; +allow thermal-engine diag_device:chr_file ioctl; |