]> git.saurik.com Git - apple/xnu.git/blobdiff - tests/jumbo_va_spaces_28530648.c
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / tests / jumbo_va_spaces_28530648.c
index 6f76a7a73deeeec972e9ddcde540f71aa5532af6..2fac861081d9e5fb2e756ba077bc6912e2e4d649 100644 (file)
@@ -7,6 +7,7 @@
 #include <darwintest.h>
 #include <darwintest_utils.h>
 
+T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true));
 
 #define GB (1ULL * 1024 * 1024 * 1024)
 
  * This test expects the entitlement to be the enabling factor for a process to
  * allocate at least this many GB of VA space. i.e. with the entitlement, n GB
  * must be allocatable; whereas without it, it must be less.
+ * This value was determined experimentally to fit on applicable devices and to
+ * be clearly distinguishable from the default VA limit.
  */
-#define ALLOC_TEST_GB 54
+#define ALLOC_TEST_GB 53
 
-#if defined(ENTITLED)
-T_DECL(jumbo_va_spaces_28530648,
-#else
-T_DECL(jumbo_va_spaces_28530648_unentitled,
-#endif
-       "Verify that the \"dynamic-codesigning\" entitlement is required to utilize an extra-large "
+T_DECL(TESTNAME,
+       "Verify that a required entitlement is present in order to be granted an extra-large "
        "VA space on arm64",
        T_META_NAMESPACE("xnu.vm"),
        T_META_CHECK_LEAKS(false))