Inseob Kim | ff43be2 | 2021-06-07 16:56:56 +0900 | [diff] [blame] | 1 | typeattribute radio coredomain, mlstrustedsubject; |
| 2 | |
| 3 | app_domain(radio) |
| 4 | |
| 5 | read_runtime_log_tags(radio) |
| 6 | |
| 7 | # Property service |
| 8 | set_prop(radio, radio_control_prop) |
| 9 | set_prop(radio, radio_prop) |
| 10 | set_prop(radio, net_radio_prop) |
| 11 | set_prop(radio, telephony_status_prop) |
| 12 | |
| 13 | # ctl interface |
| 14 | set_prop(radio, ctl_rildaemon_prop) |
| 15 | |
| 16 | # Telephony code contains time / time zone detection logic so it reads the associated properties. |
| 17 | get_prop(radio, time_prop) |
| 18 | |
| 19 | # allow telephony to access platform compat to log permission denials |
| 20 | allow radio platform_compat_service:service_manager find; |
| 21 | |
| 22 | allow radio uce_service:service_manager find; |
| 23 | |
| 24 | # Manage /data/misc/emergencynumberdb |
| 25 | allow radio emergency_data_file:dir r_dir_perms; |
| 26 | allow radio emergency_data_file:file r_file_perms; |
| 27 | |
| 28 | # allow telephony to access related cache properties |
| 29 | set_prop(radio, binder_cache_telephony_server_prop); |
| 30 | neverallow { domain -radio -init } |
| 31 | binder_cache_telephony_server_prop:property_service set; |
| 32 | |
| 33 | # allow sending pulled atoms to statsd |
| 34 | binder_call(radio, statsd) |
| 35 | |