15 lines
587 B
Text
15 lines
587 B
Text
type google_camera_app, domain, coredomain;
|
|
app_domain(google_camera_app)
|
|
|
|
# Allows camera app to access the GXP device.
|
|
allow google_camera_app gxp_device:chr_file rw_file_perms;
|
|
|
|
# Allows camera app to access the PowerHAL.
|
|
hal_client_domain(google_camera_app, hal_power)
|
|
|
|
# Allow camera app to access the a subset of app services.
|
|
allow google_camera_app app_api_service:service_manager find;
|
|
|
|
# Allows GCA to access the EdgeTPU device.
|
|
allow google_camera_app edgetpu_app_service:service_manager find;
|
|
allow google_camera_app edgetpu_device:chr_file { getattr read write ioctl map };
|