2012-01-04 18:33:27 +01:00
|
|
|
# phone subsystem
|
2017-05-15 22:19:03 +02:00
|
|
|
type radio, domain, mlstrustedsubject;
|
2016-12-08 20:23:34 +01:00
|
|
|
|
2012-01-04 18:33:27 +01:00
|
|
|
net_domain(radio)
|
|
|
|
bluetooth_domain(radio)
|
2014-01-11 08:05:25 +01:00
|
|
|
binder_service(radio)
|
2012-01-04 18:33:27 +01:00
|
|
|
|
2018-03-12 18:12:09 +01:00
|
|
|
# Talks to hal_telephony_server via the rild socket only for devices without full treble
|
|
|
|
not_full_treble(`unix_socket_connect(radio, rild, hal_telephony_server)')
|
2013-10-23 19:12:55 +02:00
|
|
|
|
|
|
|
# Data file accesses.
|
|
|
|
allow radio radio_data_file:dir create_dir_perms;
|
|
|
|
allow radio radio_data_file:notdevfile_class_set create_file_perms;
|
|
|
|
|
|
|
|
|
2014-11-03 23:51:34 +01:00
|
|
|
allow radio net_data_file:dir search;
|
|
|
|
allow radio net_data_file:file r_file_perms;
|
|
|
|
|
2017-01-19 22:23:52 +01:00
|
|
|
add_service(radio, radio_service)
|
2015-09-09 19:48:04 +02:00
|
|
|
allow radio audioserver_service:service_manager find;
|
2016-06-09 21:47:05 +02:00
|
|
|
allow radio cameraserver_service:service_manager find;
|
2015-01-31 02:17:04 +01:00
|
|
|
allow radio drmserver_service:service_manager find;
|
2014-12-12 01:01:27 +01:00
|
|
|
allow radio mediaserver_service:service_manager find;
|
2016-06-14 06:42:10 +02:00
|
|
|
allow radio nfc_service:service_manager find;
|
2015-04-03 01:50:08 +02:00
|
|
|
allow radio app_api_service:service_manager find;
|
|
|
|
allow radio system_api_service:service_manager find;
|
2018-06-08 22:51:49 +02:00
|
|
|
allow radio timedetector_service:service_manager find;
|
2019-11-07 17:01:55 +01:00
|
|
|
allow radio timezonedetector_service:service_manager find;
|
2016-12-01 20:36:44 +01:00
|
|
|
|
2016-12-08 02:43:46 +01:00
|
|
|
# Perform HwBinder IPC.
|
|
|
|
hwbinder_use(radio)
|
2017-03-17 02:48:40 +01:00
|
|
|
hal_client_domain(radio, hal_telephony)
|
2019-02-13 00:34:39 +01:00
|
|
|
|
|
|
|
# Used by TelephonyManager
|
|
|
|
allow radio proc_cmdline:file r_file_perms;
|