msm8953-common: Import sepolicy from sdm660 tree

This commit is contained in:
jeangraff30
2020-11-15 10:51:35 +01:00
parent 464b0ce482
commit 7535f9d5ae
53 changed files with 600 additions and 12 deletions

18
sepolicy/vendor/rmt_storage.te vendored Normal file
View File

@@ -0,0 +1,18 @@
allow rmt_storage {
modem_efs_partition_device
ssd_device
}:blk_file rw_file_perms;
r_dir_file(rmt_storage fsg_firmware_file)
r_dir_file(rmt_storage, persist_file)
allow rmt_storage debugfs_rmts:dir r_dir_perms;
allow rmt_storage debugfs_rmts:file rw_file_perms;
allow rmt_storage persist_rfs_file:dir search;
allow rmt_storage persist_rfs_file:file rw_file_perms;
allow rmt_storage mnt_vendor_file:dir search;
get_prop(rmt_storage, vendor_radio_prop)
get_prop(rmt_storage, moto_boot_prop)
allow rmt_storage sysfs_data:file r_file_perms;