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()
1213 int spawn = (imgp->ip_flags & IMGPF_SPAWN); in exec_mach_imgact()
1215 int exec = (imgp->ip_flags & IMGPF_EXEC); in exec_mach_imgact()
1260 imgp->ip_flags |= IMGPF_IS_64BIT_ADDR | IMGPF_IS_64BIT_DATA; in exec_mach_imgact()
1316 imgp->ip_flags &= ~IMGPF_NOJOP; in exec_mach_imgact()
1318 imgp->ip_flags |= IMGPF_NOJOP; in exec_mach_imgact()
1496 (imgp->ip_flags & IMGPF_DRIVER) != 0) { in exec_mach_imgact()
1544 (imgp->ip_flags & IMGPF_NOJOP) == 0) { in exec_mach_imgact()
1589 if (imgp->ip_flags & IMGPF_RESLIDE) { in exec_mach_imgact()
1606 if (imgp->ip_flags & IMGPF_ROSETTA) { in exec_mach_imgact()
1626 (imgp->ip_flags & IMGPF_DRIVER) != 0, in exec_mach_imgact()
1759 if (imgp->ip_flags & IMGPF_3P_PLUGINS) { in exec_mach_imgact()
1838 int new_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_mach_imgact()
2142 (imgp->ip_flags & IMGPF_DRIVER) != 0 && in exec_mach_imgact()
2261 if (imgp->ip_flags & IMGPF_EXEC) { in exec_activate_image()
2403 if (imgp->ip_flags & IMGPF_INTERPRET && ndp->ni_vp) { in exec_activate_image()
2611 boolean_t in_exec = (imgp->ip_flags & IMGPF_EXEC); in exec_handle_port_actions()
3506 const bool task_loads_3P_plugins = imgp->ip_flags & IMGPF_3P_PLUGINS; in proc_apply_jit_and_vm_policies()
3655 imgp->ip_flags = (is_64 ? IMGPF_WAS_64BIT_ADDR : IMGPF_NONE); in posix_spawn()
3894 imgp->ip_flags |= IMGPF_PLUGIN_HOST_DISABLE_A_KEYS; in posix_spawn()
3898 imgp->ip_flags |= (IMGPF_ROSETTA | IMGPF_ALT_ROSETTA); in posix_spawn()
4046 imgp->ip_flags |= IMGPF_SPAWN; /* spawn w/o exec */ in posix_spawn()
4068 imgp->ip_flags |= IMGPF_EXEC; in posix_spawn()
4228 imgp->ip_flags |= IMGPF_HIGH_BITS_ASLR; in posix_spawn()
4237 imgp->ip_flags |= IMGPF_ALLOW_DATA_EXEC; in posix_spawn()
4243 imgp->ip_flags |= IMGPF_RESLIDE; in posix_spawn()
4249 imgp->ip_flags |= IMGPF_DRIVER; in posix_spawn()
4259 imgp->ip_flags |= IMGPF_DISABLE_ASLR; in posix_spawn()
4297 const uint8_t disable_user_jop = imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE; in posix_spawn()
5259 …imgp->ip_flags = (is_64 ? IMGPF_WAS_64BIT_ADDR : IMGPF_NONE) | ((p->p_flag & P_DISABLE_ASLR) ? IMG… in __mac_execve()
5277 imgp->ip_flags |= IMGPF_EXEC; in __mac_execve()
5325 ml_task_set_disable_user_jop(new_task, imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE); in __mac_execve()
5326 ml_thread_set_disable_user_jop(imgp->ip_new_thread, imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE); in __mac_execve()
5355 ml_task_set_jop_pid_from_shared_region(new_task, imgp->ip_flags & IMGPF_NOJOP); in __mac_execve()
5685 int ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_copyout_strings()
5889 int ptr_size = (imgp->ip_flags & IMGPF_WAS_64BIT_ADDR) ? 8 : 4; in exec_extract_strings()
5890 int new_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_extract_strings()
5911 if ((imgp->ip_flags & IMGPF_INTERPRET) != 0) { in exec_extract_strings()
6207 (imgp->ip_flags & IMGPF_NOJOP); in is_arm64e_running_as_arm64()
6218 int img_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_add_apple_strings()
6488 if (imgp->ip_flags & IMGPF_HW_TPRO) { in exec_add_apple_strings()
6598 imgp->ip_flags &= ~(IMGPF_ALLOW_DATA_EXEC | IMGPF_DISABLE_ASLR); in exec_check_permissions()
7664 int spawn = (imgp->ip_flags & IMGPF_SPAWN); in process_signature()
7961 if (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) { in exec_prefault_data()
8018 if (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) { in exec_prefault_data()