Home
last modified time | relevance | path

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

/xnu-11215/bsd/kern/
H A Dkern_debug.c130 bool fatal = (bool)(flags & SYSCALL_REJECTION_FLAGS_FORCE_FATAL); in debug_syscall_rejection_handle() local
134 if (!fatal) { in debug_syscall_rejection_handle()
140 fatal = true; in debug_syscall_rejection_handle()
158 if (!fatal) { in debug_syscall_rejection_handle()
161 thread_guard_violation(current_thread(), code, subcode, fatal); in debug_syscall_rejection_handle()
169 return fatal; in debug_syscall_rejection_handle()
178 const bool fatal = true; in rejected_syscall_guard_ast() local
193 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in rejected_syscall_guard_ast()
H A Dkern_guarded.c76 mach_exception_data_type_t code, mach_exception_data_type_t subcode, const bool fatal);
229 const bool fatal = true; in fd_guard_ast() local
244 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in fd_guard_ast()
1342 const bool fatal = (flavor == VNG_PERMISSIONS) ? false : true; in vn_guard_ast() local
1376 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in vn_guard_ast()
1377 if (fatal) { in vn_guard_ast()
1381 if (!fatal) { in vn_guard_ast()
1386 if (fatal) { in vn_guard_ast()
H A Dkern_exit.c230 mach_exception_data_type_t code, mach_exception_data_type_t subcode, bool fatal);
1951 const bool fatal = false; in proc_prepareexit() local
1952 kr = task_exception_notify(EXC_CRASH, code, subcode, fatal); in proc_prepareexit()
/xnu-11215/osfmk/mach/
H A Dresource_notify.defs64 killed_proc_path : posix_path_t; /* filled in if fatal */
84 killed_proc_path : posix_path_t; /* filled in if fatal */
104 killed_proc_path : posix_path_t; /* filled in if fatal */
/xnu-11215/osfmk/kern/
H A Dexception.h87 mach_exception_data_type_t code, mach_exception_data_type_t subcode, const bool fatal);
H A Dthread.c2442 mach_exception_data_type_t code, mach_exception_data_type_t subcode, boolean_t fatal) in thread_guard_violation() argument
2463 if (thread->guard_exc_info.code && (thread->guard_exc_fatal || !fatal)) { in thread_guard_violation()
2469 thread->guard_exc_fatal = fatal ? 1 : 0; in thread_guard_violation()
2552 boolean_t fatal = FALSE; in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU() local
2568 fatal = TRUE; in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2621 (fatal ? " [fatal violation]" : "")); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2633 fatal ? kRNFatalLimitFlag : 0); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2643 procname, pid, tid, fatal ? " (and termination)" : ""); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2659 if (fatal) { in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2671 if (fatal) { in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
H A Dexception.c944 mach_exception_data_type_t exccode, mach_exception_data_type_t excsubcode, const bool fatal) in task_exception_notify() argument
954 if (fatal && !developer_mode_state() && exception == EXC_GUARD) { in task_exception_notify()
H A Dtask.c8104 boolean_t fatal; in SENDING_NOTIFICATION__THIS_PROCESS_IS_CAUSING_TOO_MANY_WAKEUPS() local
8128 fatal = task->rusage_cpu_flags & TASK_RUSECPU_FLAGS_FATAL_WAKEUPSMON; in SENDING_NOTIFICATION__THIS_PROCESS_IS_CAUSING_TOO_MANY_WAKEUPS()
8137 fatal ? "FATAL " : "", in SENDING_NOTIFICATION__THIS_PROCESS_IS_CAUSING_TOO_MANY_WAKEUPS()
8142 fatal ? kRNFatalLimitFlag : 0); in SENDING_NOTIFICATION__THIS_PROCESS_IS_CAUSING_TOO_MANY_WAKEUPS()
8176 if (fatal) { in SENDING_NOTIFICATION__THIS_PROCESS_IS_CAUSING_TOO_MANY_WAKEUPS()
/xnu-11215/osfmk/ipc/
H A Dmach_port.c2439 boolean_t fatal = FALSE; in mach_port_guard_exception() local
2443 fatal = TRUE; in mach_port_guard_exception()
2445 fatal = TRUE; in mach_port_guard_exception()
2447 thread_guard_violation(t, code, subcode, fatal); in mach_port_guard_exception()
2520 bool fatal = true; in mach_port_guard_ast() local
2541 if (task_exception_notify(EXC_GUARD, code, subcode, fatal) == KERN_SUCCESS) { in mach_port_guard_ast()
2567 fatal = (task->task_exc_guard & TASK_EXC_GUARD_MP_FATAL) in mach_port_guard_ast()
2570 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, fatal); in mach_port_guard_ast()
/xnu-11215/osfmk/vm/
H A Dvm_reclaim.c608 boolean_t fatal = TRUE; in reclaim_kill_with_reason() local
644 fatal = (task->task_exc_guard & TASK_EXC_GUARD_VM_FATAL); in reclaim_kill_with_reason()
648 if (!fatal) { in reclaim_kill_with_reason()
H A Dvm_map.c7780 const bool fatal = task->task_exc_guard & TASK_EXC_GUARD_VM_FATAL; in virt_memory_guard_ast() local
7782 sync_exception_result = task_exception_notify(EXC_GUARD, code, subcode, fatal); in virt_memory_guard_ast()
7784 if (fatal) { in virt_memory_guard_ast()
7833 boolean_t fatal = FALSE; in vm_map_guard_exception() local
7847 fatal = TRUE; in vm_map_guard_exception()
7849 thread_guard_violation(current_thread(), code, subcode, fatal); in vm_map_guard_exception()
/xnu-11215/doc/vm/
H A Dmemorystatus_notify.md22 …T_CRITICAL` | Process has violated memory limit. Only sent if the memory limit is non-fatal/soft. |
/xnu-11215/doc/building/
H A Dbound_checks.md139 though `bound-checks-soft` is ideally non-fatal, failing a bounds check in
159 Due to security concerns, namely non fatal traps, `bound-checks-seed`
/xnu-11215/config/
H A DMASTER646 options CONFIG_NONFATAL_ASSERTS # non fatal asserts # <softasserts>
793 # Support for non-fatal Branch Target Identification exception reporting and logging
/xnu-11215/makedefs/
H A DMakeInc.def584 UBSAN_CHECKS += signed-integer-overflow shift pointer-overflow bounds object-size # non-fatal (call…
586 UBSAN_CHECKS_FATAL = # fatal (calls runtime, must not ret…