blob: f0c70081fe8ab822e7867b6dcc892e6a93157668 [file] [log] [blame]
# Grant access to Qualcomm MSM Interface (QMI) radio sockets to system services
# (e.g., LocationManager)
qmux_socket(system_server)
allow system_server mpdecision_socket:dir r_dir_perms;
unix_socket_send(system_server, mpdecision, mpdecision)
unix_socket_connect(system_server, sensors, sensors)
allow system_server sensors_socket:sock_file r_file_perms;
# whitelist qualcomm specific ioctls
allow system_server self:socket ioctl;
allowxperm system_server self:socket ioctl msm_sock_ipc_ioctls;