aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/cameraserver_new.te
blob: 82196f2160c4a02543e2a0b0cc1b5447a66c02e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
allow mm-qcamerad camera_data_file:sock_file rw_file_perms;
allow mm-qcamerad camera_data_file:unix_dgram_socket sendto;
allow mm-qcamerad camera_data_file:unix_stream_socket connectto;
allow mm-qcamerad system_prop:property_service set;

allow cameraserver camera_data_file:unix_dgram_socket sendto;
allow cameraserver camera_data_file:unix_stream_socket connectto;

allow cameraserver ion_device:chr_file { ioctl open read };

#============= cameraserver ==============
allow cameraserver camera_device:chr_file { ioctl open read write };
allow cameraserver mm-qcamerad:unix_stream_socket connectto;
allow cameraserver credmgrd:unix_stream_socket connectto;
allow cameraserver credmgrd_socket:sock_file write;