Searched refs:TASK_FLAVOR_CONTROL (Results 1 – 11 of 11) sorted by relevance
| /xnu-11215.1.10/tests/ipc/ |
| H A D | ipc_read_inspect.c | 74 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "task_get_special_port(TASK_KERNEL_PORT)"); in test_task_get_special_port() 79 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "task_get_special_port(TASK_BOOTSTRAP_PORT)"); in test_task_get_special_port() 84 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "task_get_special_port(TASK_HOST_PORT)"); in test_task_get_special_port() 193 case TASK_FLAVOR_CONTROL: in test_task_threads() 257 case TASK_FLAVOR_CONTROL: in test_processor_set_tasks() 297 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "mach_vm_write"); in test_task_port_mig_intrans() 318 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "mach_vm_remap_new - VM_PROT_WRITE"); in test_task_port_mig_intrans() 333 RESULT_CHECK(kr, flavor, TASK_FLAVOR_CONTROL, "task_get_exception_ports"); in test_task_port_mig_intrans() 546 task_flavors[0] = TASK_FLAVOR_CONTROL; 551 task_flavors[1] = TASK_FLAVOR_CONTROL;
|
| /xnu-11215.1.10/osfmk/kern/ |
| H A D | ipc_tt.c | 199 task->itk_task_ports[TASK_FLAVOR_CONTROL] = kport; in ipc_task_init() 261 assert(parent->itk_task_ports[TASK_FLAVOR_CONTROL] != IP_NULL); in ipc_task_init() 310 ipc_port_t kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_set_immovable_pinned() 314 assert(task->itk_self == task->itk_task_ports[TASK_FLAVOR_CONTROL]); in ipc_task_set_immovable_pinned() 381 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_enable() 437 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_disable() 519 kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_terminate() 530 task->itk_task_ports[TASK_FLAVOR_CONTROL] = IP_NULL; in ipc_task_terminate() 681 old_kport = task->itk_task_ports[TASK_FLAVOR_CONTROL]; in ipc_task_reset() 701 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 | 1702 return processor_set_tasks_internal(pset, task_list, count, TASK_FLAVOR_CONTROL); in processor_set_tasks() 1718 case TASK_FLAVOR_CONTROL: in processor_set_tasks_with_flavor() 1761 PSET_THING_THREAD, TASK_FLAVOR_CONTROL); in processor_set_threads() 1767 convert_thread_array_to_ports(*thread_list, *count, TASK_FLAVOR_CONTROL); in processor_set_threads()
|
| /xnu-11215.1.10/tests/ |
| 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 | 32 …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-11215.1.10/osfmk/mach/ |
| H A D | mach_types.h | 363 #define TASK_FLAVOR_CONTROL 0 /* a task_t */ macro
|
| /xnu-11215.1.10/bsd/kern/ |
| H A D | kern_proc.c | 5454 error = mac_proc_check_get_task(kauth_cred_get(), &pident, TASK_FLAVOR_CONTROL); in task_for_pid() 5473 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in task_for_pid() 5925 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in pid_suspend() 6035 error = mac_proc_check_get_task(kauth_cred_get(), &pident, TASK_FLAVOR_CONTROL); in debug_control_port_for_pid() 6055 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in debug_control_port_for_pid() 6152 proc_selfpid(), kauth_getgid(), pid, TASK_FLAVOR_CONTROL); in pid_resume()
|
| /xnu-11215.1.10/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()
|