This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_motorola_sanders-lin…/sepolicy/vendor/rmt_storage.te
dybios e076addc59 Sanders: Fix fsg and rmt sepol
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-10-30 15:25:43 +05:30

25 lines
810 B
Plaintext

allow rmt_storage {
modem_efs_partition_device
}:blk_file rw_file_perms;
r_dir_file(rmt_storage fsg_file)
r_dir_file(rmt_storage, persist_file)
allow rmt_storage sysfs_rmt_storage:file rw_file_perms;
allow rmt_storage sysfs_rmt_storage:dir { search open };
allow rmt_storage sysfs_uio:file r_file_perms;
allow rmt_storage sysfs_uio:dir { read open search };
allow rmt_storage sysfs_uio:lnk_file { read };
allow rmt_storage debugfs_rmt_storage:dir r_dir_perms;
allow rmt_storage debugfs_rmt_storage:file rw_file_perms;
allow rmt_storage fsg_file:file { open read };
allow rmt_storage fsg_file:dir search;
allow rmt_storage fsg_file:lnk_file read;
allow rmt_storage persist_file:dir r_dir_perms;
allow rmt_storage vendor_radio_prop:file { getattr open read };
allow rmt_storage vendor_file:dir search;