summaryrefslogtreecommitdiff
path: root/libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-10-19 17:14:04 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2021-10-20 15:02:33 +0000
commit9c54f4369eb84ae0c4e28229774afdc14eb2f225 (patch)
tree76b48eb28a429d769d3ec36ccd6b297ab91bd93e /libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp
parent0385d89b75e01c03376f96b0138b34834d7e46d8 (diff)
Allow PROT_EXEC on the zygote mappings when falling back to ashmem
Because we now protect the mappings before creating the executable one, we need to also allow PROT_EXEC on an ashmem region. Test: manually change code to use ashmem, build, see that JIT is created. Bug: 202999239 Merged-In: I9f2944c45f4ff607c7e341552c82138bfe13cca4 (cherry picked from commit 8c63ce27d4d3e87f535769976e9b9185fa372b9b) Change-Id: Ic5508fa1efa61c4689e817eb7342fd1403d99f2a
Diffstat (limited to 'libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp')
0 files changed, 0 insertions, 0 deletions