From 213dbe2a394623d6ed7a6ffdda473a42f89aeb87 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Tue, 25 Jan 2022 14:55:35 +0800 Subject: [PATCH] Add sepolicy for thermalHAL power link feature Bug: 204522993 Test: thermalHAL can read ODPM data under enforcing mode Change-Id: I58ad63003a68421b25b65fe5c43fa2c3a50696c4 --- whitechapel_pro/hal_thermal_default.te | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 whitechapel_pro/hal_thermal_default.te diff --git a/whitechapel_pro/hal_thermal_default.te b/whitechapel_pro/hal_thermal_default.te new file mode 100644 index 00000000..9852a767 --- /dev/null +++ b/whitechapel_pro/hal_thermal_default.te @@ -0,0 +1,2 @@ +allow hal_thermal_default sysfs_iio_devices:dir r_dir_perms; +allow hal_thermal_default sysfs_odpm:file r_file_perms;