diff options
Diffstat (limited to 'vendor/google_camera_app.te')
-rw-r--r-- | vendor/google_camera_app.te | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vendor/google_camera_app.te b/vendor/google_camera_app.te index c0f13ef..c572c26 100644 --- a/vendor/google_camera_app.te +++ b/vendor/google_camera_app.te @@ -1,9 +1,10 @@ -# Allows GCA to acccess the GXP device. +# Allows GCA to acccess the GXP device & properties. allow google_camera_app gxp_device:chr_file rw_file_perms; - -# Allow GCA to access the GXP properies. get_prop(google_camera_app, vendor_gxp_prop) # 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 }; + +# Allows GCA to access the hw_jpeg /dev/video12. +allow google_camera_app hw_jpg_device:chr_file rw_file_perms; |