type irsc_util, domain; type irsc_util_exec, exec_type, vendor_file_type, file_type; init_daemon_domain(irsc_util) userdebug_or_eng(` #domain_auto_trans(vendor_shell, irsc_util_exec, irsc_util) #domain_auto_trans(adbd, irsc_util_exec, irsc_util) ') allow irsc_util irsc_util:socket { create ioctl }; allowxperm irsc_util self:socket ioctl msm_sock_ipc_ioctls; allow irsc_util devpts:chr_file rw_file_perms;