• 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/tombstones/ramdump files.
18allow system_server ramdump_data_file:dir r_dir_perms;
19allow system_server ramdump_data_file:file r_file_perms;
20
21allow system_server self:netlink_socket create_socket_perms;
22
23# Reading from /persist/wifi/.macaddr
24allow system_server persist_file:dir r_dir_perms;
25r_dir_file(system_server, persist_wifi_file)
26