Merge "Allow HAL to access sysfs." into sc-dev

This commit is contained in:
TreeHugger Robot 2021-07-19 18:22:13 +00:00 committed by Android (Google) Code Review
commit fc321aabe2

View file

@ -39,3 +39,7 @@ add_service(hal_neuralnetworks_darwinn, edgetpu_nnapi_service);
# Allow TPU NNAPI HAL to read the overcommit_memory info.
allow hal_neuralnetworks_darwinn proc_overcommit_memory:file r_file_perms;
# Allows the logging service to access /sys/class/edgetpu
allow hal_neuralnetworks_darwinn sysfs_edgetpu:dir r_dir_perms;
allow hal_neuralnetworks_darwinn sysfs_edgetpu:file r_file_perms;