Searched refs:EXC_GUARD (Results 1 – 12 of 12) sorted by relevance
| /xnu-8019.80.24/tests/ |
| H A D | imm_pinned_control_port.c | 46 EXC_GUARD, // Soft crash delivered as EXC_CORPSE_NOTIFY 47 EXC_GUARD, 48 EXC_GUARD, 49 EXC_GUARD, 50 EXC_GUARD, 51 EXC_GUARD, 52 EXC_GUARD, 139 if (exception == EXC_GUARD || exception == EXC_CORPSE_NOTIFY) { in catch_mach_exception_raise() 394 if (exception_taken == EXC_GUARD) {
|
| H A D | immovable_send.c | 71 T_ASSERT_EQ(exception, EXC_GUARD, "exception type"); in catch_mach_exception_raise()
|
| /xnu-8019.80.24/osfmk/mach/ |
| H A D | exception_types.h | 101 #define EXC_GUARD 12 /* Violated guarded resource protections */ macro 154 #define EXC_MASK_GUARD (1 << EXC_GUARD)
|
| /xnu-8019.80.24/osfmk/corpses/ |
| H A D | corpse.c | 520 assert(etype == EXC_RESOURCE || etype == EXC_GUARD); in task_enqueue_exception_with_corpse() 575 if (etype == EXC_GUARD && EXC_GUARD_DECODE_GUARD_TYPE(code) == GUARD_TYPE_USER) { in task_generate_corpse_internal()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | kern_debug.c | 118 task_exception_notify(EXC_GUARD, code, subcode); in rejected_syscall_guard_ast()
|
| H A D | kern_guarded.c | 217 if (task_exception_notify(EXC_GUARD, code, subcode) == KERN_SUCCESS) { in fd_guard_ast() 1408 if (task_exception_notify(EXC_GUARD, code, subcode) == KERN_SUCCESS) { in vn_guard_ast()
|
| H A D | kern_exit.c | 1271 if (etype != EXC_RESOURCE || etype != EXC_GUARD) { in proc_prepareexit() 2820 return exit_with_mach_exception(p, reason, EXC_GUARD, code, subcode); in exit_with_guard_exception()
|
| /xnu-8019.80.24/osfmk/kern/ |
| H A D | exception.c | 559 (exception != EXC_GUARD) && (exception != EXC_CORPSE_NOTIFY)) { in exception_triage_thread()
|
| H A D | thread.c | 878 assert(EXC_RESOURCE == etype || EXC_GUARD == etype); in thread_exception_enqueue()
|
| H A D | task.c | 6683 kr = task_enqueue_exception_with_corpse(task, EXC_GUARD, codes, 2, reason); in PROC_VIOLATED_GUARD__SEND_EXC_GUARD_AND_SUSPEND()
|
| /xnu-8019.80.24/osfmk/ipc/ |
| H A D | mach_port.c | 2526 if (task_exception_notify(EXC_GUARD, code, subcode) == KERN_SUCCESS) { in mach_port_guard_ast() 2558 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode); in mach_port_guard_ast()
|
| /xnu-8019.80.24/osfmk/vm/ |
| H A D | vm_map.c | 7733 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode); in virt_memory_guard_ast()
|