gts3l-common: camera: Add more hal_camera_default and cameraserver policies

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5c2bc9b33a1424d1de81251cd3df06b521a8c530
This commit is contained in:
Deokgyu Yang 2021-08-22 01:11:12 +09:00
parent b92d84966f
commit 83d2900ad1
2 changed files with 18 additions and 2 deletions

View file

@ -1 +1,13 @@
allow cameraserver csc_prop:file { getattr open read };
allow cameraserver hal_perf_default:binder call;
allow cameraserver hal_perf_hwservice:hwservice_manager find;
allow cameraserver mm-qcamerad:unix_dgram_socket sendto;
allow cameraserver sec_camera_prop:file { getattr open read };
allow cameraserver sec_camera_prop:property_service set;
allow cameraserver sysfs_camera_writable:dir search;
allow cameraserver sysfs_camera_writable:file { getattr open read };
allow cameraserver sysfs:file { getattr open read write };

View file

@ -1,6 +1,10 @@
allow hal_camera_default camera_data_file:sock_file write;
allow hal_camera_default csc_prop:file { getattr open read };
allow hal_camera_default sec_camera_prop:file { getattr open read };
allow hal_camera_default sec_camera_prop:property_service set;
allow hal_camera_default sysfs_camera_writable:dir search;
allow hal_camera_default sysfs_camera_writable:file { getattr open read };
allow hal_camera_default sec_camera_prop:file { getattr open read };
allow hal_camera_default sysfs:file { getattr open read write };