| type hal_radioext_default, domain; |
| type hal_radioext_default_exec, exec_type, vendor_file_type, file_type; |
| hal_server_domain(hal_radioext_default, hal_telephony) |
| init_daemon_domain(hal_radioext_default) |
| |
| hwbinder_use(hal_radioext_default) |
| get_prop(hal_radioext_default, hwservicemanager_prop) |
| add_hwservice(hal_radioext_default, hal_radioext_hwservice) |
| binder_call(hal_radioext_default, grilservice_app) |
| |
| r_dir_file(hal_radioext_default, sysfs_msm_subsys) |
| |
| allow hal_radioext_default self:socket create_socket_perms; |
| allow hal_radioext_default qmuxd_socket:dir w_dir_perms; |
| allow hal_radioext_default qmuxd_socket:sock_file create_file_perms; |
| allow hal_radioext_default sysfs_soc:dir search; |
| allow hal_radioext_default sysfs_soc:file r_file_perms; |
| allowxperm hal_radioext_default self:socket ioctl msm_sock_ipc_ioctls; |
| |
| allow hal_radioext_default hal_wifi_ext_hwservice:hwservice_manager find; |
| allow hal_radioext_default hal_wifi_ext:binder call; |
| |
| userdebug_or_eng(` |
| allow hal_radioext_default radio_vendor_data_file:dir create_dir_perms; |
| allow hal_radioext_default radio_vendor_data_file:file create_file_perms; |
| ') |
| |
| allow hal_radioext_default modem_stat_data_file:file create_file_perms; |
| |
| dontaudit hal_radioext_default kernel:system module_request; |