Loading...
--- xnu/xnu-12377.61.12/bsd/sys/reason.h
+++ xnu/xnu-11417.101.15/bsd/sys/reason.h
@@ -89,7 +89,7 @@
#if CONFIG_EXCLAVES
int exit_with_exclave_exception(struct proc *p, exception_info_t exception, uint32_t flags);
#endif
-void exit_with_mach_exception_using_ast(exception_info_t exception, uint32_t flags, bool fatal);
+void exit_with_mach_exception_using_ast(exception_info_t exception, uint32_t flags);
#else /* XNU_KERNEL_PRIVATE */
@@ -147,22 +147,19 @@
#define OS_REASON_ROSETTA 34
#define OS_REASON_LIBIGNITION 35
#define OS_REASON_BOOTMOUNT 36
-#define OS_REASON_MTE_FAIL 37
+
+
#define OS_REASON_REALITYKIT 38
#define OS_REASON_AUDIO 39
#define OS_REASON_WAKEBOARD 40
#define OS_REASON_CORERC 41
#define OS_REASON_SELF_RESTRICT 42
#define OS_REASON_ARKIT 43
-#define OS_REASON_CAMERA 44
-#define OS_REASON_BACKBOARD 45
-#define OS_REASON_POWEREXCEPTIONS 46
-#define OS_REASON_SECINIT 47
/*
* Update whenever new OS_REASON namespaces are added.
*/
-#define OS_REASON_MAX_VALID_NAMESPACE OS_REASON_SECINIT
+#define OS_REASON_MAX_VALID_NAMESPACE OS_REASON_ARKIT
#define OS_REASON_BUFFER_MAX_SIZE 5120
@@ -297,7 +294,6 @@
#define EXEC_EXIT_REASON_SET_DYLD_INFO 17
#define EXEC_EXIT_REASON_MACHINE_THREAD 18
#define EXEC_EXIT_REASON_BAD_PSATTR 19
-#define EXEC_EXIT_REASON_NOX86EXEC 20
#define EXEC_EXIT_REASON_MAP_EXEC_FAILURE 21
/*
* guard reasons