Skip to content
Snippets Groups Projects
Commit 2dc4d1cc authored by Yin-Chia Yeh's avatar Yin-Chia Yeh
Browse files

Camera: allow various FD usage for hal_camera

The camera HAL1 will need to pass/receive FD from various
related processes (app/surfaceflinger/medaiserver)

Change-Id: Ia6a6efdddc6e3e92c71211bd28a83eaf2ebd1948
parent ebbbe6dd
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,11 @@ allow hal_camera ion_device:chr_file rw_file_perms;
# Both the client and the server need to use the graphics allocator
allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use;
# Allow hal_camera to use fence FD from surface owned by application
allow hal_camera appdomain:fd use;
# Allow fd to be passed between hal_camera related processes
allow hal_camera { appdomain -isolated_app }:fd use;
allow { appdomain -isolated_app } hal_camera:fd use;
allow hal_camera surfaceflinger:fd use;
allow mediaserver hal_camera:fd use;
###
### neverallow rules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment