- Add selinux policies to allow edgetpu_app_service to access gxp device. Bug: 316262348 Test: Disable selinux policies for GCA, then verify if GCA is able to access device through edgetpu app service. Change-Id: I83429755b1406289c8714d9499c1f14c1ec76a30
7 lines
299 B
Plaintext
7 lines
299 B
Plaintext
# Allow Edgetpu App Service to access the GXP device and read GXP properties.
|
|
allow edgetpu_app_server gxp_device:chr_file rw_file_perms;
|
|
get_prop(edgetpu_app_server, vendor_gxp_prop)
|
|
|
|
# Allows Edgetpu App Service to search for GXP firmware file.
|
|
allow edgetpu_app_server vendor_fw_file:dir search;
|