Home
last modified time | relevance | path

Searched refs:EXC_GUARD (Results 1 – 21 of 21) sorted by relevance

/xnu-12377.81.4/tests/ipc/
H A Dimm_pinned_control_port.c51 EXC_GUARD, // Soft crash delivered as EXC_CORPSE_NOTIFY
52 EXC_GUARD,
53 EXC_GUARD,
54 EXC_GUARD,
55 EXC_GUARD,
56 EXC_GUARD,
57 EXC_GUARD,
141 if (exception == EXC_GUARD || exception == EXC_CORPSE_NOTIFY) { in catch_mach_exception_raise_identity_protected()
376 if (exception_taken == EXC_GUARD) { in test_imm_control_port_exc_behavior()
/xnu-12377.81.4/osfmk/mach/
H A Dexception_types.h101 #define EXC_GUARD 12 /* Violated guarded resource protections */ macro
162 #define EXC_MASK_GUARD (1 << EXC_GUARD)
/xnu-12377.81.4/osfmk/arm64/
H A Dmte.c323 …kern_return_t sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, /* fatal */ … in mte_guard_ast()
328 .exception_type = EXC_GUARD, in mte_guard_ast()
/xnu-12377.81.4/osfmk/corpses/
H A Dcorpse.c595 assert(etype == EXC_GUARD); in task_enqueue_exception_with_corpse()
637 assert(etype == EXC_RESOURCE || etype == EXC_GUARD); in task_enqueue_exception_with_corpse()
700 if (etype == EXC_GUARD && EXC_GUARD_DECODE_GUARD_TYPE(code) == GUARD_TYPE_USER) { in task_generate_corpse_internal()
/xnu-12377.81.4/bsd/kern/
H A Dkern_debug.c188 .exception_type = EXC_GUARD, in rejected_syscall_guard_ast()
193 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in rejected_syscall_guard_ast()
H A Dkern_guarded.c239 .exception_type = EXC_GUARD, in fd_guard_ast()
244 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in fd_guard_ast()
1376 .exception_type = EXC_GUARD, in vn_guard_ast()
1381 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in vn_guard_ast()
H A Dkern_exit.c878 …(etype == EXC_GUARD && guard_type == GUARD_TYPE_VIRT_MEMORY && vm_guard_is_mte_fault(guard_flavor)… in populate_corpse_crashinfo()
1991 if (etype != EXC_RESOURCE && etype != EXC_GUARD) { in proc_prepareexit()
H A Dproc_info.c2011 …task_enqueue_exception_with_corpse(current_task(), EXC_GUARD, code, EXCEPTION_CODE_MAX, NULL, TRUE… in PROC_UNPERMITTED_PIDINFO_FLAVOR()
/xnu-12377.81.4/osfmk/kern/
H A Dexception.c620 assert(exception == EXC_GUARD); in exception_deliver_backtrace()
788 (exception != EXC_GUARD) && (exception != EXC_CORPSE_NOTIFY)) { in exception_triage_thread()
1010 if (fatal && !developer_mode_state() && exception == EXC_GUARD) { in task_exception_notify()
H A Dthread.c981 assert(EXC_RESOURCE == etype || EXC_GUARD == etype); in thread_exception_enqueue()
2515 thread_ast_mach_exception(thread, OS_REASON_GUARD, EXC_GUARD, code, subcode, fatal, false); in thread_guard_violation()
H A Dexclaves_resource.c1397 .exception_type = EXC_GUARD, in exclaves_conclave_stop_upcall_complete()
H A Dtask.c7228 kr = task_enqueue_exception_with_corpse(task, EXC_GUARD, codes, 2, reason, backtrace_only); in PROC_VIOLATED_GUARD__SEND_EXC_GUARD()
/xnu-12377.81.4/osfmk/ipc/
H A Dipc_policy.c1242 .exception_type = EXC_GUARD, in mach_port_guard_ast()
1247 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in mach_port_guard_ast()
1277 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, fatal); in mach_port_guard_ast()
1294 .exception_type = EXC_GUARD, in mach_port_guard_ast()
/xnu-12377.81.4/tests/
H A Dimmovable_send.c72 T_ASSERT_EQ(exception, EXC_GUARD, "exception type"); in catch_mach_exception_raise()
H A Dexc_guard_helper.c93 T_QUIET; T_ASSERT_EQ(exception, EXC_GUARD, "exception type"); in exc_guard_helper_exception_handler()
H A Dcorpse_backtrace.c51 T_ASSERT_EQ(codes[0], EXC_GUARD, "Effective exception should be EXC_GUARD"); in exc_handler_backtrace()
H A Dreply_port_defense.c175 if (exception == EXC_GUARD) { in catch_mach_exception_raise_identity_protected()
/xnu-12377.81.4/tests/skywalk/
H A Dskywalk_test_driver.c76 if (exception != EXC_CRASH && exception != EXC_GUARD) { in catch_mach_exception_raise()
/xnu-12377.81.4/doc/mach_ipc/
H A Dguard_exceptions.md38 Exception Type: EXC_GUARD (SIGKILL)
/xnu-12377.81.4/osfmk/vm/
H A Dvm_reclaim.c668 .exception_type = EXC_GUARD, in reclaim_kill_with_reason()
H A Dvm_map.c2984 kern_return_t kr = task_exception_notify(EXC_GUARD, code, subcode, FALSE); in vm_map_enter_large_telemetry_ast()
8356 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, fatal); in virt_memory_guard_ast()
8369 .exception_type = EXC_GUARD, in virt_memory_guard_ast()