1type rmt_storage, domain; 2type rmt_storage_exec, exec_type, vendor_file_type, file_type; 3init_daemon_domain(rmt_storage) 4 5wakelock_use(rmt_storage) 6 7r_dir_file(rmt_storage, sysfs_uio) 8 9get_prop(rmt_storage, radio_control_prop) 10set_prop(rmt_storage, vendor_modem_prop) 11 12allow rmt_storage kmsg_device:chr_file w_file_perms; 13allow rmt_storage modem_block_device:blk_file rw_file_perms; 14allow rmt_storage uio_device:chr_file rw_file_perms; 15allow rmt_storage block_device:dir search; 16allow rmt_storage sysfs_rmtfs:dir search; 17allow rmt_storage sysfs_rmtfs:file r_file_perms; 18allow rmt_storage sysfs_msm_subsys:dir r_dir_perms; 19r_dir_file(rmt_storage, sysfs_esoc); 20 21allow rmt_storage self:qipcrtr_socket create_socket_perms; 22allowxperm rmt_storage self:qipcrtr_socket ioctl msm_sock_ipc_ioctls; 23