1 # Grant access to Qualcomm MSM Interface (QMI) radio sockets 2 qmux_socket(rild) 3 4 allow rild audioserver_service:service_manager find; 5 allow rild per_mgr_service:service_manager find; 6 7 binder_use(rild) 8 binder_call(rild, audioserver) 9 binder_call(rild, per_mgr) 10 11 allow rild netmgrd_socket:dir search; 12 unix_socket_connect(rild, netmgrd, netmgrd) 13 14 r_dir_file(rild, sysfs_type) 15 16 allow rild time:unix_stream_socket connectto; 17 18 allowxperm rild self:udp_socket ioctl priv_sock_ioctls; 19 allowxperm rild self:socket ioctl msm_sock_ipc_ioctls; 20 userdebug_or_eng(` 21 allow rild diag_device:chr_file rw_file_perms; 22 ') 23