type init-qcom-ipastart-sh, domain;
type init-qcom-ipastart-sh_exec, exec_type, vendor_file_type, file_type;

init_daemon_domain(init-qcom-ipastart-sh)

allow init-qcom-ipastart-sh vendor_shell_exec:file rx_file_perms;
allow init-qcom-ipastart-sh vendor_toolbox_exec:file rx_file_perms;

# Set /dev/ipa to 1
allow init-qcom-ipastart-sh ipa_dev:chr_file w_file_perms;