1# qlogd
2type qlogd, domain, mlstrustedsubject;
3type qlogd_exec, exec_type, vendor_file_type, file_type;
4
5# make transition from init to its domain
6init_daemon_domain(qlogd)
7
8allow qlogd diag_device:chr_file rw_file_perms;
9
10allow qlogd vendor_radio_data_file:file create_file_perms;
11allow qlogd vendor_radio_data_file:dir create_dir_perms;
12
13set_prop(qlogd, vendor_modem_diag_prop)
14
15allow qlogd self:socket create_socket_perms;
16allowxperm qlogd self:socket ioctl msm_sock_ipc_ioctls;
17