1# phone subsystem
2type radio, domain;
3app_domain(radio)
4net_domain(radio)
5bluetooth_domain(radio)
6binder_service(radio)
7
8# Talks to init via the property socket.
9unix_socket_connect(radio, property, init)
10
11# Talks to rild via the rild socket.
12unix_socket_connect(radio, rild, rild)
13
14# Data file accesses.
15allow radio radio_data_file:dir create_dir_perms;
16allow radio radio_data_file:notdevfile_class_set create_file_perms;
17
18allow radio alarm_device:chr_file rw_file_perms;
19
20allow radio net_data_file:dir search;
21allow radio net_data_file:file r_file_perms;
22
23# Property service
24allow radio radio_prop:property_service set;
25allow radio net_radio_prop:property_service set;
26allow radio system_radio_prop:property_service set;
27auditallow radio net_radio_prop:property_service set;
28auditallow radio system_radio_prop:property_service set;
29
30# ctl interface
31allow radio ctl_rildaemon_prop:property_service set;
32
33allow radio radio_service:service_manager add;
34