1# update_verifier 2# update_verifier uses the boot_control_hal. 3type update_verifier, domain, boot_control_hal; 4type update_verifier_exec, exec_type, file_type; 5 6init_daemon_domain(update_verifier) 7 8# Allow update_verifier to reach block devices in /dev/block. 9allow update_verifier block_device:dir search; 10 11# Read care map in /data/ota_package/. 12allow update_verifier ota_package_file:dir r_dir_perms; 13allow update_verifier ota_package_file:file r_file_perms; 14 15# Read all blocks in system partition. 16allow update_verifier system_block_device:blk_file r_file_perms; 17 18