Merge "Allow hal_thermal_default to read iio/odpm sysfs nodes" into udc-dev am: 4eab0326df

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

Change-Id: I9f39b65bc479a4fc0541404062330137a9fcb63c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot 2023-03-03 19:22:05 +00:00 committed by Automerger Merge Worker
commit 8e2035cc18
2 changed files with 3 additions and 13 deletions

View file

@ -1,16 +1,4 @@
# b/260366399
dontaudit hal_thermal_default sysfs:file { getattr };
dontaudit hal_thermal_default sysfs:file { open };
dontaudit hal_thermal_default sysfs:file { read };
# b/261651187
dontaudit hal_thermal_default sysfs_iio_devices:dir { open };
dontaudit hal_thermal_default sysfs_iio_devices:dir { read };
dontaudit hal_thermal_default sysfs_iio_devices:dir { search };
# b/264204525
dontaudit hal_thermal_default sysfs_odpm:file { getattr };
dontaudit hal_thermal_default sysfs_odpm:file { open };
dontaudit hal_thermal_default sysfs_odpm:file { read };
# b/264490033
userdebug_or_eng(`
permissive hal_thermal_default;
')
')

2
vendor/hal_thermal_default.te vendored Normal file
View file

@ -0,0 +1,2 @@
r_dir_file(hal_thermal_default, sysfs_iio_devices)
r_dir_file(hal_thermal_default, sysfs_odpm)