Loading...
--- libmalloc/libmalloc-792.60.6/src/malloc_common.h
+++ libmalloc/libmalloc-715.100.22/src/malloc_common.h
@@ -188,11 +188,6 @@
 	MALLOC_PROCESS_BACKBOARDD,
 #endif
 
-	MALLOC_PROCESS_REPORTCRASH,
-	MALLOC_PROCESS_AUDIOCONVERTERSERVICE,
-
-	MALLOC_PROCESS_HARDENED_HEAP_CONFIG,
-
 	// NOTE: Processes enumerated above this line are considered "security
 	// critical", and will get additional features (guard pages, more pointer
 	// buckets, etc) if the secure allocator is enabled. Processes below the
@@ -203,11 +198,6 @@
 	// Non security critical processes
 	MALLOC_PROCESS_AEGIRPOSTER,
 	MALLOC_PROCESS_COLLECTIONSPOSTER,
-
-#if TARGET_OS_WATCH
-	MALLOC_PROCESS_BACKBOARDD,
-	MALLOC_PROCESS_CLOCKFACE,
-#endif // TARGET_OS_WATCH
 
 #if TARGET_OS_OSX
 	// Processes that need secure allocator
@@ -216,16 +206,12 @@
 	MALLOC_PROCESS_KEYCHAINSHARINGMESSAGINGD,
 	MALLOC_PROCESS_MESSAGES,
 	MALLOC_PROCESS_SCREENSHARING,
-
-	// Processes that do not get secure allocator
-	MALLOC_PROCESS_VTENCODERXPCSERVICE,
 #endif
 
 #if TARGET_OS_VISION
 	MALLOC_PROCESS_WAKEBOARDD,
 	MALLOC_PROCESS_REALITYCAMERAD,
 #endif
-
 
 	MALLOC_PROCESS_COUNT,
 } malloc_process_identity_t;
@@ -244,21 +230,10 @@
 		malloc_process_identity_t identity)
 {
 #if TARGET_OS_OSX
-	if (identity == MALLOC_PROCESS_MTLCOMPILERSERVICE) {
-		return true;
-	}
-#elif TARGET_OS_VISION
-	if (identity == MALLOC_PROCESS_ARKITD ||
-			identity == MALLOC_PROCESS_BACKBOARDD) {
-		return true;
-	}
-#endif
-
-	if (identity == MALLOC_PROCESS_HARDENED_HEAP_CONFIG) {
-		return true;
-	}
-
+	return identity == MALLOC_PROCESS_MTLCOMPILERSERVICE;
+#else
 	return false;
+#endif // TARGET_OS_OSX
 }
 #endif // CONFIG_MALLOC_PROCESS_IDENTITY
 
@@ -313,11 +288,6 @@
 // Its goal, as the naming indicates, is to provide a clear indication in the
 // call stack that libmalloc is intentionally crashing because the client
 // provided a pointer that was deemed invalid.
-#if CONFIG_MTE
-// When MTE is enabled, this function also validates the logical tag of the
-// pointer, causing the process to crash with a fatal exception (which cannot be
-// caught by the process) if it is invalid.
-#endif
 MALLOC_NOEXPORT MALLOC_NOINLINE
 void
 ___BUG_IN_CLIENT_OF_LIBMALLOC_POINTER_BEING_FREED_WAS_NOT_ALLOCATED(