platform_bionic/libc/bionic
2017-09-11 18:39:30 +00:00
..
__bionic_get_shell_path.cpp For devices which are not treble enabled, return the system shell. 2017-09-07 17:19:21 -07:00
__cmsg_nxthdr.cpp
__cxa_guard.cpp Always use CLOCK_MONOTONIC for pthreads and semaphores 2017-08-18 09:11:05 -07:00
__cxa_pure_virtual.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
__cxa_thread_atexit_impl.cpp Defend against -fstack-protector in libc startup. 2016-01-06 20:06:08 -08:00
__errno.cpp Remove volatile from the __errno declaration. 2017-06-13 16:02:07 -07:00
__gnu_basename.cpp
__libc_current_sigrtmax.cpp Make unified headers' SIGRTMIN/SIGRTMAX usable before API 21. 2017-04-26 14:34:36 -07:00
__libc_current_sigrtmin.cpp Make unified headers' SIGRTMIN/SIGRTMAX usable before API 21. 2017-04-26 14:34:36 -07:00
__libc_init_main_thread.cpp Revert "Revert "Attempt to use arc4random where getauxval(AT_RANDOM) is used."" 2016-11-10 17:02:45 -08:00
__set_errno.cpp Move __set_errno to ndk_cruft.cpp. 2015-10-29 18:11:32 -07:00
__stack_chk_fail.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
abort.cpp Shave another uninteresting stack frame off aborts. 2017-06-20 14:58:16 -07:00
accept.cpp
accept4.cpp
access.cpp
android_set_abort_message.cpp Break android_set_abort_message out of libc_logging. 2017-04-03 17:47:51 -07:00
arpa_inet.cpp Fix inet_aton on LP32. 2015-10-09 17:36:05 -07:00
assert.cpp Remove dead longjmperror. 2017-08-23 15:40:03 -07:00
atof.cpp
bionic_arc4random.cpp Shave another uninteresting stack frame off aborts. 2017-06-20 14:58:16 -07:00
bionic_futex.cpp Always use CLOCK_MONOTONIC for pthreads and semaphores 2017-08-18 09:11:05 -07:00
bionic_netlink.cpp Fix ifaddrs error handling. 2016-10-14 14:35:26 -07:00
bionic_netlink.h Remove obsolete GCC workaround. 2016-06-10 12:49:04 -07:00
bionic_systrace.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
bionic_time_conversions.cpp Always use CLOCK_MONOTONIC for pthreads and semaphores 2017-08-18 09:11:05 -07:00
brk.cpp Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
c16rtomb.cpp Hide various mbstate implementation details. 2017-07-14 17:00:05 -07:00
c32rtomb.cpp Hide various mbstate implementation details. 2017-07-14 17:00:05 -07:00
chmod.cpp
chown.cpp Remove bogus transitive includes. 2014-12-29 13:29:50 -08:00
clearenv.cpp
clock.cpp Move <sys/sysconf.h> to <bits/sysconf.h>. 2016-04-07 18:02:00 -07:00
clock_getcpuclockid.cpp Minor clock_getcpuclockid optimization. 2016-03-07 11:54:02 -08:00
clock_nanosleep.cpp clock_nanosleep: add CLOCK_THREAD_CPUTIME_ID special case 2016-03-28 10:29:16 -07:00
clone.cpp Shave another uninteresting stack frame off aborts. 2017-06-20 14:58:16 -07:00
close.cpp Simplify close(2) EINTR handling. 2015-04-23 08:41:45 -07:00
connect.cpp
ctype.cpp
dirent.cpp Reorder DIR structure due to bad apps. 2015-06-04 14:04:16 -07:00
dl_iterate_phdr_static.cpp Fix signal trampolines. 2014-09-15 15:04:14 -07:00
dup2.cpp Fix dup2 in the case where the two fds are equal. 2015-02-23 21:52:56 -08:00
environ.cpp Move environ valiable into it's own file 2017-07-10 21:44:17 +02:00
epoll_create.cpp epoll_create: reject size <= 0 2016-03-24 16:37:20 -07:00
epoll_pwait.cpp
epoll_wait.cpp
error.cpp Clean up <stdlib.h> slightly. 2015-01-26 14:28:41 -08:00
ether_aton.c Fix our *ether* headers mess. 2016-05-13 11:00:22 -07:00
ether_ntoa.c Fix our *ether* headers mess. 2016-05-13 11:00:22 -07:00
eventfd_read.cpp
eventfd_write.cpp
exec.cpp Va_end should be used with va_start 2017-05-20 13:20:41 -07:00
faccessat.cpp Add details on why AT_SYMLINK_NOFOLLOW is dangerous 2017-02-14 12:55:15 -08:00
fchmod.cpp Ensure raw fchmod/fchmodat syscalls are hidden. 2015-02-03 12:10:30 -08:00
fchmodat.cpp Ensure raw fchmod/fchmodat syscalls are hidden. 2015-02-03 12:10:30 -08:00
ffs.cpp
fgetxattr.cpp libc: Add O_PATH support for fgetxattr / fsetxattr 2015-06-01 15:51:56 -07:00
flistxattr.cpp Add O_PATH support for flistxattr() 2015-06-06 11:25:41 -07:00
flockfile.cpp Revert "Revert "Remove __sinit and __sdidinit."" 2015-12-05 07:30:59 -08:00
fork.cpp Shave another uninteresting stack frame off aborts. 2017-06-20 14:58:16 -07:00
fortify.cpp Add more const-correct C++ overloads. 2017-08-23 14:34:40 -07:00
fpclassify.cpp Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
fsetxattr.cpp libc: Add O_PATH support for fgetxattr / fsetxattr 2015-06-01 15:51:56 -07:00
ftruncate.cpp Cleanup ftruncate negative test. 2015-06-01 13:22:57 -07:00
fts.c bionic: fix assorted static analyzer warnings 2017-06-28 15:03:15 -07:00
ftw.cpp Fix ftw/nftw to only report unreadable directories once. 2016-04-18 12:05:18 -07:00
futimens.cpp
getauxval.cpp set errno to ENOENT in getauxval per glibc 2.19 2015-03-17 19:50:55 -04:00
getcwd.cpp Remove outdated _FORTIFY_SOURCE #undefs 2017-07-21 11:25:52 -07:00
getdomainname.cpp Add {get,set}domainname(2) 2016-03-25 14:16:58 -07:00
getentropy_linux.c bionic: make NONBLOCK call to getrandom 2016-11-23 15:10:52 -08:00
gethostname.cpp gethostname.c: change to report ENAMETOOLONG error when buflen is less 2014-11-12 12:07:33 -08:00
getpagesize.cpp Break up the rest of stubs.cpp. 2016-04-06 08:34:58 -07:00
getpgrp.cpp
getpid.cpp Make getpid work before the main thread is initialized. 2016-06-28 15:52:59 -07:00
getpriority.cpp Fix getpriority/setpriority types. 2016-11-29 15:14:11 -08:00
gettid.cpp Shave another uninteresting stack frame off aborts. 2017-06-20 14:58:16 -07:00
grp_pwd.cpp POSIX getlogin_r/LOGIN_NAME_MAX/TTY_NAME_MAX. 2017-07-28 16:34:38 -07:00
iconv.cpp Implement <iconv.h>. 2017-08-25 08:47:41 -07:00
icu.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
icu_static.cpp Use icu4c to implement <wctype.h>. 2016-11-29 19:19:30 +00:00
icu_wrappers.cpp Implement wcwidth(3) in terms of icu4c. 2017-07-27 17:08:24 -07:00
ifaddrs.cpp Fix google-explicit-constructor warnings. 2016-05-03 12:08:05 -07:00
initgroups.c
inotify_init.cpp
ioctl.cpp fix the mremap signature 2015-11-06 13:14:43 -08:00
isatty.c
jemalloc.h Add support for modifying decay timer. 2017-05-15 16:59:16 -07:00
jemalloc_wrapper.cpp Add support for modifying decay timer. 2017-05-15 16:59:16 -07:00
killpg.cpp Replace killpg. 2017-07-11 15:00:17 -07:00
langinfo.cpp Implement <langinfo.h>. 2016-11-19 11:46:54 -08:00
lchown.cpp Remove bogus transitive includes. 2014-12-29 13:29:50 -08:00
legacy_32_bit_support.cpp Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
lfs64_support.cpp CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps. 2014-09-23 18:21:52 -07:00
libc_init_common.cpp Move environ valiable into it's own file 2017-07-10 21:44:17 +02:00
libc_init_common.h Move VDSO pointers to a shared globals struct. 2015-10-09 15:59:04 -07:00
libc_init_dynamic.cpp Disable stack protector for __libc_preinit 2017-06-21 23:53:46 +00:00
libc_init_static.cpp Only initialize the global stack protector once. 2016-06-30 12:58:32 -07:00
libgen.cpp Allocate thread local buffers in __init_tls. 2017-02-22 16:05:03 -08:00
link.cpp
locale.cpp Add a non-TLS slot implementation of locale.cpp. 2017-07-12 13:47:42 -07:00
lockf.cpp Fix lockf for LP32. 2016-01-26 14:32:55 -08:00
lstat.cpp
malloc_common.cpp Add support for modifying decay timer. 2017-05-15 16:59:16 -07:00
malloc_info.cpp
malloc_info.h
mblen.cpp Implement mblen(3). 2016-04-28 16:41:29 -07:00
mbrtoc16.cpp Hide various mbstate implementation details. 2017-07-14 17:00:05 -07:00
mbrtoc32.cpp Hide various mbstate implementation details. 2017-07-14 17:00:05 -07:00
memmem.cpp libc: add const-correct string.h overloads 2017-04-05 13:17:07 -07:00
mempcpy.cpp Add GNU extensions mempcpy and wmemcpy. 2015-02-18 22:02:56 -08:00
mkdir.cpp
mkfifo.cpp Add mkfifoat(3). 2014-10-23 19:10:54 -07:00
mknod.cpp
mmap.cpp mmap: fix calculation of is_private_anonymous variable 2015-11-20 09:16:59 -08:00
mntent.cpp Allocate thread local buffers in __init_tls. 2017-02-22 16:05:03 -08:00
mremap.cpp extend the PTRDIFF_MAX size check to mremap 2015-11-19 08:57:47 -05:00
ndk_cruft.cpp Clean up __isthreaded. 2017-05-11 15:29:03 -07:00
net_if.cpp Fix google-explicit-constructor warnings. 2016-05-03 12:08:05 -07:00
netdb.cpp Break up the rest of stubs.cpp. 2016-04-06 08:34:58 -07:00
NetdClient.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
NetdClientDispatch.cpp
netinet_in.cpp POSIX says IPPORT_RESERVED is in <netdb.h>. 2016-08-12 10:38:35 -07:00
new.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
nl_types.cpp Add trivial no-op <nl_types.h>. 2016-04-06 17:22:44 -07:00
open.cpp With O_TMPFILE, open(2) takes a mode argument. 2017-08-04 10:20:18 -07:00
pathconf.cpp Clean up <sys/limits.h> a bit. 2016-11-30 09:06:53 -08:00
pause.cpp
pipe.cpp
poll.cpp Remove outdated _FORTIFY_SOURCE #undefs 2017-07-21 11:25:52 -07:00
posix_fadvise.cpp Add posix_fadvise(3). 2014-09-11 08:45:46 -07:00
posix_fallocate.cpp
posix_madvise.cpp implement posix_madvise 2014-12-04 11:01:28 -08:00
posix_timers.cpp Make all rt_sigtimedwait signatures match. 2016-05-23 11:20:19 -07:00
pthread_atfork.cpp Eliminate deadlock in forked child due to delayed resetting mutex lock 2016-11-07 03:32:57 +00:00
pthread_attr.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
pthread_barrier.cpp Fix pthread_barrierattr_getpshared prototype. 2016-08-11 23:18:13 -07:00
pthread_cond.cpp Fix a comment in the pthread_cond_t implementation. 2017-02-18 16:35:36 -08:00
pthread_create.cpp Report correct errno on clone failure 2017-08-14 14:42:19 +02:00
pthread_detach.cpp Revert "Remove the global thread list." 2017-02-02 02:41:38 +00:00
pthread_equal.cpp
pthread_exit.cpp Fix leak of bionic TLS when threads are detached. 2017-03-07 23:24:50 -08:00
pthread_getcpuclockid.cpp Be more strict about using invalid pthread_ts. 2017-02-13 17:59:29 -08:00
pthread_getschedparam.cpp Be more strict about using invalid pthread_ts. 2017-02-13 17:59:29 -08:00
pthread_gettid_np.cpp Be more strict about using invalid pthread_ts. 2017-02-13 17:59:29 -08:00
pthread_internal.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
pthread_internal.h Increase signal stack size on 32-bit to 16kB. 2017-03-08 16:43:59 -08:00
pthread_join.cpp Revert "Remove the global thread list." 2017-02-02 02:41:38 +00:00
pthread_key.cpp Prevent using static-allocated pthread keys before creation. 2015-04-14 13:32:09 -07:00
pthread_kill.cpp Be more strict about using invalid pthread_ts. 2017-02-13 17:59:29 -08:00
pthread_mutex.cpp Use clang's nullability instead of nonnull. 2016-05-05 17:11:54 -07:00
pthread_once.cpp Use FUTEX_WAIT_BITSET to avoid converting timeouts. 2015-11-19 13:42:03 -08:00
pthread_rwlock.cpp sem_timedwait with a null timeout doesn't mean "forever". 2015-12-16 15:15:58 -08:00
pthread_self.cpp
pthread_setname_np.cpp Be more strict about using invalid pthread_ts. 2017-02-13 17:59:29 -08:00
pthread_setschedparam.cpp Be more strict about using invalid pthread_ts. 2017-02-13 17:59:29 -08:00
pthread_sigmask.cpp
pthread_spinlock.cpp Implement pthread spin. 2015-11-18 17:51:21 -08:00
ptrace.cpp
pty.cpp Allocate thread local buffers in __init_tls. 2017-02-22 16:05:03 -08:00
pututline.c
raise.cpp Make raise/abort work with stale cached pid/tid values. 2017-05-10 16:42:04 -07:00
rand.cpp
readlink.cpp Remove outdated _FORTIFY_SOURCE #undefs 2017-07-21 11:25:52 -07:00
reboot.cpp
recv.cpp Remove outdated _FORTIFY_SOURCE #undefs 2017-07-21 11:25:52 -07:00
rename.cpp
rmdir.cpp
scandir.cpp Implement scandirat and scandirat64. 2015-10-27 13:47:36 -07:00
sched_cpualloc.c bionic: fix assorted static analyzer warnings 2017-06-28 15:03:15 -07:00
sched_cpucount.c
sched_getaffinity.cpp
sched_getcpu.cpp
semaphore.cpp Add and use constants for the Android API levels. 2016-11-16 16:55:42 -08:00
send.cpp add fortified implementations of send/sendto 2017-02-14 15:50:28 -08:00
setegid.cpp
seteuid.cpp
setjmp_cookie.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
setpgrp.cpp
sigaction.cpp Use the kernel's sa_restorer for aarch64. 2014-09-16 15:49:50 -07:00
sigaddset.cpp Turn on -Wold-style-cast and fix the errors. 2015-01-21 17:09:58 -08:00
sigblock.c
sigdelset.cpp Turn on -Wold-style-cast and fix the errors. 2015-01-21 17:09:58 -08:00
sigemptyset.cpp Reduce <signal.h> namespace pollution. 2015-01-24 14:18:16 -08:00
sigfillset.cpp Reduce <signal.h> namespace pollution. 2015-01-24 14:18:16 -08:00
sighold.cpp Add SysV signal handling 2016-04-04 16:33:29 -07:00
sigignore.cpp Add SysV signal handling 2016-04-04 16:33:29 -07:00
siginterrupt.c
sigismember.cpp Turn on -Wold-style-cast and fix the errors. 2015-01-21 17:09:58 -08:00
signal.cpp Make _signal hidden in all cases. 2015-10-30 17:10:47 -07:00
signalfd.cpp
sigpause.cpp Add SysV signal handling 2016-04-04 16:33:29 -07:00
sigpending.cpp
sigprocmask.cpp
sigqueue.cpp Hide rt_sigqueueinfo. 2015-05-18 11:29:20 -07:00
sigrelse.cpp Add SysV signal handling 2016-04-04 16:33:29 -07:00
sigset.cpp Add SysV signal handling 2016-04-04 16:33:29 -07:00
sigsetmask.c
sigsuspend.cpp
sigtimedwait.cpp support _POSIX_REALTIME_SIGNALS 2014-12-08 21:52:43 -08:00
sigwait.cpp Make all rt_sigtimedwait signatures match. 2016-05-23 11:20:19 -07:00
sigwaitinfo.cpp support _POSIX_REALTIME_SIGNALS 2014-12-08 21:52:43 -08:00
socket.cpp
stat.cpp
statvfs.cpp Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
stdlib_l.cpp Move non-locale.h APIs out of locale.cpp. 2017-07-12 12:41:47 -07:00
strchr.cpp Remove outdated _FORTIFY_SOURCE #undefs 2017-07-21 11:25:52 -07:00
strchrnul.cpp Add strchrnul. 2015-08-26 09:59:29 -07:00
strerror.cpp Allocate thread local buffers in __init_tls. 2017-02-22 16:05:03 -08:00
strerror_r.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
string_l.cpp Move non-locale.h APIs out of locale.cpp. 2017-07-12 12:41:47 -07:00
strings_l.cpp Move non-locale.h APIs out of locale.cpp. 2017-07-12 12:41:47 -07:00
strnlen.c
strrchr.cpp Remove outdated _FORTIFY_SOURCE #undefs 2017-07-21 11:25:52 -07:00
strsignal.cpp Allocate thread local buffers in __init_tls. 2017-02-22 16:05:03 -08:00
strtold.cpp Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
symlink.cpp
sync_file_range.cpp Add sync_file_range to <fcntl.h>. 2016-04-05 12:17:22 -07:00
sys_msg.cpp [mips64] Fix ipc syscalls 2016-09-09 12:24:04 +02:00
sys_sem.cpp [mips64] Fix ipc syscalls 2016-09-09 12:24:04 +02:00
sys_shm.cpp [mips64] Fix ipc syscalls 2016-09-09 12:24:04 +02:00
sys_siglist.c Move <sys/_sigdefs.h> and <sys/_errdefs.h> to private. 2016-04-13 17:45:39 -07:00
sys_signame.c Move <sys/_sigdefs.h> and <sys/_errdefs.h> to private. 2016-04-13 17:45:39 -07:00
sys_time.cpp Add futimes, futimesat, and lutimes. 2016-06-08 19:51:20 -07:00
sysconf.cpp POSIX getlogin_r/LOGIN_NAME_MAX/TTY_NAME_MAX. 2017-07-28 16:34:38 -07:00
sysinfo.cpp Fix overflow in get_phys_pages and get_avphys_pages. 2017-08-24 16:51:48 -07:00
syslog.cpp Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
system_properties.cpp <stdbool.h> not necessary in C++. 2017-09-07 13:28:14 -07:00
tdestroy.cpp Finish <search.h>. 2017-08-31 17:38:51 -07:00
termios.cpp Make inline tcsetattr definition match constants. 2017-07-05 12:00:29 -07:00
thread_private.cpp
time64.c Use snprintf instead of sprintf. 2014-10-07 11:28:47 -07:00
time64_config.h
tmpfile.cpp Add fopen64/freopen64/tmpfile64 aliases. 2016-02-03 11:24:28 -08:00
umount.cpp
unlink.cpp
vdso.cpp MIPS: 32/64-bit VDSO support 2017-06-01 08:50:57 -07:00
wait.cpp
wchar.cpp Hide various mbstate implementation details. 2017-07-14 17:00:05 -07:00
wchar_l.cpp Move wchar _l functions out of wchar.cpp. 2017-07-13 10:29:20 -07:00
wcstod.cpp Fix wcsto* where strings begin with whitespace. 2016-12-02 13:03:30 -08:00
wctype.cpp Implement wcwidth(3) in terms of icu4c. 2017-07-27 17:08:24 -07:00
wcwidth.cpp Implement wcwidth(3) in terms of icu4c. 2017-07-27 17:08:24 -07:00
wmempcpy.cpp Add GNU extensions mempcpy and wmemcpy. 2015-02-18 22:02:56 -08:00