From 15f80f57bfaea35e44ed96eb14c37395037e7bd3 Mon Sep 17 00:00:00 2001 From: Siddharth Kapoor Date: Thu, 7 Apr 2022 03:29:56 +0000 Subject: [PATCH] Revert "Move ODPM file rule to pixel sepolicy" Revert "Move ODPM file rule to pixel sepolicy" Revert "Move ODPM file rule to pixel sepolicy" Revert submission 17215583-odpm_sepolicy_refactor-tm-dev Reason for revert: build failure tracked in b/228261711 Reverted Changes: Ic9a89950a:Move ODPM file rule to pixel sepolicy I24105669b:Move ODPM file rule to pixel sepolicy I044a285ff:Move ODPM file rule to pixel sepolicy Change-Id: Idbf5cd106f229c8a72b2ecbc6e5ffd20d9e06805 --- whitechapel_pro/file.te | 1 + whitechapel_pro/hal_power_stats_default.te | 1 + whitechapel_pro/hal_thermal_default.te | 1 + 3 files changed, 3 insertions(+) diff --git a/whitechapel_pro/file.te b/whitechapel_pro/file.te index 3d894e3d..fd6761d3 100644 --- a/whitechapel_pro/file.te +++ b/whitechapel_pro/file.te @@ -42,6 +42,7 @@ type sysfs_wlc, sysfs_type, fs_type; type sysfs_chargelevel, sysfs_type, fs_type; type sysfs_mfc, sysfs_type, fs_type; type sysfs_cpu, sysfs_type, fs_type; +type sysfs_odpm, sysfs_type, fs_type; type sysfs_soc, sysfs_type, fs_type; type sysfs_camera, sysfs_type, fs_type; type sysfs_write_leds, sysfs_type, fs_type; diff --git a/whitechapel_pro/hal_power_stats_default.te b/whitechapel_pro/hal_power_stats_default.te index 3365228b..4451f88a 100644 --- a/whitechapel_pro/hal_power_stats_default.te +++ b/whitechapel_pro/hal_power_stats_default.te @@ -8,6 +8,7 @@ r_dir_file(hal_power_stats_default, sysfs_cpu) r_dir_file(hal_power_stats_default, sysfs_edgetpu) r_dir_file(hal_power_stats_default, sysfs_iio_devices) r_dir_file(hal_power_stats_default, sysfs_leds) +r_dir_file(hal_power_stats_default, sysfs_odpm) r_dir_file(hal_power_stats_default, sysfs_scsi_devices_0000) r_dir_file(hal_power_stats_default, sysfs_wifi) diff --git a/whitechapel_pro/hal_thermal_default.te b/whitechapel_pro/hal_thermal_default.te index 5e597c7c..9852a767 100644 --- a/whitechapel_pro/hal_thermal_default.te +++ b/whitechapel_pro/hal_thermal_default.te @@ -1 +1,2 @@ allow hal_thermal_default sysfs_iio_devices:dir r_dir_perms; +allow hal_thermal_default sysfs_odpm:file r_file_perms;