android_bionic/linker
Dmitriy Ivanov cf92738fa5 Ensure that readlink has access to /proc/self/fd
/proc/self/fd is not available when PR_DUMPABLE is set to 0
which is default for the user builds. It leads to permission
denials on readlink.

This change fixes the problem by setting PR_DUMPABLE flag to 1
for readlink and restoring it's previous value after the call.

Bug: http://b/24912743
Change-Id: I3fd179c5c6b56af96d6a15ee597024ccb15e1a13
2015-10-14 11:15:45 -07:00
..
arch
tests General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
Android.mk Statically linked executables should honor AT_SECURE. 2015-06-10 16:10:18 -07:00
MODULE_LICENSE_APACHE2
NOTICE Update NOTICE files (the second time today). 2015-05-12 10:52:52 -07:00
debugger.cpp Fix regression in crash reporting 2015-05-15 07:48:33 -07:00
dlfcn.cpp Lock on dl_interate_phdr 2015-06-29 14:48:25 -07:00
linked_list.h Support symbol versioning 2015-04-16 17:57:30 -07:00
linker.cpp Ensure that readlink has access to /proc/self/fd 2015-10-14 11:15:45 -07:00
linker.h Lock on dl_interate_phdr 2015-06-29 14:48:25 -07:00
linker_allocator.cpp General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_allocator.h General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_block_allocator.cpp
linker_block_allocator.h General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_debug.h Simplify three copyright headers. 2015-05-12 10:34:22 -07:00
linker_libc_support.c
linker_memory.cpp General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_mips.cpp Revert "[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers" 2015-06-24 20:42:33 +00:00
linker_phdr.cpp Fix crash when trying to load invalid ELF file. 2015-06-25 17:03:26 -07:00
linker_phdr.h Fix crash when trying to load invalid ELF file. 2015-06-25 17:03:26 -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
linker_sdk_versions.cpp Improve library lookup logic 2015-06-17 16:36:03 -07:00
linker_sleb128.h Always use signed leb128 decoder 2015-04-22 13:29:42 -07:00
rt.cpp