From a492311ba4fc412aa974aa1648dde4f375103209 Mon Sep 17 00:00:00 2001 From: Stephane Lee Date: Mon, 25 Apr 2022 16:24:33 -0700 Subject: [PATCH] Allow hal_thermal_default to read iio/odpm sysfs nodes Bug: 230031671 Test: There are no errors for iio or odpm nodes Change-Id: Ifb204fa7b535c001838c7008b30b6e41744a01d1 --- whitechapel_pro/hal_thermal_default.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/whitechapel_pro/hal_thermal_default.te b/whitechapel_pro/hal_thermal_default.te index 9852a767..a573a2ae 100644 --- a/whitechapel_pro/hal_thermal_default.te +++ b/whitechapel_pro/hal_thermal_default.te @@ -1,2 +1,2 @@ -allow hal_thermal_default sysfs_iio_devices:dir r_dir_perms; -allow hal_thermal_default sysfs_odpm:file r_file_perms; +r_dir_file(hal_thermal_default, sysfs_iio_devices) +r_dir_file(hal_thermal_default, sysfs_odpm)