From 7d4cf3fd3364a86c895371337a849ab40c99b232 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Fri, 4 Aug 2017 16:18:03 +0900 Subject: [PATCH] Permit /system/lib/vndk-sp/hw/ for 'sphal' namespace android.hidl.memory@1.0-impl.so is a SP-HAL located in /system/lib/vndk-sp/hw. This can't be moved to /vendor/lib since it is a framework HAL. Bug: 62930720 Test: 2017 pixel builds and boots with BOARD_VNDK_VERSION on Change-Id: I9c456983ef68120c5e8c629efc6dd66a26220ecb --- rootdir/etc/ld.config.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/ld.config.txt b/rootdir/etc/ld.config.txt index d0418883d..5dcb8065d 100644 --- a/rootdir/etc/ld.config.txt +++ b/rootdir/etc/ld.config.txt @@ -54,7 +54,7 @@ namespace.default.asan.permitted.paths = /data/asan/system/${LIB}:/system/${LIB} namespace.sphal.isolated = true namespace.sphal.visible = true namespace.sphal.search.paths = /vendor/${LIB}/egl:/vendor/${LIB}/hw:/vendor/${LIB} -namespace.sphal.permitted.paths = /vendor/${LIB} +namespace.sphal.permitted.paths = /vendor/${LIB}:/system/${LIB}/vndk-sp/hw namespace.sphal.asan.search.paths = /data/asan/vendor/${LIB}/egl:/vendor/${LIB}/egl:/data/asan/vendor/${LIB}/hw:/vendor/${LIB}/hw:/data/asan/vendor/${LIB}:/vendor/${LIB} namespace.sphal.asan.permitted.paths = /data/asan/vendor/${LIB}:/vendor/${LIB}