From 1a4cd82bc8a411c9c438fa31bafa6b976a05b373 Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Fri, 24 Jun 2022 13:54:24 +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 files Change-Id: Ia2a274ec3424bfeec25ae24e762f8ad41cb7ae86 --- whitechapel/vendor/google/genfs_contexts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/whitechapel/vendor/google/genfs_contexts b/whitechapel/vendor/google/genfs_contexts index eeced333..cb84acc2 100644 --- a/whitechapel/vendor/google/genfs_contexts +++ b/whitechapel/vendor/google/genfs_contexts @@ -344,12 +344,7 @@ genfscon sysfs /devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfre genfscon sysfs /devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/min_freq u:object_r:sysfs_camera:s0 # thermal sysfs files -genfscon sysfs /module/gs101_thermal/parameters/tmu_reg_dump_state u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs101_thermal/parameters/tmu_reg_dump_current_temp u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs101_thermal/parameters/tmu_top_reg_dump_rise_thres u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs101_thermal/parameters/tmu_top_reg_dump_fall_thres u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs101_thermal/parameters/tmu_sub_reg_dump_rise_thres u:object_r:sysfs_thermal:s0 -genfscon sysfs /module/gs101_thermal/parameters/tmu_sub_reg_dump_fall_thres u:object_r:sysfs_thermal:s0 +genfscon sysfs /module/gs101_thermal/parameters u:object_r:sysfs_thermal:s0 # USB-C throttling stats genfscon sysfs /devices/platform/google,usbc_port_cooling_dev/cleared_time u:object_r:sysfs_usbc_throttling_stats:s0