platform_system_core/libnativeloader
Andreas Gampe 0c3f120fc6 Nativeloader: Restrict anonymous namespace creation
Create the anonymous namespace only from a non-empty library path.

This is a better heuristic than the current "first-come" one. It
allows creating classloaders that are not directly related to an
app's "main" classloader, that is, do not have any library path.
This is the case, for example, for shared libraries, including
preloaded ones.

Longer-term, the anonymous namespace creation should be made
explicit, so that the framework can have full control.

(cherry picked from commit b9df7d936c)

Bug: 130623656
Test: m
Test: manual
Merged-In: I8251363b372e365d10ae09d23df93d76388ac7f9
Change-Id: I8251363b372e365d10ae09d23df93d76388ac7f9
2019-04-29 10:42:38 -07:00
..
include/nativeloader Add product apk support from libnativeloader 2019-03-07 12:01:23 +09:00
test shim libraries for libnativeloader and libnativebridge 2019-02-12 19:35:45 +09:00
.clang-format Set libnativeloader style to clang-format-2 2017-03-29 17:33:12 -07:00
Android.bp Add dependency on libdl_android 2019-03-20 12:26:41 +01:00
libnativeloader.map.txt Move to C API of libnativeloader. 2019-01-16 13:40:28 +00:00
native_loader.cpp Nativeloader: Restrict anonymous namespace creation 2019-04-29 10:42:38 -07:00
native_loader_lazy.cpp Add product apk support from libnativeloader 2019-03-07 12:01:23 +09:00
OWNERS Add runtime module members to owners. 2019-01-16 22:00:48 +00:00