mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-02-01 07:40:34 +00:00
Allow hal_thermal_default to read iio/odpm sysfs nodes
Bug: 260366399 Bug: 261651187 Bug: 264204525 Change-Id: I7358b7740f6c30bd7b05e29e931a4c11226c6253
This commit is contained in:
@@ -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
2
vendor/hal_thermal_default.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
r_dir_file(hal_thermal_default, sysfs_iio_devices)
|
||||
r_dir_file(hal_thermal_default, sysfs_odpm)
|
||||
Reference in New Issue
Block a user