summaryrefslogtreecommitdiff
path: root/sepolicy/cameraserver_old
blob: 2a27807c488f3a7909ff7567d367984dbd00a55c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
allow cameraserver mm-qcamerad:unix_dgram_socket sendto;
allow cameraserver mm-qcamerad:unix_stream_socket connectto;
allow cameraserver camera_data_file:sock_file write;
allow mm-qcamerad cameraserver:unix_dgram_socket sendto;
allow mm-qcamerad cameraserver:unix_stream_socket connectto;
allow mm-qcamerad camera_data_file:sock_file rw_file_perms;
allow cameraserver gpu_device:chr_file rw_file_perms;
allow cameraserver rootfs:lnk_file getattr;
allow cameraserver sysfs_camera_torch:file rw_file_perms;
allow cameraserver sysfs_camera_torch:dir search;
allow cameraserver sysfs_camera_torch:lnk_file read;
allow cameraserver ta_data_file:dir search;
#allow cameraserver secd:unix_stream_socket connectto;
#allow cameraserver secd_socket:sock_file write;

allow cameraserver camera_data_file:unix_dgram_socket sendto;
allow cameraserver camera_data_file:unix_stream_socket connectto;
allow mm-qcamerad camera_data_file:unix_dgram_socket sendto;
allow mm-qcamerad camera_data_file:unix_stream_socket connectto;

allow mm-qcamerad ion_device:chr_file { ioctl open read };
allow cameraserver ion_device:chr_file { ioctl open read };


allow cameraserver secd_socket:unix_dgram_socket sendto;
allow cameraserver secd_socket:unix_stream_socket connectto;
allow mm-qcamerad secd_socket:unix_dgram_socket sendto;
allow mm-qcamerad secd_socket:unix_stream_socket connectto;