android_bionic/tests
Elliott Hughes 0f461e35f6 Fix <sys/resource.h>.
The situation here is a bit confusing. On 64-bit, rlimit and rlimit64 are
the same, and so getrlimit/getrlimit64, setrlimit/setrlimit64,
and prlimit/prlimit64 are all the same. On 32-bit, rlimit and rlimit64 are
different. 32-bit architectures other than MIPS go one step further by having
an even more limited getrlimit system call, so arm and x86 need to use
ugetrlimit instead of getrlimit. Worse, the 32-bit architectures don't have
64-bit getrlimit- and setrlimit-equivalent system calls, and you have to use
prlimit64 instead. There's no 32-bit prlimit system call, so there's no
easy implementation of that --- what should we do if the result of prlimit64
won't fit in a struct rlimit? Since 32-bit survived without prlimit/prlimit64
for this long, I'm not going to bother implementing prlimit for 32-bit.

We need the rlimit64 functions to be able to build strace 4.8 out of the box.

Change-Id: I1903d913b23016a2fc3b9f452885ac730d71e001
2014-01-09 11:00:04 -08:00
..
Android.mk Fix <sys/resource.h>. 2014-01-09 11:00:04 -08:00
ScopedSignalHandler.h Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00
TemporaryFile.h Fix some test assumptions that are wrong for __LP64__. 2013-10-18 13:17:18 -07: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
dlfcn_test.cpp Add extra regression tests for an already-fixed dynamic linker bug. 2013-11-11 15:48:06 -08:00
empty.cpp
eventfd_test.cpp
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
fortify_test.cpp Wrap sprintf()/snprintf() macros to prevent expansion errors. 2013-10-11 12:14:49 -07:00
getauxval_test.cpp
getcwd_test.cpp
inttypes_test.cpp Fix inttypes.h PRI?PTR and SCN?PTR macros. 2013-07-02 15:35:27 -07: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
malloc_test.cpp
math_test.cpp Add test case for 1^NaN 2013-11-18 19:00:59 +00:00
netdb_test.cpp
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
sched_test.cpp 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
stack_unwinding_test.cpp Kernel dso support for 'dl_iterate_phdr' function 2013-06-25 13:12:39 -07:00
stack_unwinding_test_impl.c Fix clang warnings in bionic. 2013-10-11 16:20:08 -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
stubs_test.cpp
sys_epoll_test.cpp Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07: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
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