sepolicy: Update sepolicy rules for TFTP and RMTFS.

Update the sepolicy for TFTP and RMTFS to include all required
permissions.

Change-Id: I0e08b271cd7bca29ff6fd717ab37e446774e4c55
This commit is contained in:
Ankit Jain 2019-01-16 11:48:21 +05:30
parent 0861fa9b03
commit 675dc5a907
2 changed files with 6 additions and 0 deletions

View file

@ -53,3 +53,5 @@ allow rfs_access self:{ socket qipcrtr_socket } create_socket_perms_no_ioctl;
allow rfs_access vendor_tombstone_data_file:dir create_dir_perms;
allow rfs_access vendor_tombstone_data_file:file create_file_perms;
#For access to the kmsg device
allow rfs_access kmsg_device:chr_file w_file_perms;

View file

@ -52,3 +52,7 @@ allow rmt_storage {
modem_efs_partition_device
ssd_block_device
}:blk_file rw_file_perms;
r_dir_file(rmt_storage, sysfs_ssr)
r_dir_file(rmt_storage, sysfs_data)
set_prop(rmt_storage, ctl_vendor_rmt_storage_prop)