Lines Matching refs:ip_flags
593 (imgp->ip_flags & IMGPF_INTERPRET) != 0) { in exec_shell_imgact()
602 imgp->ip_flags |= IMGPF_INTERPRET; in exec_shell_imgact()
1165 int spawn = (imgp->ip_flags & IMGPF_SPAWN); in exec_mach_imgact()
1167 int exec = (imgp->ip_flags & IMGPF_EXEC); in exec_mach_imgact()
1212 imgp->ip_flags |= IMGPF_IS_64BIT_ADDR | IMGPF_IS_64BIT_DATA; in exec_mach_imgact()
1268 imgp->ip_flags &= ~IMGPF_NOJOP; in exec_mach_imgact()
1270 imgp->ip_flags |= IMGPF_NOJOP; in exec_mach_imgact()
1442 (imgp->ip_flags & IMGPF_DRIVER) != 0) { in exec_mach_imgact()
1482 (imgp->ip_flags & IMGPF_NOJOP) == 0) { in exec_mach_imgact()
1523 if (imgp->ip_flags & IMGPF_RESLIDE) { in exec_mach_imgact()
1540 if (imgp->ip_flags & IMGPF_ROSETTA) { in exec_mach_imgact()
1560 (imgp->ip_flags & IMGPF_DRIVER) != 0, in exec_mach_imgact()
1740 int new_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_mach_imgact()
2018 (imgp->ip_flags & IMGPF_DRIVER) != 0 && in exec_mach_imgact()
2137 if (imgp->ip_flags & IMGPF_EXEC) { in exec_activate_image()
2279 if (imgp->ip_flags & IMGPF_INTERPRET && ndp->ni_vp) { in exec_activate_image()
2477 boolean_t in_exec = (imgp->ip_flags & IMGPF_EXEC); in exec_handle_port_actions()
3289 if (imgp->ip_flags & IMGPF_HW_TPRO) { in proc_apply_tpro()
3439 imgp->ip_flags = (is_64 ? IMGPF_WAS_64BIT_ADDR : IMGPF_NONE); in posix_spawn()
3658 imgp->ip_flags |= IMGPF_PLUGIN_HOST_DISABLE_A_KEYS; in posix_spawn()
3662 imgp->ip_flags |= (IMGPF_ROSETTA | IMGPF_ALT_ROSETTA); in posix_spawn()
3810 imgp->ip_flags |= IMGPF_SPAWN; /* spawn w/o exec */ in posix_spawn()
3832 imgp->ip_flags |= IMGPF_EXEC; in posix_spawn()
3991 imgp->ip_flags |= IMGPF_HIGH_BITS_ASLR; in posix_spawn()
4000 imgp->ip_flags |= IMGPF_ALLOW_DATA_EXEC; in posix_spawn()
4006 imgp->ip_flags |= IMGPF_RESLIDE; in posix_spawn()
4012 imgp->ip_flags |= IMGPF_DRIVER; in posix_spawn()
4022 imgp->ip_flags |= IMGPF_DISABLE_ASLR; in posix_spawn()
4060 ml_task_set_disable_user_jop(new_task, imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE); in posix_spawn()
4061 ml_thread_set_disable_user_jop(imgp->ip_new_thread, imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE); in posix_spawn()
4956 …imgp->ip_flags = (is_64 ? IMGPF_WAS_64BIT_ADDR : IMGPF_NONE) | ((p->p_flag & P_DISABLE_ASLR) ? IMG… in __mac_execve()
4974 imgp->ip_flags |= IMGPF_EXEC; in __mac_execve()
5021 ml_task_set_disable_user_jop(new_task, imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE); in __mac_execve()
5022 ml_thread_set_disable_user_jop(imgp->ip_new_thread, imgp->ip_flags & IMGPF_NOJOP ? TRUE : FALSE); in __mac_execve()
5373 int ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_copyout_strings()
5577 int ptr_size = (imgp->ip_flags & IMGPF_WAS_64BIT_ADDR) ? 8 : 4; in exec_extract_strings()
5578 int new_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_extract_strings()
5599 if ((imgp->ip_flags & IMGPF_INTERPRET) != 0) { in exec_extract_strings()
5883 (imgp->ip_flags & IMGPF_NOJOP); in is_arm64e_running_as_arm64()
5894 int img_ptr_size = (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) ? 8 : 4; in exec_add_apple_strings()
6176 if (imgp->ip_flags & IMGPF_HW_TPRO) { in exec_add_apple_strings()
6274 imgp->ip_flags &= ~(IMGPF_ALLOW_DATA_EXEC | IMGPF_DISABLE_ASLR); in exec_check_permissions()
7338 int spawn = (imgp->ip_flags & IMGPF_SPAWN); in process_signature()
7624 if (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) { in exec_prefault_data()
7681 if (imgp->ip_flags & IMGPF_IS_64BIT_ADDR) { in exec_prefault_data()