android_system_core/rootdir
Martin Stjernholm e71d91e729 Revert^2 "Linker namespace configuration for the Runtime APEX."
This reverts commit a0d9f2fd6c.

Original change: Needs to support e.g. app_process in "default" ->
libnativehelper in "runtime" -> platform libs in "default" -> libc etc in "runtime".

Always make sure to switch namespaces when switching library paths between
/system and the APEX, so that internal library dependencies in both
locations are loaded from their own directory. E.g. libc++ and libbase live
in both places, and their dependents must always load the version they were
compiled with.

This CL also adds a temporary workaround to not break hwasan builds
(b/121038155).

Bug: 119867084
Bug: 113373927
Bug: 121038155
Change-Id: I58d09ed091dd82b2162c4a0b51555174d9322e0e
Test: Flash and reboot device
Test: Remount / read-write, then on device: rm -f system/lib{,64}/lib{c,m,dl}.so; system/bin/dex2oat -h; stop && start
Test: mmma bionic/tests/ && adb root && adb shell rm -rf /data/nativetest\* && adb push out/target/product/taimen/data/nativetest* /data/ && adb shell /data/nativetest64/bionic-unit-tests/bionic-unit-tests && adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests
Test: cts-tradefed run commandAndExit cts-dev -m CtsJniTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsCompilationTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsBionicTestCases (8 failures remain unchanged by this CL)
Test: Patch internal; lunch taimen_hwasan-userdebug && m SANITIZE_TARGET=hwaddress && vendor/google/tools/flashall -w && adb shell /vendor/bin/sh -c ls
2018-12-21 11:15:52 +00:00
..
etc Revert^2 "Linker namespace configuration for the Runtime APEX." 2018-12-21 11:15:52 +00:00
Android.mk Fix /init -> /system/bin/init symlink creation race 2018-12-05 23:42:07 +00: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
init-debug.rc
init.environ.rc.in Add ANDROID_RUNTIME_ROOT environment variable 2018-11-29 16:13:21 +00:00
init.rc Track movement of tz files into the runtime module 2018-12-14 15:32:39 +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 Add reserved disk GID to critical component. 2018-01-07 19:25:00 -07:00
init.zygote32_64.rc Add reserved disk GID to critical component. 2018-01-07 19:25:00 -07:00
init.zygote64.rc Add reserved disk GID to critical component. 2018-01-07 19:25:00 -07:00
init.zygote64_32.rc Add reserved disk GID to critical component. 2018-01-07 19:25:00 -07: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
ueventd.rc Reland "Remove obsolete ueventd.rc rules." 2018-12-14 14:57:54 -08:00
update_and_install_ld_config.mk Revert^2 "Linker namespace configuration for the Runtime APEX." 2018-12-21 11:15:52 +00:00