platform_bionic/linker
neo.chae 2589f9de64 Fix for default library path "/vendor/lib"
Android N restrict which libraries C/C++ code
can link against at runtime.

If device has a vendor partition
then /system/vendor symlink to /vendor.
Otherwise /vendor symlink to /system/vendor.

But is_system_library() is only checking /vendor/lib.
It will return false for /system/vendor/lib path.
It is need to add a real path to default library path.

Similarily, default ld library path is already checking.
parse_LD_LIBRARY_PATH()->parse_path()->resolve_paths()

Test: build bionic and run bionic-unit-tests
Bug: http://b/31919547
Change-Id: Ie6777e2b02729948ce77a94de32343d40358bf2c
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
2016-10-05 03:15:49 -07:00
..
arch Fix mips/mips64 build 2014-07-28 21:03:17 -07:00
tests Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
Android.bp linker: Refactoring step 3 of many 2016-09-13 13:38:58 -07:00
Android.mk Convert linker from Android.mk to Android.bp 2016-07-15 13:39:29 -07:00
dlfcn.cpp dlerror returns char*, not const char*. 2016-08-11 15:02:45 -07:00
linked_list.h linker: hide the pointer to soinfo 2016-03-28 13:15:40 -07:00
linker.cpp Fix for default library path "/vendor/lib" 2016-10-05 03:15:49 -07:00
linker.h Don't warn about DT_FLAGS_1 containing DF_1_PIE 2016-08-19 21:57:12 +02:00
linker_allocator.cpp Improvements to initialization of linker_allocator 2016-07-29 14:05:39 -07:00
linker_allocator.h Improvements to initialization of linker_allocator 2016-07-29 14:05:39 -07:00
linker_block_allocator.cpp linker: align allocated blocks to 16 bytes 2016-01-21 14:28:33 -08:00
linker_block_allocator.h General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_common_types.h Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
linker_debug.h linker: implement shared namespaces 2015-12-19 23:38:27 -08:00
linker_dlwarning.cpp Sync linker with internal branch 2016-08-01 19:47:27 +00:00
linker_dlwarning.h Sync linker with internal branch 2016-08-01 19:47:27 +00:00
linker_gdb_support.cpp Move gdb support functions to a separate file 2016-02-18 12:32:56 -08:00
linker_gdb_support.h Move gdb support functions to a separate file 2016-02-18 12:32:56 -08:00
linker_globals.cpp Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
linker_globals.h Check alignment along with range of mapped file fragments 2016-08-10 10:52:55 -07:00
linker_libc_support.c Implement Library Load Order Randomization 2015-10-22 18:26:07 -07:00
linker_logger.cpp Pass argc/argv/envp to dso constructors 2016-07-20 16:10:19 -07:00
linker_logger.h Pass argc/argv/envp to dso constructors 2016-07-20 16:10:19 -07:00
linker_main.cpp linker: Refactoring step 3 of many 2016-09-13 13:38:58 -07:00
linker_main.h linker: Refactoring step 3 of many 2016-09-13 13:38:58 -07:00
linker_mapped_file_fragment.cpp Move some utility functions to linker_utils 2015-11-20 21:37:51 +00:00
linker_mapped_file_fragment.h refactoring: introduce MappedFileFragment 2015-10-22 18:01:56 -07:00
linker_memory.cpp General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_mips.cpp linker: fix mips build 2016-08-09 06:58:55 -07:00
linker_namespaces.cpp Move android_namespace_t to a separate file. 2016-08-08 16:12:52 -07:00
linker_namespaces.h Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
linker_phdr.cpp linker: disallow W + E PT_LOAD segments 2016-08-11 17:24:47 -07:00
linker_phdr.h Check alignment along with range of mapped file fragments 2016-08-10 10:52:55 -07:00
linker_reloc_iterators.h Fix long lines and replace macros with functions. 2015-03-31 11:49:25 -07:00
linker_relocs.h Refactor soinfo::relocate 2015-01-09 14:57:53 -08:00
linker_sdk_versions.cpp Improve library lookup logic 2015-06-17 17:16:44 -07:00
linker_sleb128.h linker: Add unit-test for sleb128_decoder 2016-04-05 16:42:17 -07:00
linker_soinfo.cpp Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
linker_soinfo.h linker: Refactoring step 3 of many 2016-09-13 13:38:58 -07:00
linker_utils.cpp Silently ignore empty path elements 2016-09-07 14:48:27 -07:00
linker_utils.h Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
MODULE_LICENSE_APACHE2
NOTICE Update NOTICE files. 2016-08-08 12:39:56 -07:00
rt.cpp