X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..f427ee49d309d8fc33ebf3042c3a775f2f530ded:/tests/jumbo_va_spaces_28530648.c diff --git a/tests/jumbo_va_spaces_28530648.c b/tests/jumbo_va_spaces_28530648.c index 6f76a7a73..2fac86108 100644 --- a/tests/jumbo_va_spaces_28530648.c +++ b/tests/jumbo_va_spaces_28530648.c @@ -7,6 +7,7 @@ #include #include +T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true)); #define GB (1ULL * 1024 * 1024 * 1024) @@ -14,15 +15,13 @@ * 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))