1allow cameraserver system_server:unix_stream_socket { read write };
2
3# sensor manager based camera/video stabilization
4allow cameraserver sensorservice_service:service_manager find;
5allow cameraserver power_service:service_manager find;
6
7# gpu access
8allow cameraserver device:dir r_dir_perms;
9allow cameraserver gpu_device:chr_file rw_file_perms;
10allow cameraserver host1x_device:chr_file rw_file_perms;
11
12# /sys and /proc access
13allow cameraserver { proc proc_meminfo }:{ file lnk_file } r_file_perms;
14r_dir_file(cameraserver, sysfs)
15
16allow cameraserver system_file:dir r_dir_perms;
17allow cameraserver tmpfs:dir search;
18