aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/thermal-engine.te
diff options
context:
space:
mode:
authordiegocr <diegocr@gmail.com>2017-03-19 01:07:43 +0100
committerdavidevinavil <davidevinavil@gmail.com>2017-04-07 13:32:16 +0200
commit213d1db0f4d2acb5425bdb2ea673b42e39c5e022 (patch)
treee4c7e9d1299665dc1fceed243778f8092502801a /sepolicy/thermal-engine.te
parentcd4a323bb4906eec758d0106da959f2f728cfc2d (diff)
sepolicy: Fix some denials
Change-Id: I7d79eadee41a637d26c8b29a73d733d64b68d822
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r--sepolicy/thermal-engine.te4
1 files changed, 3 insertions, 1 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te
index a101e5f..7565599 100644
--- a/sepolicy/thermal-engine.te
+++ b/sepolicy/thermal-engine.te
@@ -1,7 +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;