Merge "Allow hal_thermal_default to read iio/odpm sysfs nodes" into udc-dev

This commit is contained in:
TreeHugger Robot 2023-03-03 12:01:40 +00:00 committed by Android (Google) Code Review
commit 4eab0326df
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)