1# remote storage process
2type rmt, domain, device_domain_deprecated;
3type rmt_exec, exec_type, file_type;
4
5init_daemon_domain(rmt)
6
7allow rmt shared_log_device:chr_file rw_file_perms;
8
9wakelock_use(rmt)
10allow rmt self:capability { setuid setgid setpcap net_raw sys_admin };
11
12# Allow access to /dev/uio0.
13allow rmt uio_device:chr_file rw_file_perms;
14
15allow rmt self:socket create_socket_perms;
16allowxperm rmt self:socket ioctl msm_sock_ipc_ioctls;
17
18allow rmt root_block_device:blk_file r_file_perms;
19allow rmt modem_block_device:blk_file rw_file_perms;
20allow rmt block_device:dir search;
21