1 type irsc_util, domain, device_domain_deprecated; 2 type irsc_util_exec, exec_type, file_type; 3 init_daemon_domain(irsc_util) 4 5 userdebug_or_eng(` 6 domain_auto_trans(shell, irsc_util_exec, irsc_util) 7 ') 8 9 allow irsc_util irsc_util:socket { create ioctl }; 10 allowxperm irsc_util self:socket ioctl msm_sock_ipc_ioctls; 11 12 create_pty(irsc_util) 13 allow irsc_util irsc_util_exec:file execute_no_trans; 14