Revert "Move ODPM file rule to pixel sepolicy" am: 15f80f57bf am: 23c89da785

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17609199

Change-Id: I4f4636065496d6d015266b420e59da6f19009e0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Siddharth Kapoor 2022-04-07 04:46:05 +00:00 committed by Automerger Merge Worker
commit 4e2778858c
3 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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)

View file

@ -1 +1,2 @@
allow hal_thermal_default sysfs_iio_devices:dir r_dir_perms;
allow hal_thermal_default sysfs_odpm:file r_file_perms;