android_system_core/rootdir
Joel Fernandes ae7f052328 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>
2019-02-07 00:40:22 +00:00
..
etc Merge "Fix asan paths in ld.config" 2019-02-05 16:28:05 +00:00
Android.mk rootdir: Add cgroups and task profiles description files 2019-02-02 21:28:05 -08:00
asan.options Include asan options from data partition. 2017-08-09 15:32:23 -07:00
asan_extract.rc Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
asan_extract.sh Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
cgroups.json rootdir: Add cgroups and task profiles description files 2019-02-02 21:28:05 -08:00
init-debug.rc init-debug.rc: don't mount debugfs 2017-03-14 21:56:24 -07:00
init.environ.rc.in Add ANDROID_RUNTIME_ROOT environment variable 2018-11-29 16:13:21 +00:00
init.rc init: set the sys.use_memfd property to false 2019-02-07 00:40:22 +00:00
init.usb.configfs.rc Remove sys.usb.ffs.mtp.ready property 2018-03-22 11:35:20 -07:00
init.usb.rc emulator: not start adbd upon ro.kernel.qemu=1 2018-02-03 17:22:15 -08:00
init.zygote32.rc Added a new socket to Zygote init scripts. 2019-01-23 13:37:27 -08:00
init.zygote32_64.rc Added a new socket to Zygote init scripts. 2019-01-23 13:37:27 -08:00
init.zygote64.rc Added a new socket to Zygote init scripts. 2019-01-23 13:37:27 -08:00
init.zygote64_32.rc Added a new socket to Zygote init scripts. 2019-01-23 13:37:27 -08:00
ld_config_backward_compatibility_check.py Restore "Check if current ld.config.txt files is backward compatible" 2018-09-11 09:45:09 +09:00
OWNERS rootdir: add ccross to OWNERS. 2018-10-15 14:18:04 -07:00
task_profiles.json rootdir: Add cgroups and task profiles description files 2019-02-02 21:28:05 -08:00
ueventd.rc ueventd.rc: Move device-specific entries to /vendor/ueventd.rc. 2019-01-06 16:15:07 -08:00
update_and_install_ld_config.mk Remove product_services rules if it's merged away 2019-02-05 12:27:43 +00:00