radio.te revision daa6fec44fc33fb2dd5b69b417c898c085cb97f1
1get_prop(radio, ims_prop)
2userdebug_or_eng(`set_prop(radio, tel_mon_prop)')
3
4allow radio qmuxd_socket:dir search;
5allow radio qmuxd_socket:sock_file write;
6
7allow radio vendor_file:lnk_file r_file_perms;
8allow radio vendor_framework_file:file r_file_perms;
9allow radio vendor_framework_file:dir search;
10
11hwbinder_use(radio)
12allow radio vnd_ims_radio_hwservice:hwservice_manager find;
13allow radio vnd_qcrilhook_hwservice:hwservice_manager find;
14allow radio hal_imsrtp_hwservice:hwservice_manager find;
15
16allow radio {
17  mediaextractor_service
18  mediacodec_service
19}:service_manager find;
20
21r_dir_file(radio, sysfs_msm_subsys)
22
23# IMS needs permission to use avtimer
24allow radio avtimer_device:chr_file r_file_perms;
25
26binder_call(radio, hal_imsrtp)
27
28userdebug_or_eng(`
29  allow radio diag_device:chr_file rw_file_perms;
30')
31dontaudit radio diag_device:chr_file rw_file_perms;
32
33# read /proc/cmdline
34allow radio proc_cmdline:file r_file_perms;
35
36get_prop(radio, vendor_radio_prop)
37