| /xnu-11215.1.10/tests/ |
| H A D | imm_pinned_control_port.c | 50 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() 428 if (exception_taken == EXC_GUARD) { in test_imm_pinned_control_port()
|
| H A D | immovable_send.c | 72 T_ASSERT_EQ(exception, EXC_GUARD, "exception type"); in catch_mach_exception_raise()
|
| H A D | reply_port_defense.c | 122 if (exception == EXC_GUARD) { in catch_mach_exception_raise_identity_protected()
|
| H A D | corpse_backtrace.c | 51 T_ASSERT_EQ(codes[0], EXC_GUARD, "Effective exception should be EXC_GUARD"); in exc_handler_backtrace()
|
| /xnu-11215.1.10/osfmk/mach/ |
| H A D | exception_types.h | 101 #define EXC_GUARD 12 /* Violated guarded resource protections */ macro 162 #define EXC_MASK_GUARD (1 << EXC_GUARD)
|
| /xnu-11215.1.10/osfmk/corpses/ |
| H A D | corpse.c | 593 assert(etype == EXC_GUARD); in task_enqueue_exception_with_corpse() 635 assert(etype == EXC_RESOURCE || etype == EXC_GUARD); in task_enqueue_exception_with_corpse() 698 if (etype == EXC_GUARD && EXC_GUARD_DECODE_GUARD_TYPE(code) == GUARD_TYPE_USER) { in task_generate_corpse_internal()
|
| /xnu-11215.1.10/bsd/kern/ |
| H A D | kern_debug.c | 188 .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 D | kern_guarded.c | 239 .exception_type = EXC_GUARD, in fd_guard_ast() 244 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in fd_guard_ast() 1371 .exception_type = EXC_GUARD, in vn_guard_ast() 1376 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in vn_guard_ast()
|
| H A D | kern_exit.c | 1932 if (etype != EXC_RESOURCE || etype != EXC_GUARD) { in proc_prepareexit()
|
| H A D | proc_info.c | 1951 …task_enqueue_exception_with_corpse(current_task(), EXC_GUARD, code, EXCEPTION_CODE_MAX, NULL, TRUE… in PROC_UNPERMITTED_PIDINFO_FLAVOR()
|
| /xnu-11215.1.10/osfmk/kern/ |
| H A D | exception.c | 621 assert(exception == EXC_GUARD); in exception_deliver_backtrace() 789 (exception != EXC_GUARD) && (exception != EXC_CORPSE_NOTIFY)) { in exception_triage_thread() 954 if (fatal && !developer_mode_state() && exception == EXC_GUARD) { in task_exception_notify()
|
| H A D | exclaves_resource.c | 1522 .exception_type = EXC_GUARD, in exclaves_conclave_stop_upcall_complete()
|
| H A D | thread.c | 973 assert(EXC_RESOURCE == etype || EXC_GUARD == etype); in thread_exception_enqueue()
|
| H A D | task.c | 6961 kr = task_enqueue_exception_with_corpse(task, EXC_GUARD, codes, 2, reason, backtrace_only); in PROC_VIOLATED_GUARD__SEND_EXC_GUARD()
|
| /xnu-11215.1.10/tests/skywalk/ |
| H A D | skywalk_test_driver.c | 76 if (exception != EXC_CRASH && exception != EXC_GUARD) { in catch_mach_exception_raise()
|
| /xnu-11215.1.10/osfmk/ipc/ |
| H A D | mach_port.c | 2536 .exception_type = EXC_GUARD, in mach_port_guard_ast() 2541 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in mach_port_guard_ast() 2570 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, fatal); in mach_port_guard_ast() 2587 .exception_type = EXC_GUARD, in mach_port_guard_ast()
|
| /xnu-11215.1.10/osfmk/vm/ |
| H A D | vm_reclaim.c | 625 .exception_type = EXC_GUARD, in reclaim_kill_with_reason()
|
| H A D | vm_map.c | 7629 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, fatal); in virt_memory_guard_ast() 7642 .exception_type = EXC_GUARD, in virt_memory_guard_ast()
|
| /xnu-11215.1.10/osfmk/arm64/ |
| H A D | sleh.c | 1813 .exception_type = EXC_GUARD, in handle_user_abort()
|