summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2016-03-15 15:14:20 -0700
committerdcashman <dcashman@google.com>2016-03-15 15:59:41 -0700
commitf8af654a55e1703fdb59ebbe133f09f87a26d1b8 (patch)
tree3cb5a64877a9a3753428af35504c488357d9a1c8 /tests
parent9da1eef4a48a58e41252a2837e0caeadd65033bc (diff)
downloadextras-f8af654a55e1703fdb59ebbe133f09f87a26d1b8.tar.gz
Correct aslr_test minimum arm value.
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. (cherry-pick of internal commit: 6d7b862b59743b64500b9b079c90cc50d556ecdf) Bug: 27680571 Change-Id: I2017bf3b77b9513b0c8a797b6fe3dc6aef8ef431
Diffstat (limited to 'tests')
-rw-r--r--tests/kernel.config/aslr_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kernel.config/aslr_test.cpp b/tests/kernel.config/aslr_test.cpp
index cda121c6..ff19a109 100644
--- a/tests/kernel.config/aslr_test.cpp
+++ b/tests/kernel.config/aslr_test.cpp
@@ -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;