summaryrefslogtreecommitdiff
path: root/libutils/String8_test.cpp
diff options
context:
space:
mode:
authorJoel Fernandes <joelaf@google.com>2018-12-18 13:32:31 -0800
committerJoel Fernandes <joelaf@google.com>2019-02-07 00:40:13 +0000
commit519440468bbeb6e210d18664bc487bf59b85759e (patch)
treeb37a7bc8f874af62e4c6c3cb7a48077ff6184068 /libutils/String8_test.cpp
parent500b6c0e86e0f1dc10d3bbfbd66d9f73372d6cb2 (diff)
Add support for memfd
This patch adds support to make libcutils create and use memfd where possible, instead of ashmem. The libcutils library is made dynamic, since apps are still sending over ashmem FDs to processes and we are working on moving those apps away from ashmem. The best we can do for that is make the library work, and force apps in the long run to move away from directly using ashmem. Due to further complications mentioned in the 'NOTE' section of the patch, memfd is kept disabled for now, so nothing changes yet. To enable it, set the sys.use_memfd property (check user_debug build). Bug: 113362644 Change-Id: I491cb7841b664db5b1c26b3e07a440a14810e182 Signed-off-by: Joel Fernandes <joelaf@google.com>
Diffstat (limited to 'libutils/String8_test.cpp')
0 files changed, 0 insertions, 0 deletions