summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/rmt_storage.te
blob: 70d9bce3b1035eabb2721bc33f3f94929896032b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
type rmt_storage, domain;
type rmt_storage_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(rmt_storage)

wakelock_use(rmt_storage)

r_dir_file(rmt_storage, sysfs_uio)

get_prop(rmt_storage, radio_control_prop)
set_prop(rmt_storage, vendor_modem_prop)

allow rmt_storage kmsg_device:chr_file w_file_perms;
allow rmt_storage modem_block_device:blk_file rw_file_perms;
allow rmt_storage uio_device:chr_file rw_file_perms;
allow rmt_storage block_device:dir search;
allow rmt_storage sysfs_rmtfs:dir search;
allow rmt_storage sysfs_rmtfs:file r_file_perms;
allow rmt_storage sysfs_msm_subsys:dir r_dir_perms;
r_dir_file(rmt_storage, sysfs_esoc);

allow rmt_storage self:qipcrtr_socket create_socket_perms;
allowxperm rmt_storage self:qipcrtr_socket ioctl msm_sock_ipc_ioctls;