blob: 795d823cdabdeb949a44f78beb6993b7a71accb9 [file] [log] [blame]
type hal_radioext_default, domain;
type hal_radioext_default_exec, exec_type, vendor_file_type, file_type;
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, radio)
r_dir_file(hal_radioext_default, sysfs_msm_subsys)
allow hal_radioext_default self:socket create_socket_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;
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;