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:
parent
0861fa9b03
commit
675dc5a907
2 changed files with 6 additions and 0 deletions
2
generic/vendor/common/rfs_access.te
vendored
2
generic/vendor/common/rfs_access.te
vendored
|
@ -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;
|
||||
|
|
4
generic/vendor/common/rmt_storage.te
vendored
4
generic/vendor/common/rmt_storage.te
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue