Lines Matching refs:image_params
291 task_t new_task, struct image_params *imgp, void **inherit);
394 struct image_params; /* Forward */
395 static int exec_activate_image(struct image_params *imgp);
396 static int exec_copyout_strings(struct image_params *imgp, user_addr_t *stackp);
398 static int execargs_alloc(struct image_params *imgp);
399 static int execargs_free(struct image_params *imgp);
400 static int exec_check_permissions(struct image_params *imgp);
401 static int exec_extract_strings(struct image_params *imgp);
402 static int exec_add_apple_strings(struct image_params *imgp, const load_result_t *load_result, task…
403 static int exec_handle_sugid(struct image_params *imgp);
408 static void exec_resettextvp(proc_t, struct image_params *);
409 static int process_signature(proc_t, struct image_params *);
410 static void exec_prefault_data(proc_t, struct image_params *, load_result_t *);
411 static errno_t exec_handle_port_actions(struct image_params *imgp,
413 static errno_t exec_handle_exception_port_actions(const struct image_params *imgp,
439 exec_add_user_string(struct image_params *imgp, user_addr_t str, int seg, boolean_t is_ncargs) in exec_add_user_string()
516 exec_save_path(struct image_params *imgp, user_addr_t path, int seg, const char **excpath) in exec_save_path()
575 exec_reset_save_path(struct image_params *imgp) in exec_reset_save_path()
606 exec_shell_imgact(struct image_params *imgp) in exec_shell_imgact()
772 exec_fat_imgact(struct image_params *imgp) in exec_fat_imgact()
954 set_proc_name(struct image_params *imgp, proc_t p) in set_proc_name()
999 get_teamid_for_shared_region(struct image_params *imgp) in get_teamid_for_shared_region()
1072 const struct image_params *imgp, load_result_t *load_result) in encode_HR_entitlement()
1153 exec_check_security_entitlement(struct image_params *imgp, in exec_check_security_entitlement()
1190 imgact_setup_hardened_heap(struct image_params *imgp, task_t task) in imgact_setup_hardened_heap()
1238 static inline errno_t config_checked_allocations_entitlements(struct image_params *,
1242 imgact_setup_has_checked_allocations_entitlement(struct image_params *imgp, load_result_t *load_res… in imgact_setup_has_checked_allocations_entitlement()
1349 imgact_setup_sec(struct image_params *imgp, __unused load_result_t *load_result, task_t old_task, in imgact_setup_sec()
1567 config_checked_allocations_entitlements(struct image_params *imgp, load_result_t *load_result, in config_checked_allocations_entitlements()
1620 imgact_setup_guard_objects(struct image_params *imgp, load_result_t *load_result, task_t task) in imgact_setup_guard_objects()
1646 imgact_setup_runtime_mitigations(struct image_params *imgp, __unused load_result_t *load_result, in imgact_setup_runtime_mitigations()
1765 exec_mach_imgact(struct image_params *imgp) in exec_mach_imgact()
2768 int(*const ex_imgact)(struct image_params *);
2807 exec_activate_image(struct image_params *imgp) in exec_activate_image()
3162 exec_handle_port_actions(struct image_params *imgp, in exec_handle_port_actions()
3352 exec_handle_exception_port_actions(const struct image_params *imgp, in exec_handle_exception_port_actions()
3393 exec_handle_file_actions(struct image_params *imgp, short psa_flags) in exec_handle_file_actions()
4013 proc_apply_jit_and_vm_policies(struct image_params *imgp, proc_t p, task_t task) in proc_apply_jit_and_vm_policies()
4191 struct image_params *imgp = NULL; in posix_spawn()
4225 struct image_params imgp; in posix_spawn()
5633 …t old_proc, proc_t new_proc, task_t old_task, task_t new_task, struct image_params *imgp, void **i… in proc_exec_switch_task()
5867 struct image_params *imgp = NULL; in __mac_execve()
5880 struct image_params imgp; in __mac_execve()
6365 exec_copyout_strings(struct image_params *imgp, user_addr_t *stackp) in exec_copyout_strings()
6569 exec_extract_strings(struct image_params *imgp) in exec_extract_strings()
6849 exec_add_entropy_key(struct image_params *imgp, in exec_add_entropy_key()
6887 is_arm64e_running_as_arm64(const struct image_params *imgp) in is_arm64e_running_as_arm64()
6897 exec_add_apple_strings(struct image_params *imgp, in exec_add_apple_strings()
7256 exec_check_permissions(struct image_params *imgp) in exec_check_permissions()
7381 exec_handle_sugid(struct image_params *imgp) in exec_handle_sugid()
8143 execargs_alloc(struct image_params *imgp) in execargs_alloc()
8211 execargs_free(struct image_params *imgp) in execargs_free()
8247 uthread_set_exec_data(struct uthread *uth, struct image_params *imgp) in uthread_set_exec_data()
8256 struct image_params *imgp = uth->uu_save.uus_exec_data.imgp; in thread_get_current_exec_path()
8273 exec_resettextvp(proc_t p, struct image_params *imgp) in exec_resettextvp()
8418 process_signature(proc_t p, struct image_params *imgp) in process_signature()
8711 __unused struct image_params *imgp, in exec_prefault_data()