blob: e57e1ac7471e6c6871bba1e25b87207194c793a3 [file] [log] [blame]
# remote storage process
type rmt, domain, device_domain_deprecated;
type rmt_exec, exec_type, file_type;
init_daemon_domain(rmt)
allow rmt shared_log_device:chr_file rw_file_perms;
wakelock_use(rmt)
allow rmt self:capability { setuid setgid setpcap net_raw sys_admin };
# Allow access to /dev/uio0.
allow rmt uio_device:chr_file rw_file_perms;
allow rmt self:socket create_socket_perms;
allowxperm rmt self:socket ioctl msm_sock_ipc_ioctls;
allow rmt root_block_device:blk_file r_file_perms;
allow rmt modem_block_device:blk_file rw_file_perms;
allow rmt block_device:dir search;