platform_bionic/tests
Dimitry Ivanov 5543746934 Pass argc/argv/envp to dso constructors
The glibc implementation of the loader passes argc/argv/envp
to all elf constructors. This change makes bionic linker
behave in the same way.

Bug: http://b/30145768
Change-Id: I1c65c42aa5305a5b133c64b5748205bbde869e0e
Test: run bionic-unit-tests --gtest_filter=dl*:Dl*
2016-07-20 16:10:19 -07:00
..
libs Convert bionic benchmarks and tests to Android.bp 2016-07-14 12:30:12 -07:00
math_data Add x86 optimization of rint functions and tests 2016-03-07 18:31:26 -08:00
__cxa_thread_atexit_test.cpp Enable test with clang aarch64. 2016-03-04 12:28:50 -08:00
Android.bp Convert bionic benchmarks and tests to Android.bp 2016-07-14 12:30:12 -07:00
Android.build.mk Introducing linker namespaces 2015-11-15 12:09:16 -08:00
Android.mk Convert bionic benchmarks and tests to Android.bp 2016-07-14 12:30:12 -07:00
arpa_inet_test.cpp Fix inet_aton on LP32. 2015-10-09 17:36:05 -07:00
atexit_test.cpp Enable clang to compile more tests. 2015-11-16 11:36:15 -08:00
BionicDeathTest.h make all bionic death tests not dumpable 2014-11-06 11:09:03 -08:00
buffer_tests.cpp Fix over read in strcpy/stpcpy/strcat. 2015-09-24 14:17:36 -07:00
buffer_tests.h
bug_26110743_test.cpp Add tests for /proc/self/fd and /proc/self/task/TID/fd access 2015-12-23 17:42:29 -08:00
complex_test.cpp Add __INTRODUCED_IN_FUTURE for unreleased APIs. 2016-04-29 16:39:50 -07:00
ctype_test.cpp
dirent_test.cpp Implement scandirat and scandirat64. 2015-10-27 13:47:36 -07:00
dl_test.cpp Revert "Fix symbol lookup order during relocation" 2014-11-03 22:15:08 -08:00
dlext_private.h linker: Allow caller to specify parent namespace 2016-05-17 13:37:03 -07:00
dlext_test.cpp Fix dlext.ns_smoke test 2016-07-13 16:28:20 -07:00
dlfcn_test.cpp Pass argc/argv/envp to dso constructors 2016-07-20 16:10:19 -07:00
error_test.cpp Add <error.h>. 2015-01-26 11:57:11 -08:00
eventfd_test.cpp
fcntl_test.cpp Add sync_file_range to <fcntl.h>. 2016-04-05 12:17:22 -07:00
fenv_test.cpp
file-check-cxx Fix our fortify tests for global -Werror. 2016-02-02 17:13:03 -08:00
fortify_compilation_test.cpp add fortified implementations of write/pwrite{,64} 2015-08-20 13:46:51 -04:00
fortify_test.cpp Improve diagnostics from the assembler __memset_chk routines. 2016-03-01 12:46:47 -08:00
fortify_test_main.cpp Fix our fortify tests for global -Werror. 2016-02-02 17:13:03 -08:00
ftw_test.cpp Fix ftw/nftw to only report unreadable directories once. 2016-04-18 12:05:18 -07:00
getauxval_test.cpp Fix test getauxval.arm_has_AT_HWCAP2. 2016-03-29 15:41:49 -07:00
getcwd_test.cpp
grp_pwd_test.cpp bionic: Implement getpwent and getgrent 2016-04-22 10:44:19 -07:00
gtest_main.cpp Pass argc/argv/envp to dso constructors 2016-07-20 16:10:19 -07:00
ifaddrs_test.cpp Rewrite ifaddrs#getifaddrs_INET. 2016-02-29 17:58:54 -08:00
inttypes_test.cpp
libc_logging_test.cpp
libdl_test.cpp Fix application_sdk_versions_smoke test 2015-06-10 17:03:12 -07:00
libgen_basename_test.cpp Fix test failure. 2015-11-09 16:04:50 -08:00
libgen_test.cpp Fix GNU/POSIX basename headers. 2015-11-04 14:19:55 -08:00
locale_test.cpp Fix newlocale with a NULL locale name. 2014-11-04 18:03:44 -08:00
malloc_test.cpp Fix the default alignment of the allocations. 2016-02-12 17:30:30 -08:00
math_data_test.h Add x86 optimization of rint functions and tests 2016-03-07 18:31:26 -08:00
math_test.cpp Add x86 optimization of rint functions and tests 2016-03-07 18:31:26 -08:00
mntent_test.cpp Add hasmntopt(3) 2016-03-25 14:16:58 -07:00
net_if_test.cpp Implement if_nameindex(3)/if_freenameindex(3). 2016-01-18 12:07:38 -08:00
netdb_test.cpp Test that ip6-localhost exists in etc/hosts. 2015-01-13 17:30:51 -08:00
netinet_ether_test.cpp Fix the <netinet/ether.h> tests. 2016-05-16 16:21:37 -07:00
netinet_in_test.cpp Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
netinet_udp_test.cpp <netinet/udp.h> should include <linux/udp.h>. 2015-09-22 12:34:13 -07:00
nl_types_test.cpp Add trivial no-op <nl_types.h>. 2016-04-06 17:22:44 -07:00
pthread_dlfcn_test.cpp Factor out the waiting for children in bionic tests. 2016-01-26 13:13:52 -08:00
pthread_test.cpp Do not return with stack address in global variable. 2016-06-02 15:02:25 -07:00
pty_test.cpp Factor out the waiting for children in bionic tests. 2016-01-26 13:13:52 -08:00
regex_test.cpp Fix regerror(..., nullptr, 0). 2016-02-12 16:00:53 -08:00
resolv_test.cpp Fix b64_pton. 2016-04-06 12:08:45 -07:00
run-on-host.sh Convert bionic benchmarks and tests to Android.bp 2016-07-14 12:30:12 -07:00
sched_test.cpp Generalize the clone function slightly. 2016-05-06 16:37:00 -07:00
ScopedSignalHandler.h Add SysV signal handling 2016-04-04 16:33:29 -07:00
search_test.cpp Fix google-explicit-constructor warnings. 2016-05-03 12:08:05 -07:00
semaphore_test.cpp Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23."" 2016-01-25 17:39:18 -08:00
setjmp_test.cpp Add a checksum to jmp_buf on mips and mips64. 2016-03-28 14:54:49 +00:00
signal_test.cpp Add SysV signal handling 2016-04-04 16:33:29 -07:00
sstream_test.cpp
stack_protector_test.cpp Improve and fix the stack-protector tests. 2016-03-09 14:50:03 -08:00
stack_protector_test_helper.cpp Remove a workaround from stack_protector_test that's not needed in master. 2016-04-01 21:02:25 -07:00
stack_unwinding_test.cpp Increase alternative signal stack size on 64-bit devices. 2015-09-22 11:18:26 -07:00
stdatomic_test.cpp Preliminary cleanup of <sys/cdefs.h>. 2016-06-06 17:35:53 -07:00
stdint_test.cpp
stdio_ext_test.cpp Change _stdio_handles_locking into _caller_handles_locking. 2015-11-20 17:44:26 -08:00
stdio_nofortify_test.cpp Add method to run fortified versions of funcs. 2016-01-13 17:13:21 -08:00
stdio_test.cpp Add ctermid. 2016-06-09 15:16:32 -07:00
stdlib_test.cpp Implement mblen(3). 2016-04-28 16:41:29 -07:00
string_nofortify_test.cpp Add method to run fortified versions of funcs. 2016-01-13 17:13:21 -08:00
string_posix_strerror_r_test.cpp Rationalize visibility. 2016-06-09 17:40:19 -07:00
string_test.cpp Fix misc-macro-parentheses warnings in bionic/tests. 2016-06-03 10:18:07 -07:00
strings_nofortify_test.cpp Add method to run fortified versions of funcs. 2016-01-13 17:13:21 -08:00
strings_test.cpp Add method to run fortified versions of funcs. 2016-01-13 17:13:21 -08:00
sys_epoll_test.cpp epoll_create: reject size <= 0 2016-03-24 16:37:20 -07:00
sys_mman_test.cpp Add a test for a known kernel bug. 2016-07-14 17:07:17 -07:00
sys_personality_test.cpp Fix personality test for mips32r6 2015-12-14 12:29:53 +01:00
sys_prctl_test.cpp Add test for an Android kernel bug about prctl. 2015-07-13 19:15:38 -07:00
sys_procfs_test.cpp Add a sys/procfs.h. 2015-06-15 18:39:02 -07:00
sys_ptrace_test.cpp Fix google-explicit-constructor warnings. 2016-05-03 12:08:05 -07:00
sys_quota_test.cpp Add <sys/quota.h>. 2016-04-06 11:06:09 -07:00
sys_resource_test.cpp Add prlimit to LP32. 2015-10-28 20:04:59 -07:00
sys_select_test.cpp Factor out the waiting for children in bionic tests. 2016-01-26 13:13:52 -08:00
sys_sendfile_test.cpp
sys_socket_test.cpp better gtest runner for bionic 2014-12-13 18:53:34 -08:00
sys_stat_test.cpp Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink. 2015-03-09 18:13:15 -07:00
sys_statvfs_test.cpp Hide statfs/fstatfs' ST_VALID flag from userspace. 2015-03-18 15:46:48 -07:00
sys_syscall_test.cpp Don't declare SYS_* constants for unavailable __NR_* constants. 2016-07-18 12:48:39 -07:00
sys_sysinfo_test.cpp Add functions in sysinfo.h. 2014-11-14 16:22:48 -08:00
sys_sysmacros_test.cpp Fix <sys/sysmacros.h>. 2016-01-12 14:43:27 -08:00
sys_time_test.cpp Add futimes, futimesat, and lutimes. 2016-06-08 19:51:20 -07:00
sys_timex_test.cpp Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
sys_types_test.cpp
sys_uio_test.cpp Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
sys_vfs_test.cpp Hide statfs/fstatfs' ST_VALID flag from userspace. 2015-03-18 15:46:48 -07:00
sys_xattr_test.cpp Add O_PATH support for flistxattr() 2015-06-06 11:25:41 -07:00
system_properties_test.cpp Separate properties by selabel 2015-12-02 15:17:03 -08:00
TemporaryFile.h
thread_local_test.cpp Enable clang for modules failed with TLS. 2015-11-11 16:22:38 -08:00
time_test.cpp Fix google-explicit-constructor warnings. 2016-05-03 12:08:05 -07:00
uchar_test.cpp
uniqueptr_test.cpp
unistd_nofortify_test.cpp Add method to run fortified versions of funcs. 2016-01-13 17:13:21 -08:00
unistd_test.cpp Change use of /data to /data/local/tmp. 2016-05-23 12:53:42 -07:00
utils.h Pass argc/argv/envp to dso constructors 2016-07-20 16:10:19 -07:00
utmp_test.cpp Fix <utmp.h> declarations. 2015-10-26 19:29:12 -07:00
wchar_test.cpp Fix misc-macro-parentheses warnings in bionic/tests. 2016-06-03 10:18:07 -07:00
wctype_test.cpp Fix <wctype.h>. 2016-04-28 18:22:06 -07:00