Searched refs:TASK_FLAVOR_CONTROL (Results 1 – 11 of 11) sorted by relevance
| /xnu-10063.141.1/tests/ |
| H A D | ipc_read_inspect.c | 73 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 D | exception_tests.c | 41 …kr = task_identity_token_get_task_port(token, TASK_FLAVOR_CONTROL, &port2); /* Immovable control p… in exc_handler_identity_protected()
|
| H A D | task_ident_test.c | 31 …kr = task_identity_token_get_task_port(token, TASK_FLAVOR_CONTROL, &port2); /* Immovable control p…
|
| H A D | corpse_backtrace.c | 210 …kr = task_identity_token_get_task_port(token, TASK_FLAVOR_CONTROL, &port2); /* Immovable control p… in exc_handler_identity_protected()
|
| H A D | imm_pinned_control_port.c | 304 kr = processor_set_tasks_with_flavor(pset_priv, TASK_FLAVOR_CONTROL, &taskList, &tcnt); in test_task_thread_port_values()
|
| /xnu-10063.141.1/osfmk/kern/ |
| H A D | ipc_tt.c | 188 task->itk_task_ports[TASK_FLAVOR_CONTROL] = kport; in ipc_task_init() 246 assert(parent->itk_task_ports[TASK_FLAVOR_CONTROL] != IP_NULL); in ipc_task_init() 298 ipc_port_t kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_set_immovable_pinned() 302 assert(task->itk_self == task->itk_task_ports[TASK_FLAVOR_CONTROL]); in ipc_task_set_immovable_pinned() 367 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_enable() 423 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_disable() 503 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_terminate() 512 task->itk_task_ports[TASK_FLAVOR_CONTROL] = IP_NULL; in ipc_task_terminate() 654 old_kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_reset() 675 task->itk_task_ports[TASK_FLAVOR_CONTROL] = new_kport; in ipc_task_reset() [all …]
|
| H A D | task_ident.c | 236 if (flavor != TASK_FLAVOR_CONTROL) { in task_identity_token_get_task_port() 250 if (flavor == TASK_FLAVOR_CONTROL && task == current_task()) { in task_identity_token_get_task_port()
|
| H A D | processor.c | 1560 return processor_set_tasks_internal(pset, task_list, count, TASK_FLAVOR_CONTROL); in processor_set_tasks() 1576 case TASK_FLAVOR_CONTROL: in processor_set_tasks_with_flavor() 1619 PSET_THING_THREAD, TASK_FLAVOR_CONTROL); in processor_set_threads() 1625 convert_thread_array_to_ports(*thread_list, *count, TASK_FLAVOR_CONTROL); in processor_set_threads()
|
| /xnu-10063.141.1/osfmk/mach/ |
| H A D | mach_types.h | 362 #define TASK_FLAVOR_CONTROL 0 /* a task_t */ macro
|
| /xnu-10063.141.1/bsd/vm/ |
| H A D | vm_unix.c | 1017 error = mac_proc_check_get_task(kauth_cred_get(), &pident, TASK_FLAVOR_CONTROL); in task_for_pid() 1036 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in task_for_pid() 1488 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in pid_suspend() 1598 error = mac_proc_check_get_task(kauth_cred_get(), &pident, TASK_FLAVOR_CONTROL); in debug_control_port_for_pid() 1618 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in debug_control_port_for_pid() 1715 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in pid_resume()
|
| /xnu-10063.141.1/bsd/dev/dtrace/ |
| H A D | fasttrap.c | 599 (void) mac_proc_check_get_task(state->dts_cred.dcr_cred, &pident, TASK_FLAVOR_CONTROL); in fasttrap_setdebug()
|