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