bionic/tests
Elliott Hughes 431166d995 Fix 32-bit mmap/mmap64 handling of negative offsets.
We don't actually need to worry about sign extension if we reject
negative values ourselves. Previously it was possible to come up
with negative but aligned values that we would pass to the kernel;
in the case of mmap (as opposed to mmap64) we'd incorrectly turn
those into large positive offsets.

Change-Id: I2aa583e0f892d59bb77429aea8730b72db32dcb0
2014-01-27 16:36:56 -08:00
..
Android.mk Fix 32-bit mmap/mmap64 handling of negative offsets. 2014-01-27 16:36:56 -08:00
buffer_tests.cpp Add strcmp/memcmp testing. 2013-12-03 18:42:41 -08:00
buffer_tests.h Add strcmp/memcmp testing. 2013-12-03 18:42:41 -08:00
dirent_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
dlfcn_test.cpp Add extra regression tests for an already-fixed dynamic linker bug. 2013-11-11 15:48:06 -08:00
empty.cpp Reject .so files with no sysv hash table. 2012-10-31 14:30:50 -07:00
eventfd_test.cpp Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a 2013-04-03 11:10:37 -07:00
fcntl_test.cpp Clean up the 32-bit kernel support, fix LP64 fcntl declaration. 2013-11-06 16:33:39 -08:00
fenv_test.cpp Upgrade libm. 2013-02-01 14:51:19 -08:00
fortify_test.cpp Wrap sprintf()/snprintf() macros to prevent expansion errors. 2013-10-11 12:14:49 -07:00
getauxval_test.cpp libc: add getauxval() 2013-01-11 16:44:15 -08:00
getcwd_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
inttypes_test.cpp Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64). 2014-01-24 16:38:07 -08:00
libc_logging_test.cpp Fix some test assumptions that are wrong for __LP64__. 2013-10-18 13:17:18 -07:00
libgen_test.cpp Clean up the <libgen.h> implementation a little, bring in tests. 2012-10-29 14:27:10 -07:00
malloc_test.cpp Implement malloc_usable_size for debug impls. 2013-06-07 14:55:32 -07:00
math_test.cpp Add test case for 1^NaN 2013-11-18 19:00:59 +00:00
netdb_test.cpp Update getnameinfo.c, remove dead code, and fix error reporting. 2013-02-13 13:11:11 -08:00
pthread_test.cpp Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone 2014-01-04 13:14:35 +00:00
regex_test.cpp Switch to the current NetBSD regex implementation. 2012-08-15 15:39:11 -07:00
sched_test.cpp Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00
ScopedSignalHandler.h Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00
signal_test.cpp Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00
stack_protector_test.cpp fix unittests. 2013-06-11 15:45:23 -07:00
stack_unwinding_test_impl.c Fix clang warnings in bionic. 2013-10-11 16:20:08 -07:00
stack_unwinding_test.cpp Kernel dso support for 'dl_iterate_phdr' function 2013-06-25 13:12:39 -07:00
statvfs_test.cpp Fix statvfs tests for the host. 2013-10-21 19:27:19 -07:00
stdio_test.cpp Don't abort in stdio.getdelim_invalid and stdio.getline_invalid. 2013-12-19 14:56:17 -08:00
stdlib_test.cpp Fix pthread_join. 2013-11-18 19:48:11 -08:00
string_test.cpp Add strcmp/memcmp testing. 2013-12-03 18:42:41 -08:00
strings_test.cpp Everyone has CLZ. 2013-02-13 14:40:48 -08:00
stubs_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
sys_epoll_test.cpp Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
sys_mman_test.cpp Fix 32-bit mmap/mmap64 handling of negative offsets. 2014-01-27 16:36:56 -08:00
sys_resource_test.cpp Fix <sys/resource.h>. 2014-01-09 11:00:04 -08:00
sys_select_test.cpp Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
sys_sendfile_test.cpp Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00
sys_stat_test.cpp Make sure we have a mkfifo symbol. 2013-10-22 12:03:19 -07:00
sys_syscall_test.cpp Add a unit test for syscall(2). 2013-11-13 13:14:31 -08:00
sys_time_test.cpp Fix utime/utimes when passed a NULL pointer. 2013-10-28 13:21:06 -07:00
sys_types_test.cpp Fix dev_t (for LP64). 2014-01-03 14:49:37 -08:00
system_properties_test.cpp Merge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEAD 2013-11-22 13:38:33 -08:00
TemporaryFile.h Fix some test assumptions that are wrong for __LP64__. 2013-10-18 13:17:18 -07:00
time_test.cpp Fix the time unit tests for systems with 64-bit time_t. 2013-10-18 16:21:54 -07:00
unistd_test.cpp Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00