blob: a01a113769ab03b44897176ba7bb6af4fdf73a26 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# phone subsystem
Nick Kralevichbfe4c8b2015-01-26 15:14:04 -08002type radio, domain, mlstrustedsubject;
Stephen Smalley2dd4e512012-01-04 12:33:27 -05003app_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 rild via the rild socket.
9unix_socket_connect(radio, rild, rild)
10
11# Data file accesses.
12allow radio radio_data_file:dir create_dir_perms;
13allow radio radio_data_file:notdevfile_class_set create_file_perms;
14
15allow radio alarm_device:chr_file rw_file_perms;
16
Robert Greenwalt3bcdec82014-11-03 14:51:34 -080017allow radio net_data_file:dir search;
18allow radio net_data_file:file r_file_perms;
19
Stephen Smalley56370992013-10-23 13:12:55 -040020# Property service
William Roberts2f5a6a92015-05-04 18:22:45 -070021set_prop(radio, radio_prop)
22set_prop(radio, system_radio_prop)
23set_prop(radio, net_radio_prop)
Stephen Smalleyfee49152014-06-19 10:27:02 -040024auditallow 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
William Roberts2f5a6a92015-05-04 18:22:45 -070028set_prop(radio, ctl_rildaemon_prop)
Riley Spahnf90c41f2014-06-05 15:52:02 -070029
dcashmanbba18382015-01-30 17:17:04 -080030allow radio drmserver_service:service_manager find;
dcashmancd825572014-12-11 16:01:27 -080031allow radio mediaserver_service:service_manager find;
32allow radio radio_service:service_manager { add find };
33allow radio surfaceflinger_service:service_manager find;
dcashmand12993f2015-04-02 16:50:08 -070034allow radio app_api_service:service_manager find;
35allow radio system_api_service:service_manager find;