1binder_call(rild, audioserver) 2binder_call(rild, mediaserver) 3binder_use(rild) 4binder_service(rild) 5 6# Grant access to Qualcomm MSM Interface (QMI) radio sockets to RILD 7qmux_socket(rild) 8 9allow rild persist_file:dir search; 10 11# rild needs to parse through /proc to obtain pid of netmgrd 12r_dir_file(rild, netmgrd) 13# b/18352920 suppress denials until the procfs lookup is removed 14dontaudit rild domain:dir r_dir_perms; 15 16allow rild audioserver_service:service_manager find; 17allow rild mediaserver_service:service_manager find; 18allow rild per_mgr_service:service_manager find; 19 20allow rild time_daemon:unix_stream_socket connectto; 21 22# rild reads qcril.db linked to /system/etc/qcril.db 23allow rild radio_data_file:lnk_file read; 24 25userdebug_or_eng(` 26 allow rild ssr_device:chr_file { open read }; 27 28 allow rild sysfs_ssr:dir { open search read }; 29 allow rild sysfs_ssr:lnk_file { read open }; 30 allow rild sysfs_ssr:dir r_dir_perms; 31 allow rild sysfs_ssr:lnk_file read; 32') 33