summaryrefslogtreecommitdiff
path: root/libutils/Unicode_test.cpp
diff options
context:
space:
mode:
authorJoel Fernandes <joelaf@google.com>2019-01-31 19:27:23 -0500
committerJoel Fernandes <joelaf@google.com>2019-02-07 00:40:22 +0000
commit4538e7329cb0f86970d24aaece885a5248146579 (patch)
tree57c37c161ed6a5f97a474431ecfd84136fd18774 /libutils/Unicode_test.cpp
parent1a040fa291eb65ebf3e9da187a714d18c4dde1fd (diff)
init: set the sys.use_memfd property to false
The sys.use_memfd property is set by default to false in Android to temporarily disable memfd, till vendor and apps are ready for it. The main issue: either apps or vendor processes can directly make ashmem IOCTLs on FDs they receive by assuming they are ashmem, without going through libcutils. Such fds could have very well be originally created with libcutils hence they could be memfd. Thus the IOCTLs will break. Set default value of sys.use_memfd property to true once the issue is resolved, so that the code can then self-detect if kernel support is present on the device. The property can also set to true from adb shell, for debugging. Bug: 113362644 Change-Id: I0f572ef36cac2a58fe308ddb90bbeffbecdaed3b Signed-off-by: Joel Fernandes <joelaf@google.com>
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions