1type ufs_firmware_update, domain;
2type ufs_firmware_update_exec, vendor_file_type, exec_type, file_type;
3
4userdebug_or_eng(`
5  init_daemon_domain(ufs_firmware_update)
6
7  allow ufs_firmware_update vendor_toolbox_exec:file execute_no_trans;
8  allow ufs_firmware_update block_device:dir r_dir_perms;
9  allow ufs_firmware_update ufs_internal_block_device:blk_file rw_file_perms;
10  allow ufs_firmware_update sysfs:dir r_dir_perms;
11  allow ufs_firmware_update sysfs_scsi_devices_0000:file r_file_perms;
12')
13