OSDN Git Service

Correct aslr_test minimum arm value.
authordcashman <dcashman@google.com>
Tue, 15 Mar 2016 22:14:20 +0000 (15:14 -0700)
committerdcashman <dcashman@google.com>
Tue, 15 Mar 2016 22:17:58 +0000 (15:17 -0700)
Default mmap_rnd_bits value is now equal to the maximum supported (16)
on arm, not the minimum, 8.  Adjust the test criteria to match this.

Bug: 27680571
Change-Id: I16f2c3120c92ca9ea537f445ba24ebd8172d613f

tests/kernel.config/aslr_test.cpp

index cda121c..ff19a10 100644 (file)
@@ -187,7 +187,7 @@ void AslrMmapTest::SetUpTestCase() {
 
 #elif defined(__arm__)
     unsigned int pgbits = std::log2(getpagesize());
-    def = 8;
+    def = 16;
     min = 8;
     max = 16;
     path = SCRAPE_PATH_32;