Home
last modified time | relevance | path

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

/xnu-10063.101.15/tests/
H A Dimm_pinned_control_port.c50 EXC_GUARD, // Soft crash delivered as EXC_CORPSE_NOTIFY
51 EXC_GUARD,
52 EXC_GUARD,
53 EXC_GUARD,
54 EXC_GUARD,
55 EXC_GUARD,
56 EXC_GUARD,
140 if (exception == EXC_GUARD || exception == EXC_CORPSE_NOTIFY) { in catch_mach_exception_raise_identity_protected()
424 if (exception_taken == EXC_GUARD) { in test_imm_pinned_control_port()
H A Dimmovable_send.c71 T_ASSERT_EQ(exception, EXC_GUARD, "exception type"); in catch_mach_exception_raise()
H A Dreply_port_defense.c101 if (exception == EXC_GUARD) { in catch_mach_exception_raise_identity_protected()
H A Dcorpse_backtrace.c51 T_ASSERT_EQ(codes[0], EXC_GUARD, "Effective exception should be EXC_GUARD"); in exc_handler_backtrace()
/xnu-10063.101.15/osfmk/mach/
H A Dexception_types.h101 #define EXC_GUARD 12 /* Violated guarded resource protections */ macro
157 #define EXC_MASK_GUARD (1 << EXC_GUARD)
/xnu-10063.101.15/osfmk/corpses/
H A Dcorpse.c592 assert(etype == EXC_GUARD); in task_enqueue_exception_with_corpse()
634 assert(etype == EXC_RESOURCE || etype == EXC_GUARD); in task_enqueue_exception_with_corpse()
697 if (etype == EXC_GUARD && EXC_GUARD_DECODE_GUARD_TYPE(code) == GUARD_TYPE_USER) { in task_generate_corpse_internal()
/xnu-10063.101.15/osfmk/kern/
H A Dexception.c545 assert(exception == EXC_GUARD); in exception_deliver_backtrace()
713 (exception != EXC_GUARD) && (exception != EXC_CORPSE_NOTIFY)) { in exception_triage_thread()
871 if (fatal && !developer_mode_state() && exception == EXC_GUARD) { in task_exception_notify()
H A Dthread.c969 assert(EXC_RESOURCE == etype || EXC_GUARD == etype); in thread_exception_enqueue()
H A Dtask.c6963 kr = task_enqueue_exception_with_corpse(task, EXC_GUARD, codes, 2, reason, backtrace_only); in PROC_VIOLATED_GUARD__SEND_EXC_GUARD()
/xnu-10063.101.15/bsd/kern/
H A Dkern_debug.c186 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in rejected_syscall_guard_ast()
H A Dkern_guarded.c235 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in fd_guard_ast()
1324 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in vn_guard_ast()
H A Dkern_exit.c1939 if (etype != EXC_RESOURCE || etype != EXC_GUARD) { in proc_prepareexit()
3534 return exit_with_mach_exception(p, reason, EXC_GUARD, code, subcode); in exit_with_guard_exception()
H A Dproc_info.c1943 …task_enqueue_exception_with_corpse(current_task(), EXC_GUARD, code, EXCEPTION_CODE_MAX, NULL, TRUE… in PROC_UNPERMITTED_PIDINFO_FLAVOR()
/xnu-10063.101.15/osfmk/ipc/
H A Dmach_port.c2517 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in mach_port_guard_ast()
2547 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, fatal); in mach_port_guard_ast()
/xnu-10063.101.15/osfmk/vm/
H A Dvm_map.c7967 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, fatal); in virt_memory_guard_ast()