hikey960: Allow powerHAL to access tunables in /sys/class/devfreq
Bug: 77971261
Test: Manual
Change-Id: I78c9ad66fc5fac1151c436e3bd055c1d4779b68e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index c5edebb..85c43d2 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -19,3 +19,6 @@
# /data
/data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0
+
+/sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq/min_freq u:object_r:sysfs_power:s0
+/sys/devices/platform/e82c0000.mali/devfreq/e82c0000.mali/min_freq u:object_r:sysfs_power:s0