From ca74f59339dba43024eb042f2c99eb704e1c1585 Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Thu, 15 Sep 2022 19:23:21 +0530 Subject: [PATCH] sepolicy: basic: non_plat: Address vpud_native denials Change-Id: I4be2decf9e054e5313b7fcc7098f26248e708bbb --- basic/non_plat/vpud_native.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/basic/non_plat/vpud_native.te b/basic/non_plat/vpud_native.te index 312437e..51673ca 100644 --- a/basic/non_plat/vpud_native.te +++ b/basic/non_plat/vpud_native.te @@ -47,3 +47,8 @@ full_treble_only(` # add power config allow vpud_native sysfs_boot_mode:file r_file_perms; + +allow vpud_native proc_mtkcooler:dir search; +allow vpud_native proc_mtkcooler:file rw_file_perms; +allow vpud_native thermal_manager_data_file:dir w_dir_perms; +allow vpud_native thermal_manager_data_file:file create_file_perms;