Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a9a1c50 authored by Martin Stjernholm's avatar Martin Stjernholm Committed by Gerrit Code Review
Browse files

Merge "Describe the reason for the allow_all_shared_libs from the runtime namespace better."

parents 3569a881 609236f6
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -79,8 +79,10 @@ namespace.runtime.visible = true
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.links = default
namespace.runtime.links = default
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
# Need allow_all_shared_libs because libart.so can dlopen oat files in
# when it exists.
# /system/framework and /data.
# TODO(b/130340935): Use a dynamically created linker namespace similar to
# classloader-namespace for oat files, and tighten this up.
namespace.runtime.link.default.allow_all_shared_libs = true
namespace.runtime.link.default.allow_all_shared_libs = true


###############################################################################
###############################################################################
+8 −6
Original line number Original line Diff line number Diff line
@@ -158,8 +158,10 @@ namespace.runtime.visible = true
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.links = default
namespace.runtime.links = default
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
# Need allow_all_shared_libs because libart.so can dlopen oat files in
# when it exists.
# /system/framework and /data.
# TODO(b/130340935): Use a dynamically created linker namespace similar to
# classloader-namespace for oat files, and tighten this up.
namespace.runtime.link.default.allow_all_shared_libs = true
namespace.runtime.link.default.allow_all_shared_libs = true


###############################################################################
###############################################################################
@@ -436,8 +438,8 @@ namespace.runtime.isolated = true
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.links = system
namespace.runtime.links = system
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
# TODO(b/130340935): Use a dynamically created linker namespace similar to
# when it exists.
# classloader-namespace for oat files, and tighten this up.
namespace.runtime.link.system.allow_all_shared_libs = true
namespace.runtime.link.system.allow_all_shared_libs = true


###############################################################################
###############################################################################
@@ -601,8 +603,8 @@ namespace.runtime.visible = true
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.links = default
namespace.runtime.links = default
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
# TODO(b/130340935): Use a dynamically created linker namespace similar to
# when it exists.
# classloader-namespace for oat files, and tighten this up.
namespace.runtime.link.default.allow_all_shared_libs = true
namespace.runtime.link.default.allow_all_shared_libs = true


###############################################################################
###############################################################################
+8 −6
Original line number Original line Diff line number Diff line
@@ -100,8 +100,10 @@ namespace.runtime.visible = true
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.links = default
namespace.runtime.links = default
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
# Need allow_all_shared_libs because libart.so can dlopen oat files in
# when it exists.
# /system/framework and /data.
# TODO(b/130340935): Use a dynamically created linker namespace similar to
# classloader-namespace for oat files, and tighten this up.
namespace.runtime.link.default.allow_all_shared_libs = true
namespace.runtime.link.default.allow_all_shared_libs = true


###############################################################################
###############################################################################
@@ -373,8 +375,8 @@ namespace.runtime.isolated = true
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.links = default
namespace.runtime.links = default
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
# TODO(b/130340935): Use a dynamically created linker namespace similar to
# when it exists.
# classloader-namespace for oat files, and tighten this up.
namespace.runtime.link.default.allow_all_shared_libs = true
namespace.runtime.link.default.allow_all_shared_libs = true


###############################################################################
###############################################################################
@@ -424,8 +426,8 @@ namespace.runtime.visible = true
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.runtime/${LIB}
namespace.runtime.links = default
namespace.runtime.links = default
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
# TODO(b/130340935): Use a dynamically created linker namespace similar to
# when it exists.
# classloader-namespace for oat files, and tighten this up.
namespace.runtime.link.default.allow_all_shared_libs = true
namespace.runtime.link.default.allow_all_shared_libs = true


###############################################################################
###############################################################################