From a9b4f2b66b92e9c1f620be578e5bed9a4071473e Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Sat, 26 Jan 2019 01:06:43 +0000 Subject: [PATCH] Make runtime namespace visible. So that ART can look it up by name. Test: m && boots Change-Id: Ib747a92e7decad2f9effe976a771a4eb0becc440 --- rootdir/etc/ld.config.legacy.txt | 1 + rootdir/etc/ld.config.txt | 1 + rootdir/etc/ld.config.vndk_lite.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/rootdir/etc/ld.config.legacy.txt b/rootdir/etc/ld.config.legacy.txt index 3356d4e88..5e3b3f8a3 100644 --- a/rootdir/etc/ld.config.legacy.txt +++ b/rootdir/etc/ld.config.legacy.txt @@ -56,6 +56,7 @@ namespace.default.link.runtime.shared_libs += libnativeloader.so # This namespace exposes externally accessible libraries from the Runtime APEX. ############################################################################### namespace.runtime.isolated = true +namespace.runtime.visible = true # Keep in sync with ld.config.txt in the com.android.runtime APEX. namespace.runtime.search.paths = /apex/com.android.runtime/${LIB} diff --git a/rootdir/etc/ld.config.txt b/rootdir/etc/ld.config.txt index 05f75bfb0..5c14d2abc 100644 --- a/rootdir/etc/ld.config.txt +++ b/rootdir/etc/ld.config.txt @@ -124,6 +124,7 @@ namespace.default.link.runtime.shared_libs += libnativeloader.so # This namespace exposes externally accessible libraries from the Runtime APEX. ############################################################################### namespace.runtime.isolated = true +namespace.runtime.visible = true # Keep in sync with ld.config.txt in the com.android.runtime APEX. namespace.runtime.search.paths = /apex/com.android.runtime/${LIB} diff --git a/rootdir/etc/ld.config.vndk_lite.txt b/rootdir/etc/ld.config.vndk_lite.txt index 335369eb5..037134501 100644 --- a/rootdir/etc/ld.config.vndk_lite.txt +++ b/rootdir/etc/ld.config.vndk_lite.txt @@ -72,6 +72,7 @@ namespace.default.link.runtime.shared_libs += libnativeloader.so # This namespace pulls in externally accessible libs from the Runtime APEX. ############################################################################### namespace.runtime.isolated = true +namespace.runtime.visible = true # Keep in sync with the default namespace in the com.android.runtime APEX # ld.config.txt.