summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-28 23:17:27 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-28 23:17:27 +0000
commit935b94a7ed567bb87c5ff107ec91aad63d964729 (patch)
treeb0d29b41fefbfa1b36a4f7c0b5394a274d0c15f8
parentf489290418d057274bba012922d15795445724a4 (diff)
parentcc936c8163124d93c45a1bde33d18a68f8d9d875 (diff)
downloadpixel-sepolicy-935b94a7ed567bb87c5ff107ec91aad63d964729.tar.gz
Snap for 10402374 from cc936c8163124d93c45a1bde33d18a68f8d9d875 to udc-qpr1-release
Change-Id: Iecee6dfaabc7b50fbe2f1ef1a1b01dc421c9a6a5
-rw-r--r--power-libperfmgr/hal_power_default.te3
1 files changed, 2 insertions, 1 deletions
diff --git a/power-libperfmgr/hal_power_default.te b/power-libperfmgr/hal_power_default.te
index b4d4f65..8d6a9fe 100644
--- a/power-libperfmgr/hal_power_default.te
+++ b/power-libperfmgr/hal_power_default.te
@@ -28,11 +28,12 @@ allow hal_power_default proc_stat:file r_file_perms;
allow hal_power_default proc_vendor_sched:dir r_dir_perms;
allow hal_power_default proc_vendor_sched:file r_file_perms;
-# Allow read/write thermal sysfs
+# Allow read/write thermal sysfs and property
allow hal_power_default thermal_link_device:dir r_dir_perms;
allow hal_power_default sysfs_thermal:dir r_dir_perms;
allow hal_power_default sysfs_thermal:file rw_file_perms;
allow hal_power_default sysfs_thermal:lnk_file r_file_perms;
+set_prop(hal_power_default, vendor_thermal_prop)
userdebug_or_eng(`
# Allow reading /data/vendor/* for debugging