Merge "Storage: add selinux for ufs firmware upgrade event" into main
This commit is contained in:
commit
90f357aa8d
1 changed files with 9 additions and 0 deletions
9
storage/sepolicy/ufs_firmware_update.te
Normal file
9
storage/sepolicy/ufs_firmware_update.te
Normal file
|
@ -0,0 +1,9 @@
|
|||
# support ufs ffu via ota
|
||||
init_daemon_domain(ufs_firmware_update)
|
||||
|
||||
# support ufs ffu via ota
|
||||
allow ufs_firmware_update vendor_toolbox_exec:file execute_no_trans;
|
||||
allow ufs_firmware_update block_device:dir { search };
|
||||
allow ufs_firmware_update ufs_internal_block_device:blk_file rw_file_perms;
|
||||
allow ufs_firmware_update sysfs_scsi_devices_0000:file r_file_perms;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue