platform_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
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 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 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.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 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_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