Allowed GCA to access EdgeTPU for P22 devices.
This change includes the google_camera_app domain into the EdgeTPU selinux rules. With it the GCA is now able to access EdgeTPU. Bug: 221020793 Test: verified GCA to work on P22. Change-Id: I69010e2a8cca1429df402ae587b939d38e20a287
This commit is contained in:
parent
e44f3c867c
commit
172271fdbc
1 changed files with 3 additions and 0 deletions
3
edgetpu/google_camera_app.te
Normal file
3
edgetpu/google_camera_app.te
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Allows GCA to find and access the EdgeTPU.
|
||||
allow google_camera_app edgetpu_app_service:service_manager find;
|
||||
allow google_camera_app edgetpu_device:chr_file { getattr read write ioctl map };
|
Loading…
Add table
Add a link
Reference in a new issue