From d6d0daa2fa227986c5efdb6d93260ff80eabf373 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Thu, 7 Nov 2024 18:34:24 +0000 Subject: [PATCH] thermal: update sepolicy for thermal powercap framework Bug: 381132895 Test: check no selinux denied log Flag: EXEMPT sepolicy change Change-Id: Id6578c3f3eefdc6dc09fe0d7b469da7c8877d9d2 --- thermal/sepolicy/thermal_hal/genfs_contexts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thermal/sepolicy/thermal_hal/genfs_contexts b/thermal/sepolicy/thermal_hal/genfs_contexts index 3000fa0..699d0ca 100644 --- a/thermal/sepolicy/thermal_hal/genfs_contexts +++ b/thermal/sepolicy/thermal_hal/genfs_contexts @@ -1,3 +1,5 @@ genfscon sysfs /devices/virtual/thermal u:object_r:sysfs_thermal:s0 +genfscon sysfs /devices/virtual/powercap u:object_r:sysfs_thermal:s0 genfscon sysfs /class/thermal u:object_r:sysfs_thermal:s0 +genfscon sysfs /class/powercap u:object_r:sysfs_thermal:s0 genfscon debugfs /gs101-thermal u:object_r:debugfs_thermal:s0