android_system_core/rootdir/etc
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
..
hosts Add ip6-localhost to /system/etc/hosts. 2015-01-13 14:38:21 -08:00
ld.config.legacy.txt Support product partition for non-treblized devices 2018-11-28 17:17:05 +09:00
ld.config.recovery.txt Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
ld.config.txt Revert^2 "Linker namespace configuration for the Runtime APEX." 2018-12-21 11:15:52 +00:00
ld.config.vndk_lite.txt Revert^2 "Linker namespace configuration for the Runtime APEX." 2018-12-21 11:15:52 +00:00
OWNERS Add NDK folks to OWNERS for library configuration. 2018-03-19 10:56:07 -07:00
public.libraries.android.txt Add libbinder_ndk to public.libraries.* 2018-09-17 20:05:27 +00:00
public.libraries.iot.txt Add libbinder_ndk to public.libraries.* 2018-09-17 20:05:27 +00:00
public.libraries.wear.txt Add libbinder_ndk to public.libraries.* 2018-09-17 20:05:27 +00:00