From f131707b2a56a10217115aed4b5f44db5506a0c3 Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Thu, 23 Jun 2022 11:35:23 +0800 Subject: [PATCH] thermal: added property persist.vendor.disable.thermal.dfs.control Updated the sepolicy to access tmu register Bug: 235156080 Test: Used local build to verify security context of tmu_reg file Change-Id: I3d43a393d76e7245e48ebcf9592c7e230c58d9bd --- whitechapel_pro/genfs_contexts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/whitechapel_pro/genfs_contexts b/whitechapel_pro/genfs_contexts index fe049804..c3bb542d 100644 --- a/whitechapel_pro/genfs_contexts +++ b/whitechapel_pro/genfs_contexts @@ -377,12 +377,7 @@ genfscon sysfs /devices/platform/100b0000.G3D u:obje genfscon sysfs /devices/platform/100b0000.TPU u:object_r:sysfs_thermal:s0 genfscon sysfs /devices/platform/100b0000.AUR u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs_thermal/parameters/tmu_reg_dump_state u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs_thermal/parameters/tmu_reg_dump_current_temp u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs_thermal/parameters/tmu_top_reg_dump_rise_thres u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs_thermal/parameters/tmu_top_reg_dump_fall_thres u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs_thermal/parameters/tmu_sub_reg_dump_rise_thres u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs_thermal/parameters/tmu_sub_reg_dump_fall_thres u:object_r:sysfs_thermal:s0 +genfscon sysfs /module/gs_thermal/parameters u:object_r:sysfs_thermal:s0 genfscon sysfs /thermal_zone14/mode u:object_r:sysfs_thermal:s0