1type qlogd, domain;
2type qlogd_exec, exec_type, vendor_file_type, file_type;
3
4# make transition from init to its domain
5init_daemon_domain(qlogd)
6
7allow qlogd diag_device:chr_file rw_file_perms;
8allow qlogd qlogd_exec:file rx_file_perms;
9
10allow qlogd radio_vendor_data_file:file create_file_perms;
11allow qlogd radio_vendor_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