Home
last modified time | relevance | path

Searched refs:TASK_FLAVOR_CONTROL (Results 1 – 11 of 11) sorted by relevance

/xnu-8792.61.2/tests/
H A Dipc_read_inspect.c73 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "task_get_special_port(TASK_KERNEL_PORT)"); in test_task_get_special_port()
78 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "task_get_special_port(TASK_BOOTSTRAP_PORT)"); in test_task_get_special_port()
83 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "task_get_special_port(TASK_HOST_PORT)"); in test_task_get_special_port()
192 case TASK_FLAVOR_CONTROL: in test_task_threads()
256 case TASK_FLAVOR_CONTROL: in test_processor_set_tasks()
296 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "mach_vm_write"); in test_task_port_mig_intrans()
317 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "mach_vm_remap_new - VM_PROT_WRITE"); in test_task_port_mig_intrans()
332 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "task_get_exception_ports"); in test_task_port_mig_intrans()
545 task_flavors[0] = TASK_FLAVOR_CONTROL;
550 task_flavors[1] = TASK_FLAVOR_CONTROL;
H A Dexception_tests.c41 …kr = task_identity_token_get_task_port(token, TASK_FLAVOR_CONTROL, &port2); /* Immovable control p… in exc_handler_identity_protected()
H A Dtask_ident_test.c31 …kr = task_identity_token_get_task_port(token, TASK_FLAVOR_CONTROL, &port2); /* Immovable control p…
H A Dcorpse_backtrace.c210 …kr = task_identity_token_get_task_port(token, TASK_FLAVOR_CONTROL, &port2); /* Immovable control p… in exc_handler_identity_protected()
H A Dimm_pinned_control_port.c288 kr = processor_set_tasks_with_flavor(pset_priv, TASK_FLAVOR_CONTROL, &taskList, &tcnt); in test_task_thread_port_values()
/xnu-8792.61.2/osfmk/kern/
H A Dipc_tt.c171 task->itk_task_ports[TASK_FLAVOR_CONTROL] = kport; in ipc_task_init()
229 assert(parent->itk_task_ports[TASK_FLAVOR_CONTROL] != IP_NULL); in ipc_task_init()
281 ipc_port_t kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_set_immovable_pinned()
285 assert(task->itk_self == task->itk_task_ports[TASK_FLAVOR_CONTROL]); in ipc_task_set_immovable_pinned()
350 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_enable()
406 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_disable()
486 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_terminate()
495 task->itk_task_ports[TASK_FLAVOR_CONTROL] = IP_NULL; in ipc_task_terminate()
637 old_kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_reset()
658 task->itk_task_ports[TASK_FLAVOR_CONTROL] = new_kport; in ipc_task_reset()
[all …]
H A Dtask_ident.c235 if (flavor != TASK_FLAVOR_CONTROL) { in task_identity_token_get_task_port()
249 if (flavor == TASK_FLAVOR_CONTROL && task == current_task()) { in task_identity_token_get_task_port()
H A Dprocessor.c1525 case TASK_FLAVOR_CONTROL: in processor_set_tasks_internal()
1563 return processor_set_tasks_internal(pset, task_list, count, TASK_FLAVOR_CONTROL); in processor_set_tasks()
1579 case TASK_FLAVOR_CONTROL: in processor_set_tasks_with_flavor()
1622 … = processor_set_things(pset, (void **)thread_list, count, PSET_THING_THREAD, TASK_FLAVOR_CONTROL); in processor_set_threads()
/xnu-8792.61.2/osfmk/mach/
H A Dmach_types.h348 #define TASK_FLAVOR_CONTROL 0 /* a task_t */ macro
/xnu-8792.61.2/bsd/vm/
H A Dvm_unix.c973 error = mac_proc_check_get_task(kauth_cred_get(), &pident, TASK_FLAVOR_CONTROL); in task_for_pid()
992 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in task_for_pid()
1442 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in pid_suspend()
1552 error = mac_proc_check_get_task(kauth_cred_get(), &pident, TASK_FLAVOR_CONTROL); in debug_control_port_for_pid()
1572 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in debug_control_port_for_pid()
1669 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in pid_resume()
/xnu-8792.61.2/bsd/dev/dtrace/
H A Dfasttrap.c599 (void) mac_proc_check_get_task(state->dts_cred.dcr_cred, &pident, TASK_FLAVOR_CONTROL); in fasttrap_setdebug()