Lines Matching refs:ip_flags
612 (imgp->ip_flags & IMGPF_INTERPRET) != 0) { in exec_shell_imgact()
621 imgp->ip_flags |= IMGPF_INTERPRET; in exec_shell_imgact()
1068 if (imgp->ip_flags & IMGPF_ROSETTA) { in exec_setup_tpro()
1073 if (!(imgp->ip_flags & IMGPF_IS_64BIT_ADDR)) { in exec_setup_tpro()
1217 int spawn = (imgp->ip_flags & IMGPF_SPAWN); in exec_mach_imgact()
1219 int exec = (imgp->ip_flags & IMGPF_EXEC); in exec_mach_imgact()
1264 imgp->ip_flags |= IMGPF_IS_64BIT_ADDR | IMGPF_IS_64BIT_DATA; in exec_mach_imgact()
1320 imgp->ip_flags &= ~IMGPF_NOJOP; in exec_mach_imgact()
1322 imgp->ip_flags |= IMGPF_NOJOP; in exec_mach_imgact()
1510 (imgp->ip_flags & IMGPF_DRIVER) != 0) { in exec_mach_imgact()
1552 (imgp->ip_flags & IMGPF_NOJOP) == 0) { in exec_mach_imgact()
1597 if (imgp->ip_flags & IMGPF_RESLIDE) { in exec_mach_imgact()
1614 if (imgp->ip_flags & IMGPF_ROSETTA) { in exec_mach_imgact()
1634 (imgp->ip_flags & IMGPF_DRIVER) != 0, in exec_mach_imgact()
1767 if (imgp->ip_flags & IMGPF_3P_PLUGINS) { in exec_mach_imgact()
1846 int new_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_mach_imgact()
2150 (imgp->ip_flags & IMGPF_DRIVER) != 0 && in exec_mach_imgact()
2269 if (imgp->ip_flags & IMGPF_EXEC) { in exec_activate_image()
2411 if (imgp->ip_flags & IMGPF_INTERPRET && ndp->ni_vp) { in exec_activate_image()
2619 boolean_t in_exec = (imgp->ip_flags & IMGPF_EXEC); in exec_handle_port_actions()
3514 const bool task_loads_3P_plugins = imgp->ip_flags & IMGPF_3P_PLUGINS; in proc_apply_jit_and_vm_policies()
3663 imgp->ip_flags = (is_64 ? IMGPF_WAS_64BIT_ADDR : IMGPF_NONE); in posix_spawn()
3910 imgp->ip_flags |= IMGPF_PLUGIN_HOST_DISABLE_A_KEYS; in posix_spawn()
3914 imgp->ip_flags |= (IMGPF_ROSETTA | IMGPF_ALT_ROSETTA); in posix_spawn()
4062 imgp->ip_flags |= IMGPF_SPAWN; /* spawn w/o exec */ in posix_spawn()
4084 imgp->ip_flags |= IMGPF_EXEC; in posix_spawn()
4244 imgp->ip_flags |= IMGPF_HIGH_BITS_ASLR; in posix_spawn()
4253 imgp->ip_flags |= IMGPF_ALLOW_DATA_EXEC; in posix_spawn()
4259 imgp->ip_flags |= IMGPF_RESLIDE; in posix_spawn()
4265 imgp->ip_flags |= IMGPF_DRIVER; in posix_spawn()
4275 imgp->ip_flags |= IMGPF_DISABLE_ASLR; in posix_spawn()
4313 const uint8_t disable_user_jop = imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE; in posix_spawn()
5269 …imgp->ip_flags = (is_64 ? IMGPF_WAS_64BIT_ADDR : IMGPF_NONE) | ((p->p_flag & P_DISABLE_ASLR) ? IMG… in __mac_execve()
5287 imgp->ip_flags |= IMGPF_EXEC; in __mac_execve()
5335 ml_task_set_disable_user_jop(new_task, imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE); in __mac_execve()
5336 ml_thread_set_disable_user_jop(imgp->ip_new_thread, imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE); in __mac_execve()
5365 ml_task_set_jop_pid_from_shared_region(new_task, imgp->ip_flags & IMGPF_NOJOP); in __mac_execve()
5695 int ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_copyout_strings()
5899 int ptr_size = (imgp->ip_flags & IMGPF_WAS_64BIT_ADDR) ? 8 : 4; in exec_extract_strings()
5900 int new_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_extract_strings()
5921 if ((imgp->ip_flags & IMGPF_INTERPRET) != 0) { in exec_extract_strings()
6217 (imgp->ip_flags & IMGPF_NOJOP); in is_arm64e_running_as_arm64()
6228 int img_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_add_apple_strings()
6498 if (imgp->ip_flags & IMGPF_HW_TPRO) { in exec_add_apple_strings()
6608 imgp->ip_flags &= ~(IMGPF_ALLOW_DATA_EXEC | IMGPF_DISABLE_ASLR); in exec_check_permissions()
7676 int spawn = (imgp->ip_flags & IMGPF_SPAWN); in process_signature()
7973 if (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) { in exec_prefault_data()
8030 if (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) { in exec_prefault_data()