blob: ec3a59b00f6424909300517aee0f6c7ec4405325 [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
Robert Greenwalt71e9a7c2014-11-03 14:51:34 -080020allow radio net_data_file:dir search;
21allow radio net_data_file:file r_file_perms;
22
Stephen Smalley56370992013-10-23 13:12:55 -040023# Property service
24allow radio radio_prop:property_service set;
Stephen Smalleyfee49152014-06-19 10:27:02 -040025allow 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;
Stephen Smalley56370992013-10-23 13:12:55 -040029
30# ctl interface
31allow radio ctl_rildaemon_prop:property_service set;
Riley Spahnf90c41f2014-06-05 15:52:02 -070032
lisa03fe3862015-10-15 16:56:39 +080033allow radio persist_file:dir search;
lisa19b70432015-11-03 11:44:11 +080034allow radio persist_file:file { read write open getattr };
lisa03fe3862015-10-15 16:56:39 +080035
Riley Spahnf90c41f2014-06-05 15:52:02 -070036allow radio radio_service:service_manager add;