Sanders: Fix fsg and rmt sepol

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
dybios
2019-09-10 10:19:13 +05:30
committed by ronaxdevil
parent 326f073d40
commit e076addc59
2 changed files with 20 additions and 2 deletions

View File

@@ -1,13 +1,24 @@
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 search;
allow rmt_storage debugfs_rmt_storage:file w_file_perms;
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;