aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/cameraserver.te
blob: 7db63bf001e3f8e801166b4f4f96b123b2015c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 };