Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 1 | # phone subsystem |
| 2 | type radio, domain; |
| 3 | app_domain(radio) |
| 4 | net_domain(radio) |
| 5 | bluetooth_domain(radio) |
| 6 | |
| 7 | # Talks to init via the property socket. |
| 8 | unix_socket_connect(radio, property, init) |
| 9 | |
| 10 | # Talks to rild via the rild socket. |
| 11 | unix_socket_connect(radio, rild, rild) |
| 12 | |
| 13 | # Data file accesses. |
| 14 | allow radio radio_data_file:dir create_dir_perms; |
| 15 | allow radio radio_data_file:notdevfile_class_set create_file_perms; |
| 16 | |
| 17 | allow radio alarm_device:chr_file rw_file_perms; |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 18 | |
| 19 | # Property service |
| 20 | allow radio radio_prop:property_service set; |
| 21 | |
| 22 | # ctl interface |
| 23 | allow radio ctl_rildaemon_prop:property_service set; |