• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Policy for /system/bin/rmt_storage
2type rmt, domain;
3type rmt_exec, exec_type, vendor_file_type, file_type;
4
5allow rmt self:capability net_bind_service;
6
7init_daemon_domain(rmt)
8wakelock_use(rmt)
9
10allow rmt self:capability { setgid setpcap setuid };
11
12allow rmt block_device:dir search;
13allow rmt modem_block_device:blk_file rw_file_perms;
14
15# access to /dev/uio0
16allow rmt uio_device:chr_file rw_file_perms;
17
18allow rmt self:socket create_socket_perms;
19allowxperm rmt self:socket ioctl msm_sock_ipc_ioctls;
20
21allow rmt debugfs_rmt_storage:dir search;
22allow rmt debugfs_rmt_storage:file w_file_perms;
23
24allow rmt sysfs:dir r_dir_perms;
25r_dir_file(rmt, sysfs_rmtfs)
26