Allowed EdgeTPU compilation services (tflite and nnapi) to access am: 643e5a7123
am: 66aac3e71f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15004632 Change-Id: Ia5c85b77e9dc6a4458c1e2f79b590f556c95569d
This commit is contained in:
commit
a46c57c1b2
2 changed files with 6 additions and 0 deletions
|
@ -26,3 +26,6 @@ allow edgetpu_vendor_server hal_camera_default:fd use;
|
|||
# Allow EdgeTPU vendor service to read the kernel version.
|
||||
# This is done inside the InitGoogle.
|
||||
allow edgetpu_vendor_server proc_version:file r_file_perms;
|
||||
|
||||
# Allow EdgeTPU vendor service to read the overcommit_memory info.
|
||||
allow edgetpu_vendor_server proc_overcommit_memory:file r_file_perms;
|
||||
|
|
|
@ -33,3 +33,6 @@ binder_use(hal_neuralnetworks_darwinn)
|
|||
|
||||
# TPU NNAPI to register the service to service_manager.
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue