1type qlogd, domain;
2type qlogd_exec, exec_type, vendor_file_type, file_type;
3
4userdebug_or_eng(`
5  # make transition from init to its domain
6  init_daemon_domain(qlogd)
7
8  allow qlogd diag_device:chr_file rw_file_perms;
9  allow qlogd qlogd_exec:file rx_file_perms;
10
11  allow qlogd radio_vendor_data_file:file create_file_perms;
12  allow qlogd radio_vendor_data_file:dir create_dir_perms;
13
14  set_prop(qlogd, modem_diag_prop)
15')