Home | History | Annotate | Download | only in sepolicy
      1 # Grant access to Qualcomm MSM Interface (QMI) radio sockets
      2 qmux_socket(radio)
      3 
      4 allow radio uce_service:service_manager { add find };
      5 
      6 r_dir_file(radio, sysfs_msm_subsys)
      7 
      8 # communicate with ims
      9 unix_socket_connect(radio, ims, ims)
     10 
     11 # access to /dev/diag on debug builds
     12 userdebug_or_eng(`
     13   allow radio diag_device:chr_file rw_file_perms;
     14 ')
     15 
     16 # access to /dev/avtimer
     17 allow radio avtimer_device:chr_file rw_file_perms;
     18 
     19 allowxperm radio self:udp_socket ioctl priv_sock_ioctls;
     20