• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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, vendor_modem_diag_prop)
15
16  allow qlogd self:socket create_socket_perms;
17  allowxperm qlogd self:socket ioctl msm_sock_ipc_ioctls;
18')
19