Sanders: Fix fsg and rmt sepol
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
15
sepolicy/vendor/rmt_storage.te
vendored
15
sepolicy/vendor/rmt_storage.te
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user