From d083db9bc9592f9054ae3124b2a53656bf04e4bd Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Wed, 29 Nov 2017 14:48:26 +0900 Subject: [PATCH] /vendor/priv-app is added to the permitted paths for the default ns We will have apps under /vendor/priv-app. Add the path to the permitted paths so that the apks and so libs under the directory can be loaded. Bug: 35301609 Test: None since we don't have priv vendor app yet. Change-Id: Ida998adb2e180852b1922e9933f25b988517399e --- rootdir/etc/ld.config.txt.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/ld.config.txt.in b/rootdir/etc/ld.config.txt.in index cd1bd8267..65482dff6 100644 --- a/rootdir/etc/ld.config.txt.in +++ b/rootdir/etc/ld.config.txt.in @@ -30,10 +30,10 @@ namespace.default.isolated = true namespace.default.search.paths = /system/${LIB} # /vendor/app, /vendor/framework were added since libart should be able to dlopen # the odex files from the directory. -namespace.default.permitted.paths = /system/${LIB}/drm:/system/${LIB}/extractors:/system/${LIB}/hw:/system/framework:/system/app:/system/priv-app:/vendor/app:/vendor/framework:/oem/app:/data:/mnt/expand +namespace.default.permitted.paths = /system/${LIB}/drm:/system/${LIB}/extractors:/system/${LIB}/hw:/system/framework:/system/app:/system/priv-app:/vendor/app:/vendor/priv-app:/vendor/framework:/oem/app:/data:/mnt/expand namespace.default.asan.search.paths = /data/asan/system/${LIB}:/system/${LIB} -namespace.default.asan.permitted.paths = /data:/system/${LIB}/drm:/system/${LIB}/extractors:/system/${LIB}/hw:/system/framework:/system/app:/system/priv-app:/vendor/app:/vendor/framework:/oem/app:/mnt/expand +namespace.default.asan.permitted.paths = /data:/system/${LIB}/drm:/system/${LIB}/extractors:/system/${LIB}/hw:/system/framework:/system/app:/system/priv-app:/vendor/app:/vendor/priv-app:/vendor/framework:/oem/app:/mnt/expand ############################################################################### # "sphal" namespace