From 787e09a1def1e07d89a0e2fcb037223555f1b764 Mon Sep 17 00:00:00 2001 From: Dongwon Kang Date: Thu, 7 Mar 2019 10:05:23 -0800 Subject: [PATCH] allow_all_shared_libs for media namespace in ld.config.legacy.txt This is a temporal fix. With this change, the extractor plug-ins uses unstable libs under /system/lib[64]. The right resolution is being discussed. Test: applied the same change to ld.config.txt and checked the memory map of media.extractor on cuttlefish. Bug: 127791685 Change-Id: Ifd5b79831f27ef4017bb8aa774671aa9b2c5264e --- rootdir/etc/ld.config.legacy.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rootdir/etc/ld.config.legacy.txt b/rootdir/etc/ld.config.legacy.txt index 0cde3f261..e624b5a0d 100644 --- a/rootdir/etc/ld.config.legacy.txt +++ b/rootdir/etc/ld.config.legacy.txt @@ -94,11 +94,7 @@ namespace.media.asan.search.paths = /apex/com.android.media/${LIB} namespace.media.permitted.paths = /apex/com.android.media/${LIB}/extractors namespace.media.links = default -namespace.media.link.default.shared_libs = %LLNDK_LIBRARIES% -namespace.media.link.default.shared_libs += libandroid.so -namespace.media.link.default.shared_libs += libbinder_ndk.so -namespace.media.link.default.shared_libs += libmediametrics.so -namespace.media.link.default.shared_libs += %SANITIZER_RUNTIME_LIBRARIES% +namespace.media.link.default.allow_all_shared_libs = true ############################################################################### # "conscrypt" APEX namespace