platform_bionic/tests
Elliott Hughes 9361ad3f80 Fix <sys/sysmacros.h>.
1. The definitions were wrong.
2. The definitions were inline functions.
3. The definitions were polluting the namespace even for code that doesn't
   want BSD cruft.

Note that everybody will still get these by default, because you still get
all the BSD stuff by default.

Bug: http://b/12706131
Change-Id: I062ecd09feef7a6e8ba1922d465b96a9c4bf4f4e
2016-01-12 14:43:27 -08:00
..
libs Introduce anonymous namespace 2015-11-23 16:13:10 -08:00
math_data Accuracy tests for libm 2015-02-14 00:56:46 +08:00
__cxa_thread_atexit_test.cpp Add bionic-unit-tests-gcc{32,64}, compiled with gcc. 2015-11-30 10:52:16 -08:00
Android.build.mk Introducing linker namespaces 2015-11-15 12:09:16 -08:00
Android.mk Fix <sys/sysmacros.h>. 2016-01-12 14:43:27 -08: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 Add strcmp/memcmp testing. 2013-12-03 18:42:41 -08:00
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 Fix our <complex.h> support. 2014-11-06 11:16:55 -08:00
ctype_test.cpp Upgrade our <ctype.h> implementation to OpenBSD head. 2014-04-18 10:29:16 -07:00
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_test.cpp linker: implement shared namespaces 2015-12-19 23:38:27 -08:00
dlfcn_test.cpp linker: add dlvsym(3) 2015-12-16 15:24:13 -08:00
error_test.cpp Add <error.h>. 2015-01-26 11:57:11 -08:00
eventfd_test.cpp Make sure that the same tests are on all platforms. 2014-02-06 20:12:21 -08:00
fcntl_test.cpp Add posix_fadvise(3). 2014-09-11 08:45:46 -07:00
fenv_test.cpp Upgrade libm. 2013-02-01 14:51:19 -08:00
file-check-cxx Fix file-check-cxx to handle quoted arguments 2015-09-28 13:14:19 -07:00
fortify_compilation_test.cpp add fortified implementations of write/pwrite{,64} 2015-08-20 13:46:51 -04:00
fortify_test.cpp add fortified implementations of write/pwrite{,64} 2015-08-20 13:46:51 -04:00
ftw_test.cpp Fix ftw tests when run as non-root. 2015-04-01 12:22:40 -07:00
getauxval_test.cpp set errno to ENOENT in getauxval per glibc 2.19 2015-03-17 19:50:55 -04:00
getcwd_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
gtest_main.cpp Don't use StringPrintf() in gtest runner. 2015-12-03 16:28:03 -08:00
ifaddrs_test.cpp Add a getifaddrs(3) debugging tool. 2016-01-12 08:45:16 -08:00
inttypes_test.cpp Pull in upstream fixes to reject invalid bases. 2014-09-23 14:53:10 -07:00
libc_logging_test.cpp Add GNU-compatible strerror_r. 2014-08-28 16:37:09 -07:00
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 bug in dlmalloc's version of calloc. 2015-12-16 14:48:03 -08:00
math_data_test.h Accuracy tests for libm 2015-02-14 00:56:46 +08:00
math_test.cpp Accuracy tests for libm 2015-02-14 00:56:46 +08:00
mntent_test.cpp Fix our <mntent.h> implementation. 2014-11-13 15:51:36 -08:00
net_if_test.cpp Add basic tests for <net/if.h>. 2016-01-11 13:18:20 -08:00
netdb_test.cpp Test that ip6-localhost exists in etc/hosts. 2015-01-13 17:30:51 -08:00
netinet_udp_test.cpp <netinet/udp.h> should include <linux/udp.h>. 2015-09-22 12:34:13 -07:00
pthread_dlfcn_test.cpp Move pthread_atfork_dlclose test out of static lib 2015-05-06 16:47:54 -07:00
pthread_test.cpp Add a few missing pthread tests. 2015-12-14 17:35:10 -08:00
pty_test.cpp Implement <pty.h>. 2014-12-03 15:55:34 -08:00
regex_test.cpp Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64. 2015-08-27 14:48:32 -07:00
sched_test.cpp Consistently use #if defined(__BIONIC__) in tests. 2014-05-13 11:19:57 -07:00
ScopedSignalHandler.h support _POSIX_REALTIME_SIGNALS 2014-12-08 21:52:43 -08:00
search_test.cpp Implement twalk(3), add unit tests. 2014-07-24 15:14:06 -07:00
semaphore_test.cpp sem_timedwait with a null timeout doesn't mean "forever". 2015-12-16 15:15:58 -08:00
setjmp_test.cpp Implement setjmp cookies on MIPS and MIPS64 2015-10-09 13:42:58 +02:00
signal_test.cpp support _POSIX_REALTIME_SIGNALS 2014-12-08 21:52:43 -08:00
sstream_test.cpp Improve the <sstream> test. 2014-04-10 20:44:27 -07:00
stack_protector_test.cpp Fix bug for recursive/errorcheck mutex on 32-bit devices. 2015-04-03 19:01:17 -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 Switch benchmarks and tests to libc++. 2014-09-30 10:28:30 -07:00
stdint_test.cpp Fixed int fast types for LP64 2014-02-21 16:27:21 +00:00
stdio_ext_test.cpp Change _stdio_handles_locking into _caller_handles_locking. 2015-11-20 17:44:26 -08:00
stdio_test.cpp Fix stdio read after EOF behavior. 2015-10-09 17:57:26 -07:00
stdlib_test.cpp Add POSIX lcong48. 2014-11-06 14:14:37 -08:00
string_posix_strerror_r_test.cpp Fix glibc 2.15 build. 2014-11-12 19:31:21 -08:00
string_test.cpp Fix over read in strcpy/stpcpy/strcat. 2015-09-24 14:17:36 -07:00
strings_test.cpp Implement all the POSIX _l functions. 2014-11-06 15:52:22 -08:00
stubs_test.cpp Add preliminary OEM UID/GID support. 2015-09-22 13:33:17 -07:00
sys_epoll_test.cpp bionic: make epoll_event structure packed 2014-05-05 19:48:55 -07:00
sys_mman_test.cpp Fix test build break. 2015-11-19 13:44:20 -08: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_resource_test.cpp Add prlimit to LP32. 2015-10-28 20:04:59 -07:00
sys_select_test.cpp Include sys/types.h and sys/wait.h for waitpid 2014-04-01 17:42:31 -07:00
sys_sendfile_test.cpp Make sure that the same tests are on all platforms. 2014-02-06 20:12:21 -08:00
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 Add a unit test for syscall(2). 2013-11-13 13:14:31 -08: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 Use VDSO for clock_gettime(2) and gettimeofday(2). 2014-07-16 15:15:53 -07:00
sys_types_test.cpp Fix dev_t (for LP64). 2014-01-03 14:49:37 -08:00
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 CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps. 2014-09-23 18:21:52 -07:00
thread_local_test.cpp Enable clang for modules failed with TLS. 2015-11-11 16:22:38 -08:00
time_test.cpp Fix strftime if tm_zone is null. 2015-11-12 16:51:31 -08:00
uchar_test.cpp Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07:00
uniqueptr_test.cpp Load libraries in breadth-first order 2014-10-01 16:01:28 -07:00
unistd_test.cpp Track rename from base/ to android-base/. 2015-12-04 15:27:46 -08:00
utils.h Track rename from base/ to android-base/. 2015-12-04 15:27:46 -08:00
utmp_test.cpp Fix <utmp.h> declarations. 2015-10-26 19:29:12 -07:00
wchar_test.cpp Add GNU extensions mempcpy and wmemcpy. 2015-02-18 22:02:56 -08:00