blob: d0018eac209daf5dab3fe238460d8fe447931417 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# phone subsystem
2type radio, domain;
3app_domain(radio)
4net_domain(radio)
5bluetooth_domain(radio)
Nick Kralevich2e7a3012014-01-10 23:05:25 -08006binder_service(radio)
Stephen Smalley2dd4e512012-01-04 12:33:27 -05007
Stephen Smalley56370992013-10-23 13:12:55 -04008# 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
20# Property service
21allow radio radio_prop:property_service set;
Stephen Smalleyfee49152014-06-19 10:27:02 -040022allow radio net_radio_prop:property_service set;
23allow radio system_radio_prop:property_service set;
24auditallow radio net_radio_prop:property_service set;
25auditallow radio system_radio_prop:property_service set;
Stephen Smalley56370992013-10-23 13:12:55 -040026
27# ctl interface
28allow radio ctl_rildaemon_prop:property_service set;
Riley Spahnf90c41f2014-06-05 15:52:02 -070029
30allow radio radio_service:service_manager add;