diff --git a/rootdir/etc/ld.config.legacy.txt b/rootdir/etc/ld.config.legacy.txt index e598f053f..c47b7f6f0 100644 --- a/rootdir/etc/ld.config.legacy.txt +++ b/rootdir/etc/ld.config.legacy.txt @@ -80,16 +80,14 @@ namespace.default.link.neuralnetworks.shared_libs = libneuralnetworks.so # This namespace exposes externally accessible libraries from the Runtime APEX. # Keep in sync with the "runtime" namespace in art/build/apex/ld.config.txt. ############################################################################### +# TODO(b/139408016): Rename this namespace to "art". namespace.runtime.isolated = true # Visible to allow links to be created at runtime, e.g. through # android_link_namespaces in libnativeloader. namespace.runtime.visible = true -# TODO(b/139408016): Split the namespaces for the ART and Runtime APEXes -namespace.runtime.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.search.paths += /apex/com.android.runtime/${LIB} -namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.asan.search.paths += /apex/com.android.runtime/${LIB} +namespace.runtime.search.paths = /apex/com.android.art/${LIB} +namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} namespace.runtime.links = default # Need allow_all_shared_libs because libart.so can dlopen oat files in # /system/framework and /data. diff --git a/rootdir/etc/ld.config.txt b/rootdir/etc/ld.config.txt index e1da587d1..5b92d489a 100644 --- a/rootdir/etc/ld.config.txt +++ b/rootdir/etc/ld.config.txt @@ -161,16 +161,14 @@ namespace.default.link.neuralnetworks.shared_libs = libneuralnetworks.so # This namespace exposes externally accessible libraries from the Runtime APEX. # Keep in sync with the "runtime" namespace in art/build/apex/ld.config.txt. ############################################################################### +# TODO(b/139408016): Rename this namespace to "art". namespace.runtime.isolated = true # Visible to allow links to be created at runtime, e.g. through # android_link_namespaces in libnativeloader. namespace.runtime.visible = true -# TODO(b/139408016): Split the namespaces for the ART and Runtime APEXes -namespace.runtime.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.search.paths += /apex/com.android.runtime/${LIB} -namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.asan.search.paths += /apex/com.android.runtime/${LIB} +namespace.runtime.search.paths = /apex/com.android.art/${LIB} +namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} namespace.runtime.links = default # Need allow_all_shared_libs because libart.so can dlopen oat files in # /system/framework and /data. @@ -490,13 +488,11 @@ namespace.default.link.neuralnetworks.shared_libs = libneuralnetworks.so # This namespace exposes externally accessible libraries from the Runtime APEX. # Keep in sync with the "runtime" namespace in art/build/apex/ld.config.txt. ############################################################################### +# TODO(b/139408016): Rename this namespace to "art". namespace.runtime.isolated = true -# TODO(b/139408016): Split the namespaces for the ART and Runtime APEXes -namespace.runtime.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.search.paths += /apex/com.android.runtime/${LIB} -namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.asan.search.paths += /apex/com.android.runtime/${LIB} +namespace.runtime.search.paths = /apex/com.android.art/${LIB} +namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} namespace.runtime.links = system # TODO(b/130340935): Use a dynamically created linker namespace similar to # classloader-namespace for oat files, and tighten this up. @@ -697,16 +693,14 @@ namespace.default.link.neuralnetworks.shared_libs = libneuralnetworks.so # This namespace exposes externally accessible libraries from the Runtime APEX. # Keep in sync with the "runtime" namespace in art/build/apex/ld.config.txt. ############################################################################### +# TODO(b/139408016): Rename this namespace to "art". namespace.runtime.isolated = true # Visible to allow links to be created at runtime, e.g. through # android_link_namespaces in libnativeloader. namespace.runtime.visible = true -# TODO(b/139408016): Split the namespaces for the ART and Runtime APEXes -namespace.runtime.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.search.paths += /apex/com.android.runtime/${LIB} -namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.asan.search.paths += /apex/com.android.runtime/${LIB} +namespace.runtime.search.paths = /apex/com.android.art/${LIB} +namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} namespace.runtime.links = default # TODO(b/130340935): Use a dynamically created linker namespace similar to # classloader-namespace for oat files, and tighten this up. diff --git a/rootdir/etc/ld.config.vndk_lite.txt b/rootdir/etc/ld.config.vndk_lite.txt index 4beabd675..8a27c7b52 100644 --- a/rootdir/etc/ld.config.vndk_lite.txt +++ b/rootdir/etc/ld.config.vndk_lite.txt @@ -100,16 +100,14 @@ namespace.default.link.neuralnetworks.shared_libs = libneuralnetworks.so # This namespace pulls in externally accessible libs from the Runtime APEX. # Keep in sync with the "runtime" namespace in art/build/apex/ld.config.txt. ############################################################################### +# TODO(b/139408016): Rename this namespace to "art". namespace.runtime.isolated = true # Visible to allow links to be created at runtime, e.g. through # android_link_namespaces in libnativeloader. namespace.runtime.visible = true -# TODO(b/139408016): Split the namespaces for the ART and Runtime APEXes -namespace.runtime.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.search.paths += /apex/com.android.runtime/${LIB} -namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.asan.search.paths += /apex/com.android.runtime/${LIB} +namespace.runtime.search.paths = /apex/com.android.art/${LIB} +namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} namespace.runtime.links = default # Need allow_all_shared_libs because libart.so can dlopen oat files in # /system/framework and /data. @@ -420,13 +418,11 @@ namespace.default.link.neuralnetworks.shared_libs = libneuralnetworks.so # This namespace exposes externally accessible libraries from the Runtime APEX. # Keep in sync with the "runtime" namespace in art/build/apex/ld.config.txt. ############################################################################### +# TODO(b/139408016): Rename this namespace to "art". namespace.runtime.isolated = true -# TODO(b/139408016): Split the namespaces for the ART and Runtime APEXes -namespace.runtime.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.search.paths += /apex/com.android.runtime/${LIB} -namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.asan.search.paths += /apex/com.android.runtime/${LIB} +namespace.runtime.search.paths = /apex/com.android.art/${LIB} +namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} namespace.runtime.links = default # TODO(b/130340935): Use a dynamically created linker namespace similar to # classloader-namespace for oat files, and tighten this up. @@ -504,16 +500,14 @@ namespace.default.link.neuralnetworks.shared_libs = libneuralnetworks.so # This namespace exposes externally accessible libraries from the Runtime APEX. # Keep in sync with the "runtime" namespace in art/build/apex/ld.config.txt. ############################################################################### +# TODO(b/139408016): Rename this namespace to "art". namespace.runtime.isolated = true # Visible to allow links to be created at runtime, e.g. through # android_link_namespaces in libnativeloader. namespace.runtime.visible = true -# TODO(b/139408016): Split the namespaces for the ART and Runtime APEXes -namespace.runtime.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.search.paths += /apex/com.android.runtime/${LIB} -namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} -namespace.runtime.asan.search.paths += /apex/com.android.runtime/${LIB} +namespace.runtime.search.paths = /apex/com.android.art/${LIB} +namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB} namespace.runtime.links = default # TODO(b/130340935): Use a dynamically created linker namespace similar to # classloader-namespace for oat files, and tighten this up.