1type hal_confirmationui_cuttlefish, domain; 2hal_server_domain(hal_confirmationui_cuttlefish, hal_confirmationui) 3 4type hal_confirmationui_cuttlefish_exec, exec_type, vendor_file_type, file_type; 5init_daemon_domain(hal_confirmationui_cuttlefish) 6 7binder_call(hal_confirmationui_cuttlefish, keystore) 8 9type confirmationui_device, dev_type; 10 11allow hal_confirmationui_cuttlefish device:dir r_dir_perms; 12allow hal_confirmationui_cuttlefish confirmationui_device:chr_file rw_file_perms; 13 14vendor_internal_prop(vendor_enable_confirmationui_prop) 15get_prop(hal_confirmationui_cuttlefish, vendor_enable_confirmationui_prop) 16 17# Write to kernel log (/dev/kmsg) 18allow hal_confirmationui_cuttlefish kmsg_device:chr_file w_file_perms; 19allow hal_confirmationui_cuttlefish kmsg_device:chr_file getattr; 20 21