• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Grant access to Qualcomm MSM Interface (QMI) radio sockets to system services
2# (e.g., LocationManager)
3qmux_socket(system_server)
4
5# PowerManagerService access to sensors socket
6unix_socket_connect(system_server, sensors, sensors)
7unix_socket_send(system_server, sensors, sensors)
8allow system_server sensors:unix_stream_socket sendto;
9allow system_server sensors_socket:sock_file r_file_perms;
10
11# mpdecision socket access
12unix_socket_connect(system_server, mpdecision, mpdecision)
13unix_socket_send(system_server, mpdecision, mpdecision)
14allow system_server mpdecision:unix_stream_socket sendto;
15allow system_server mpdecision_socket:dir search;
16
17# Read /data/misc/sensors or /data/system/sensors.
18allow system_server sensors_data_file:dir r_dir_perms;
19allow system_server sensors_data_file:file r_file_perms;
20