commit | 2411f49e8e3e9efb92958d689a9bab9fe9635638 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Jun 14 08:54:46 2019 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Tue Jun 18 06:53:39 2019 +0000 |
tree | 04f3bb5e048f15d244ae2637cc8bc4f001f3b7b0 | |
parent | 77f84fcc257bba0b40cb123a748ecbd0a96726b2 [diff] |
Add helpers to allocate JIT memory in zygote. These helpers will seal the fd and prevent any new writable mappings from being made. Using memfd when available, and falling back to ashmem if not. ashmem being scheduled for removal, have that implemented in palette. Bug: 119800099 Test: jit_memory_region_test.cc Change-Id: Id32b6c52a2ec681295ea7eca5b77ab342c78b469