type adsprpcd, domain; type adsprpcd_exec, exec_type, vendor_file_type, file_type; init_daemon_domain(adsprpcd) allow adsprpcd ion_device:chr_file r_file_perms; allow adsprpcd qdsp_device:chr_file r_file_perms; allow adsprpcd mnt_vendor_file:dir r_dir_perms; allow adsprpcd persist_file:dir search; # For sensor allow adsprpcd sensors_persist_file:dir rw_dir_perms; allow adsprpcd sensors_persist_file:file create_file_perms; # For devices/soc0/* allow adsprpcd sysfs_soc:dir r_dir_perms; allow adsprpcd sysfs_soc:file r_file_perms; allow adsprpcd sysfs_leds:dir r_dir_perms; allow adsprpcd sysfs_leds:file r_file_perms;