summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2019-04-11 12:25:06 -0400
committerTorne (Richard Coles) <torne@google.com>2019-04-11 13:57:31 -0400
commit5d10374947824c60d524e812172ae60f30a51fde (patch)
treed6ae67a2d04a626afdabbe546d01378bd0636eca /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parente6fd53b751c253ce9315875bed838a6d549132f3 (diff)
Only write main library's RELRO by default.
ANDROID_DLEXT_WRITE_RELRO was inadvertently writing out the RELRO section of all libraries loaded during a given dlopen() call instead of only the main library; since the other libraries are loaded at unpredictable addresses this additional data is rarely useful. Fix this to only happen when the ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE flag is being used. Bug: 128623590 Test: DlExtRelroSharingTest.CheckRelroSizes Change-Id: I05e8651d06ce2de77b8c85fe2b6238f9c09691ad
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions