blob: 9de8aba22a03ec0ff6b3b33d3f15a315917eb71f [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# phone subsystem
2type radio, domain;
Stephen Smalley56370992013-10-23 13:12:55 -04003permissive radio;
Stephen Smalley2dd4e512012-01-04 12:33:27 -05004app_domain(radio)
5net_domain(radio)
6bluetooth_domain(radio)
7
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;
22
23# ctl interface
24allow radio ctl_rildaemon_prop:property_service set;