platform_system_core/rootdir
Jiyong Park fa4971f3c3 Search rs namespace prior to vndk namespace
With the recent change that removed get_exported_namespace out of libdl,
the RenderScript SP-HAL stopped using android_dlopen_ext which it used
to load libRS_internal.so in the "rs" namespace. Instead, it now falls
back to the ordinary dlopen() call. The dlopen() call tries to load the
lib in the current namespace (which is sphal) and then falls back to the
linked namespaces: default, vndk, rs.

The problem is that rs is listed as the last namespace and therefore the
linker tries the namespace only when it failed to load the library in
other namespaces: default and vndk. libRS_internal.so is accessible to
both vndk and rs namespaces. So, the dlopen() call always goes into the
vndk namespace and there is no chance for the lib to be loaded in the rs
namespace.

To fix the problem, the rs namespace is placed before vndk so that the
namespace is tried first.

Bug: 129550847
Test: runtest -x cts/tests/camera/src/android/hardware/
Change-Id: Idafc32f8a309dd12495768931d7ea17a2f791c50
2019-04-02 02:43:23 +00:00
..
etc Search rs namespace prior to vndk namespace 2019-04-02 02:43:23 +00:00
Android.mk Initialize fs-verity keys in shell script 2019-03-22 09:18:00 -07:00
OWNERS rootdir: add ccross to OWNERS. 2018-10-15 14:18:04 -07:00
asan.options Include asan options from data partition. 2017-08-09 15:32:23 -07:00
asan_extract.rc Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
asan_extract.sh Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
fsverity_init.sh Initialize fs-verity keys in shell script 2019-03-22 09:18:00 -07:00
init-debug.rc init-debug.rc: don't mount debugfs 2017-03-14 21:56:24 -07:00
init.environ.rc.in Add an env variable for the tzdata module root 2019-03-12 16:52:36 +00:00
init.rc Set /proc/pressure/memory file permissions 2019-03-28 22:12:06 +00:00
init.usb.configfs.rc Remove sys.usb.ffs.mtp.ready property 2018-03-22 11:35:20 -07:00
init.usb.rc emulator: not start adbd upon ro.kernel.qemu=1 2018-02-03 17:22:15 -08:00
init.zygote32.rc Don't defer zygote 2019-03-07 22:21:32 +09:00
init.zygote32_64.rc Don't defer zygote 2019-03-07 22:21:32 +09:00
init.zygote64.rc Don't defer zygote 2019-03-07 22:21:32 +09:00
init.zygote64_32.rc Don't defer zygote 2019-03-07 22:21:32 +09:00
ld_config_backward_compatibility_check.py Restore "Check if current ld.config.txt files is backward compatible" 2018-09-11 09:45:09 +09:00
ueventd.rc ueventd.rc: Move device-specific entries to /vendor/ueventd.rc. 2019-01-06 16:15:07 -08:00
update_and_install_ld_config.mk Fix sed command on Mac builds 2019-03-21 10:16:06 -07:00