Merge "Allow HAL to access sysfs." into sc-dev am: fc321aabe2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15308771 Change-Id: If129d2a57a6d94ef42cc187b7d53eb5c5a536d80
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user