blob: c73c32c23bd92b438df4f74fbe6ffdb00a2b3e88 [file] [log] [blame]
# Grant access to Qualcomm MSM Interface (QMI) radio sockets
qmux_socket(rild)
# TODO(b/36443535): Remove this once rild stops using Binder
typeattribute rild binder_in_vendor_violators;
allow rild audioserver_service:service_manager find;
allow rild per_mgr_service:service_manager find;
binder_use(rild)
binder_call(rild, audioserver)
binder_call(rild, per_mgr)
allow rild netmgrd_socket:dir search;
unix_socket_connect(rild, netmgrd, netmgrd)
r_dir_file(rild, sysfs_type)
allow rild time:unix_stream_socket connectto;
# smlog_dump
allow rild smlog_dump_exec:file rx_file_perms;
allowxperm rild self:udp_socket ioctl priv_sock_ioctls;
allow rild self:socket ioctl;
allowxperm rild self:socket ioctl msm_sock_ipc_ioctls;
userdebug_or_eng(`
allow rild diag_device:chr_file rw_file_perms;
')