Merge "hal_sensors_default: Allow sensors HAL to access AoC properties."

This commit is contained in:
Treehugger Robot 2022-04-28 11:08:06 +00:00 committed by Gerrit Code Review
commit f939ebb650

View file

@ -49,6 +49,9 @@ allow hal_sensors_default sysfs_aoc_reset:file rw_file_perms;
# Allow sensor HAL to read AoC dumpstate. # Allow sensor HAL to read AoC dumpstate.
allow hal_sensors_default sysfs_aoc_dumpstate:file r_file_perms; allow hal_sensors_default sysfs_aoc_dumpstate:file r_file_perms;
# Allow access for AoC properties.
get_prop(hal_sensors_default, vendor_aoc_prop)
# Allow access for dynamic sensor properties. # Allow access for dynamic sensor properties.
get_prop(hal_sensors_default, vendor_dynamic_sensor_prop) get_prop(hal_sensors_default, vendor_dynamic_sensor_prop)