OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b098491
)
Correct aslr_test minimum arm value.
author
dcashman
<dcashman@google.com>
Tue, 15 Mar 2016 22:14:20 +0000
(15:14 -0700)
committer
dcashman
<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
patch
|
blob
|
history
diff --git
a/tests/kernel.config/aslr_test.cpp
b/tests/kernel.config/aslr_test.cpp
index
cda121c
..
ff19a10
100644
(file)
--- 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;