type qlogd, domain; type qlogd_exec, exec_type, vendor_file_type, file_type; userdebug_or_eng(` # make transition from init to its domain init_daemon_domain(qlogd) allow qlogd diag_device:chr_file rw_file_perms; allow qlogd qlogd_exec:file rx_file_perms; allow qlogd radio_vendor_data_file:file create_file_perms; allow qlogd radio_vendor_data_file:dir create_dir_perms; set_prop(qlogd, modem_diag_prop) ')