From 7075bca364718a3d060bd373c3d1b20db2e89bfc Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Wed, 16 Aug 2017 23:32:54 +0900 Subject: [PATCH] Make the rs namespace visible This allows us to dlopen libRS_internal.so directly from the rs namespace, not from the sphal namespace. Bug: 64747884 Test: VtsHalRenderscriptV1_0TargetTest successful on the device built with BOARD_VNDK_VERSION=current and [system] namespace config is applied to /data/nativetest[64]/* processes. Merged-In: I0b441791e395798e80a84592ca01e771bb1c201a Change-Id: I0b441791e395798e80a84592ca01e771bb1c201a (cherry picked from commit 421a5e46b780cab394e4bc18745b8555ba26afa5) --- rootdir/etc/ld.config.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/ld.config.txt b/rootdir/etc/ld.config.txt index fa6fc07bf..d9ed89198 100644 --- a/rootdir/etc/ld.config.txt +++ b/rootdir/etc/ld.config.txt @@ -81,6 +81,7 @@ namespace.sphal.link.rs.shared_libs = libRS_internal.so # to load the compiled *.so file and libmediandk.so can be used here. ############################################################################### namespace.rs.isolated = true +namespace.rs.visible = true namespace.rs.search.paths = /vendor/${LIB}/vndk-sp:/system/${LIB}/vndk-sp:/vendor/${LIB} namespace.rs.permitted.paths = /vendor/${LIB}:/data