Loading...
tests/xzone_corruption.c libmalloc-646.40.3 libmalloc-792.80.2
--- libmalloc/libmalloc-646.40.3/tests/xzone_corruption.c
+++ libmalloc/libmalloc-792.80.2/tests/xzone_corruption.c
@@ -5,14 +5,14 @@
 
 #if CONFIG_XZONE_MALLOC
 
-T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true));
+T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true), T_META_TAG_VM_NOT_PREFERRED);
 
 // Ensure that all allocations get the same bucketing
 MALLOC_NOINLINE
 static void *
 malloc_wrapper(size_t n)
 {
-	return malloc(n);
+	return malloc_type_malloc(n, (malloc_type_id_t)42);
 }
 
 static bool
@@ -110,7 +110,8 @@
 #else // CONFIG_XZONE_MALLOC
 
 T_DECL(tiny_freelist_corruption, "Crash on corruption of tiny freelist",
-		T_META_ENABLED(false))
+		T_META_ENABLED(false), T_META_TAG_VM_PREFERRED,
+		T_META_TAG_NO_ALLOCATOR_OVERRIDE)
 {
 	T_SKIP("Nothing to test for !CONFIG_XZONE_MALLOC");
 }