Searched refs:old_task (Results 1 – 12 of 12) sorted by relevance
| /xnu-11215/bsd/kern/ |
| H A D | kern_exec.c | 3624 task_t old_task = current_task(); in posix_spawn() local 4655 proc_inherit_task_role(new_task, old_task); in posix_spawn() 4930 if (task_did_exec(old_task)) { in posix_spawn() 4932 task_terminate_internal(old_task); in posix_spawn() 5072 task_set_did_exec_flag(old_task); in proc_exec_switch_task() 5075 task_copy_fields_for_exec(new_task, old_task); in proc_exec_switch_task() 5239 task_t old_task = current_task(); in __mac_execve() local 5438 proc_inherit_task_role(new_task, old_task); in __mac_execve() 5504 task_transfer_turnstile_watchports(old_task, in __mac_execve() 5512 if (task_did_exec(old_task)) { in __mac_execve() [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | exclaves_resource.h | 331 exclaves_conclave_inherit(exclaves_resource_t *resource, task_t old_task,
|
| H A D | exclaves_resource.c | 904 exclaves_conclave_inherit(exclaves_resource_t *resource, task_t old_task, in exclaves_conclave_inherit() argument 916 assert3p(old_task->conclave, !=, NULL); in exclaves_conclave_inherit() 917 assert3p(resource, ==, old_task->conclave); in exclaves_conclave_inherit() 927 old_task->conclave = NULL; in exclaves_conclave_inherit() 935 task_deallocate(old_task); in exclaves_conclave_inherit()
|
| H A D | task.c | 4629 task_t old_task, in task_transfer_turnstile_watchports() argument 4644 is_write_lock(old_task->itk_space); in task_transfer_turnstile_watchports() 4645 if (old_task->watchports == NULL) { in task_transfer_turnstile_watchports() 4646 is_write_unlock(old_task->itk_space); in task_transfer_turnstile_watchports() 4651 is_write_unlock(old_task->itk_space); in task_transfer_turnstile_watchports() 4656 is_write_lock(old_task->itk_space); in task_transfer_turnstile_watchports() 4664 is_write_unlock(old_task->itk_space); in task_transfer_turnstile_watchports() 4698 old_task->watchports = NULL; in task_transfer_turnstile_watchports() 4713 is_write_unlock(old_task->itk_space); in task_transfer_turnstile_watchports() 10152 if (old_task->conclave == NULL || in task_inherit_conclave() [all …]
|
| H A D | policy_internal.h | 142 extern void proc_inherit_task_role(task_t new_task, task_t old_task);
|
| H A D | task.h | 813 task_t old_task, 1362 kern_return_t task_inherit_conclave(task_t old_task, task_t new_task, void *vnode, int64_t off);
|
| H A D | task_policy.c | 2153 task_t old_task) in proc_inherit_task_role() argument 2158 role = proc_get_task_policy(old_task, TASK_POLICY_ATTRIBUTE, TASK_POLICY_ROLE); in proc_inherit_task_role()
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_importance.h | 196 extern ipc_importance_inherit_t ipc_importance_exec_switch_task(task_t old_task, task_t new_task);
|
| H A D | ipc_importance.c | 2158 task_t old_task, in ipc_importance_exec_switch_task() argument 2165 task_importance_reset(old_task); in ipc_importance_exec_switch_task() 2168 inherit = ipc_importance_inherit_from_task(old_task, new_task); in ipc_importance_exec_switch_task() 2173 old_task_imp = old_task->task_imp_base; in ipc_importance_exec_switch_task() 2177 new_task_imp->iit_task = old_task; in ipc_importance_exec_switch_task() 2179 old_task->task_imp_base = new_task_imp; in ipc_importance_exec_switch_task()
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_map_internal.h | 640 task_t old_task,
|
| H A D | vm_map.c | 23650 task_t old_task, in vm_map_copy_footprint_ledgers() argument 23653 vm_map_copy_ledger(old_task, new_task, task_ledgers.phys_footprint); in vm_map_copy_footprint_ledgers() 23656 vm_map_copy_ledger(old_task, new_task, task_ledgers.internal); in vm_map_copy_footprint_ledgers() 23658 vm_map_copy_ledger(old_task, new_task, task_ledgers.iokit_mapped); in vm_map_copy_footprint_ledgers() 23661 vm_map_copy_ledger(old_task, new_task, task_ledgers.page_table); in vm_map_copy_footprint_ledgers() 23662 vm_map_copy_ledger(old_task, new_task, task_ledgers.tagged_footprint); in vm_map_copy_footprint_ledgers() 23666 vm_map_copy_ledger(old_task, new_task, task_ledgers.media_footprint); in vm_map_copy_footprint_ledgers() 23670 vm_map_copy_ledger(old_task, new_task, task_ledgers.neural_footprint); in vm_map_copy_footprint_ledgers() 23672 vm_map_copy_ledger(old_task, new_task, task_ledgers.wired_mem); in vm_map_copy_footprint_ledgers() 23682 task_t old_task, in vm_map_copy_ledger() argument [all …]
|
| H A D | vm_map_xnu.h | 688 task_t old_task,
|