From 4c9dac421a22f60255cb5f4bbc567f589f74de82 Mon Sep 17 00:00:00 2001 From: Max Weffers Date: Fri, 16 Aug 2019 08:30:13 +0200 Subject: [PATCH] sdm660-common: sepolicy: Grant XiaomiParts access to thermal file Signed-off-by: pix106 --- sepolicy/vendor/system_app.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/vendor/system_app.te b/sepolicy/vendor/system_app.te index fcb9b318..170c1f87 100644 --- a/sepolicy/vendor/system_app.te +++ b/sepolicy/vendor/system_app.te @@ -19,6 +19,8 @@ allow system_app sysfs_earpiecegain:file rw_file_perms; allow system_app sysfs_zram:dir search; allow system_app sysfs_zram:file r_file_perms; allow system_app zygote:unix_stream_socket { getopt }; +allow system_app sysfs_thermal:file rw_file_perms; +allow system_app sysfs_thermal:dir search; # neverallow and harmless dontaudit system_app time_daemon:unix_stream_socket { connectto };