History log of /bionic/libc/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c891e24073830e07ba7373dee554ff2c70e1d313 10-Oct-2014 Christopher Ferris <cferris@google.com> Add back symbols to fix Greed for Glory franchise.

Bug: 17813018
Change-Id: Id939426ee5303117b9601e7915fcfec5024fc621
tdio/local.h
c9734d24d92f4737f5ab3808c77d816a1b084582 09-Oct-2014 Christopher Ferris <cferris@google.com> Re-add dlmalloc for 32 bit.

It turns out that appportable has a version that calls dlmalloc directly.
Re-add the dlmalloc symbol for 32 bit only as a compatibility shim that
calls malloc.

Bug: 17881362
Change-Id: I8f20963b0b8d323489dc083e4063779e0d1d7447
ionic/dlmalloc.h
ionic/ndk_cruft.cpp
1543fdf616ddebee7819214437527f380e5c743b 08-Oct-2014 Elliott Hughes <enh@google.com> Work around a bug in Immersion's libImmEmulatorJ.so.

This library calls pthread_mutex_lock and pthread_mutex_unlock with a NULL
pthread_mutex_t*. This gives them (and their users) one release to fix things.

Bug: 17443936

(cherry picked from commit 7d3f553f989f830976efa92ddc3c84661d4d42aa)

Change-Id: Ie26bbecd3a74d61113b51c18832872499b97ee86
(cherry picked from commit b5e7eba6d1b97e471996fcfe7dbde7cbba7512ef)
ionic/pthread_mutex.cpp
nclude/pthread.h
d11eac3455a059a092ceee92eda9905e1d661e94 07-Oct-2014 Christopher Ferris <cferris@google.com> Force export symbols on all x86 variants in libc.

For silvermont, the __popcountsi2 symbol does not get exported by libc.
But for atom, this symbol is exported. Since we already exported this symbol
for previous releases, it's better to just follow through and force
the export, but only for 32 bit. x86 64 bit will not export this symbol.

Bug: 17681440
Change-Id: I6c62245f0960910f64baaaf6d9d090bf3ea5f435
rch-x86/bionic/libgcc_compat.c
rch-x86/x86.mk
ools/genlibgcc_compat.py
a508714800242b294291060641ed35d719bdc857 26-Sep-2014 Alex Van Brunt <avanbrunt@nvidia.com> Reimplement clock(3) using clock_gettime(3)

Unlike times(), clock_gettime() is implemented as a vDSO on many architectures.
So, using clock_gettime() will return a more accurate time and do so with less
overhead because it does have the overhead of calling into the kernel.

It is also significantly more accurate because it measures the actual time in
nanoseconds rather than the number of ticks (typically 1 millisecond or more).

Bug: 17814435

(cherry picked from commit 8d0b2dbf2154d5da17ff09b1d4f864d281362ad2)

Change-Id: Id4945d9f387330518f78669809639952e9227ed9
ionic/clock.cpp
ea9800e98598c71fe76c4e2a0d0498b6bd490a83 13-Sep-2014 Elliott Hughes <enh@google.com> Explain why clock(3) isn't broken.

Bug: 17441123
Bug: 17814435

(cherry picked from commit f83c208b82c78dad07f4065f63bdd354f5ef9951)

Change-Id: I2065afe73b79a8d86404edee16e983625d902cdc
ionic/clock.cpp
5def2f5aecd968e4022b0afbe4441fa7ba3e7c7e 25-Sep-2014 Elliott Hughes <enh@google.com> Re-expose more stdio implementation details for LP32.

Keeps a variety of apps running.

Bug: 17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
tdio/glue.h
tdio/local.h
086bb382db3de7459bc5fad6bb1c257ca331b0e8 24-Sep-2014 Dan Albert <danalbert@google.com> Fix incorrect parameter types for locale funcs.

strtoll(3), strtoull(3), wcstoll(3), and wcstoull(3) all take an _int_
as a base, not a size_t. This is an ABI compatibility issue.

Bug: 17628622
Change-Id: I17f8eead34ce2112005899fc30162067573023ec
(cherry picked from commit 3c5037f1b3b747e79d17a5f717d9f9c365132d33)
ionic/strtoll_l.cpp
ionic/strtoull_l.cpp
ionic/wchar.cpp
nclude/stdlib.h
nclude/wchar.h
027d2717d067c3706f22bf84dc1226ede7c1566d 14-Sep-2014 Christopher Ferris <cferris@google.com> Pull input.h from v3.16.1 kernel headers.

Bug: 17407564
Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
ernel/uapi/linux/input.h
7e00b44e80d6e38b8ab86d0ebc86b666c0ac2ef6 12-Sep-2014 Elliott Hughes <enh@google.com> Expose __swsetup for LP32 binary compatibility.

Bug: 17476127
Change-Id: I0ef1355ac913d782c268a638f88642d6cfc236c2
tdio/local.h
27efc48814b8153c55cbcd0af5d9add824816e69 12-Sep-2014 Elliott Hughes <enh@google.com> Add pthread_gettid_np and re-expose __get_thread for LP32.

A lot of third-party code calls the private __get_thread symbol,
often as part of a backport of bionic's pthread_rwlock implementation.
Hopefully this will go away for LP64 (since you're guaranteed the
real implementation there), but there are still APIs that take a tid
and no way to convert between a pthread_t and a tid. pthread_gettid_np
is a public API for that. To aid the transition, make __get_thread
available again for LP32.

Bug: 14079438
Change-Id: I43fabc7f1918250d31d4665ffa4ca352d0dbeac1
ndroid.mk
ionic/posix_timers.cpp
ionic/pthread_gettid_np.cpp
ionic/pthread_internal.h
ionic/pthread_internals.cpp
nclude/pthread.h
9e833bf0cf2c5bc0e6b65e4d96aa4f2b33113771 11-Sep-2014 Elliott Hughes <enh@google.com> Fix mips __fadvise64.S build failure.

Bug: 12449798

(cherry picked from commit 9990b3973bdfcda5419c06886215147a878222f1)

Change-Id: Iba92e2aa262666a59fc38b870dfd9f4082eeb628
YSCALLS.TXT
rch-mips/syscalls/__fadvise64.S
176c32787c53e720bf4664592fd0b8ea4ffbdd75 11-Sep-2014 Elliott Hughes <enh@google.com> Merge "Add posix_fadvise(3)." into lmp-dev
00008263782e484020420c606f7d145fe7d0a4d8 11-Sep-2014 Elliott Hughes <enh@google.com> Add posix_fadvise(3).

Bug: 12449798
Change-Id: I07cbf3f670a0d1304b68148325a774f266b5c433
ndroid.mk
YSCALLS.TXT
rch-arm/syscalls/__arm_fadvise64_64.S
rch-arm64/syscalls/__fadvise64.S
rch-mips/syscalls/__fadvise64.S
rch-mips64/syscalls/__fadvise64.S
rch-x86/syscalls/__fadvise64.S
rch-x86_64/syscalls/__fadvise64.S
ionic/posix_fadvise.cpp
nclude/fcntl.h
33a73bfa0712c483830e4c9abbf4d6a0551478bf 08-Sep-2014 Lorenzo Colitti <lorenzo@google.com> When comparing DNS server configs, also compare number of servers

Bug: 16070602
Change-Id: I605f1cca50b08479ebcad290b3bd179f59be8a96
ns/resolv/res_cache.c
7efad83d430f4d824f2aaa75edea5106f6ff8aae 09-Sep-2014 Elliott Hughes <enh@google.com> Ensure __set_errno is still visible on LP32.

The use of the .hidden directive to avoid going via the PLT for
__set_errno had the side-effect of actually making __set_errno
hidden (which is odd because assembler directives don't usually
affect symbols defined in a different file --- you can't even
create a weak reference to a symbol that's defined in a different
file).

This change switches the system call stubs over to a new always-hidden
__set_errno_internal and has a visible __set_errno on LP32 just for
binary compatibility with old NDK apps.

Bug: 17423135
Change-Id: I6b6d7a05dda85f923d22e5ffd169a91e23499b7b
rch-arm/bionic/__bionic_clone.S
rch-arm/bionic/syscall.S
rch-arm/syscalls/__accept4.S
rch-arm/syscalls/__brk.S
rch-arm/syscalls/__connect.S
rch-arm/syscalls/__epoll_pwait.S
rch-arm/syscalls/__exit.S
rch-arm/syscalls/__fcntl64.S
rch-arm/syscalls/__fstatfs64.S
rch-arm/syscalls/__getcpu.S
rch-arm/syscalls/__getcwd.S
rch-arm/syscalls/__getdents64.S
rch-arm/syscalls/__getpid.S
rch-arm/syscalls/__getpriority.S
rch-arm/syscalls/__ioctl.S
rch-arm/syscalls/__llseek.S
rch-arm/syscalls/__mmap2.S
rch-arm/syscalls/__openat.S
rch-arm/syscalls/__ppoll.S
rch-arm/syscalls/__pselect6.S
rch-arm/syscalls/__ptrace.S
rch-arm/syscalls/__reboot.S
rch-arm/syscalls/__rt_sigaction.S
rch-arm/syscalls/__rt_sigpending.S
rch-arm/syscalls/__rt_sigprocmask.S
rch-arm/syscalls/__rt_sigsuspend.S
rch-arm/syscalls/__rt_sigtimedwait.S
rch-arm/syscalls/__sched_getaffinity.S
rch-arm/syscalls/__set_tid_address.S
rch-arm/syscalls/__set_tls.S
rch-arm/syscalls/__sigaction.S
rch-arm/syscalls/__signalfd4.S
rch-arm/syscalls/__socket.S
rch-arm/syscalls/__statfs64.S
rch-arm/syscalls/__timer_create.S
rch-arm/syscalls/__timer_delete.S
rch-arm/syscalls/__timer_getoverrun.S
rch-arm/syscalls/__timer_gettime.S
rch-arm/syscalls/__timer_settime.S
rch-arm/syscalls/__waitid.S
rch-arm/syscalls/_exit.S
rch-arm/syscalls/acct.S
rch-arm/syscalls/bind.S
rch-arm/syscalls/cacheflush.S
rch-arm/syscalls/capget.S
rch-arm/syscalls/capset.S
rch-arm/syscalls/chdir.S
rch-arm/syscalls/chroot.S
rch-arm/syscalls/clock_getres.S
rch-arm/syscalls/clock_gettime.S
rch-arm/syscalls/clock_nanosleep.S
rch-arm/syscalls/clock_settime.S
rch-arm/syscalls/close.S
rch-arm/syscalls/delete_module.S
rch-arm/syscalls/dup.S
rch-arm/syscalls/dup3.S
rch-arm/syscalls/epoll_create1.S
rch-arm/syscalls/epoll_ctl.S
rch-arm/syscalls/eventfd.S
rch-arm/syscalls/execve.S
rch-arm/syscalls/faccessat.S
rch-arm/syscalls/fallocate64.S
rch-arm/syscalls/fchdir.S
rch-arm/syscalls/fchmod.S
rch-arm/syscalls/fchmodat.S
rch-arm/syscalls/fchown.S
rch-arm/syscalls/fchownat.S
rch-arm/syscalls/fdatasync.S
rch-arm/syscalls/fgetxattr.S
rch-arm/syscalls/flistxattr.S
rch-arm/syscalls/flock.S
rch-arm/syscalls/fremovexattr.S
rch-arm/syscalls/fsetxattr.S
rch-arm/syscalls/fstat64.S
rch-arm/syscalls/fstatat64.S
rch-arm/syscalls/fsync.S
rch-arm/syscalls/ftruncate.S
rch-arm/syscalls/ftruncate64.S
rch-arm/syscalls/getegid.S
rch-arm/syscalls/geteuid.S
rch-arm/syscalls/getgid.S
rch-arm/syscalls/getgroups.S
rch-arm/syscalls/getitimer.S
rch-arm/syscalls/getpeername.S
rch-arm/syscalls/getpgid.S
rch-arm/syscalls/getppid.S
rch-arm/syscalls/getresgid.S
rch-arm/syscalls/getresuid.S
rch-arm/syscalls/getrlimit.S
rch-arm/syscalls/getrusage.S
rch-arm/syscalls/getsid.S
rch-arm/syscalls/getsockname.S
rch-arm/syscalls/getsockopt.S
rch-arm/syscalls/gettimeofday.S
rch-arm/syscalls/getuid.S
rch-arm/syscalls/getxattr.S
rch-arm/syscalls/init_module.S
rch-arm/syscalls/inotify_add_watch.S
rch-arm/syscalls/inotify_init1.S
rch-arm/syscalls/inotify_rm_watch.S
rch-arm/syscalls/kill.S
rch-arm/syscalls/klogctl.S
rch-arm/syscalls/lgetxattr.S
rch-arm/syscalls/linkat.S
rch-arm/syscalls/listen.S
rch-arm/syscalls/listxattr.S
rch-arm/syscalls/llistxattr.S
rch-arm/syscalls/lremovexattr.S
rch-arm/syscalls/lseek.S
rch-arm/syscalls/lsetxattr.S
rch-arm/syscalls/madvise.S
rch-arm/syscalls/mincore.S
rch-arm/syscalls/mkdirat.S
rch-arm/syscalls/mknodat.S
rch-arm/syscalls/mlock.S
rch-arm/syscalls/mlockall.S
rch-arm/syscalls/mount.S
rch-arm/syscalls/mprotect.S
rch-arm/syscalls/mremap.S
rch-arm/syscalls/msync.S
rch-arm/syscalls/munlock.S
rch-arm/syscalls/munlockall.S
rch-arm/syscalls/munmap.S
rch-arm/syscalls/nanosleep.S
rch-arm/syscalls/personality.S
rch-arm/syscalls/pipe2.S
rch-arm/syscalls/prctl.S
rch-arm/syscalls/pread64.S
rch-arm/syscalls/prlimit64.S
rch-arm/syscalls/pwrite64.S
rch-arm/syscalls/read.S
rch-arm/syscalls/readahead.S
rch-arm/syscalls/readlinkat.S
rch-arm/syscalls/readv.S
rch-arm/syscalls/recvfrom.S
rch-arm/syscalls/recvmmsg.S
rch-arm/syscalls/recvmsg.S
rch-arm/syscalls/removexattr.S
rch-arm/syscalls/renameat.S
rch-arm/syscalls/sched_get_priority_max.S
rch-arm/syscalls/sched_get_priority_min.S
rch-arm/syscalls/sched_getparam.S
rch-arm/syscalls/sched_getscheduler.S
rch-arm/syscalls/sched_rr_get_interval.S
rch-arm/syscalls/sched_setaffinity.S
rch-arm/syscalls/sched_setparam.S
rch-arm/syscalls/sched_setscheduler.S
rch-arm/syscalls/sched_yield.S
rch-arm/syscalls/sendfile.S
rch-arm/syscalls/sendfile64.S
rch-arm/syscalls/sendmmsg.S
rch-arm/syscalls/sendmsg.S
rch-arm/syscalls/sendto.S
rch-arm/syscalls/setfsgid.S
rch-arm/syscalls/setfsuid.S
rch-arm/syscalls/setgid.S
rch-arm/syscalls/setgroups.S
rch-arm/syscalls/setitimer.S
rch-arm/syscalls/setns.S
rch-arm/syscalls/setpgid.S
rch-arm/syscalls/setpriority.S
rch-arm/syscalls/setregid.S
rch-arm/syscalls/setresgid.S
rch-arm/syscalls/setresuid.S
rch-arm/syscalls/setreuid.S
rch-arm/syscalls/setrlimit.S
rch-arm/syscalls/setsid.S
rch-arm/syscalls/setsockopt.S
rch-arm/syscalls/settimeofday.S
rch-arm/syscalls/setuid.S
rch-arm/syscalls/setxattr.S
rch-arm/syscalls/shutdown.S
rch-arm/syscalls/sigaltstack.S
rch-arm/syscalls/socketpair.S
rch-arm/syscalls/splice.S
rch-arm/syscalls/swapoff.S
rch-arm/syscalls/swapon.S
rch-arm/syscalls/symlinkat.S
rch-arm/syscalls/sync.S
rch-arm/syscalls/sysinfo.S
rch-arm/syscalls/tee.S
rch-arm/syscalls/tgkill.S
rch-arm/syscalls/timerfd_create.S
rch-arm/syscalls/timerfd_gettime.S
rch-arm/syscalls/timerfd_settime.S
rch-arm/syscalls/times.S
rch-arm/syscalls/truncate.S
rch-arm/syscalls/truncate64.S
rch-arm/syscalls/umask.S
rch-arm/syscalls/umount2.S
rch-arm/syscalls/uname.S
rch-arm/syscalls/unlinkat.S
rch-arm/syscalls/unshare.S
rch-arm/syscalls/utimensat.S
rch-arm/syscalls/vfork.S
rch-arm/syscalls/vmsplice.S
rch-arm/syscalls/wait4.S
rch-arm/syscalls/write.S
rch-arm/syscalls/writev.S
rch-arm64/bionic/__bionic_clone.S
rch-arm64/bionic/syscall.S
rch-arm64/bionic/vfork.S
rch-arm64/syscalls/__accept4.S
rch-arm64/syscalls/__brk.S
rch-arm64/syscalls/__clock_gettime.S
rch-arm64/syscalls/__connect.S
rch-arm64/syscalls/__epoll_pwait.S
rch-arm64/syscalls/__exit.S
rch-arm64/syscalls/__getcpu.S
rch-arm64/syscalls/__getcwd.S
rch-arm64/syscalls/__getdents64.S
rch-arm64/syscalls/__getpid.S
rch-arm64/syscalls/__getpriority.S
rch-arm64/syscalls/__gettimeofday.S
rch-arm64/syscalls/__ioctl.S
rch-arm64/syscalls/__openat.S
rch-arm64/syscalls/__ppoll.S
rch-arm64/syscalls/__pselect6.S
rch-arm64/syscalls/__ptrace.S
rch-arm64/syscalls/__reboot.S
rch-arm64/syscalls/__rt_sigaction.S
rch-arm64/syscalls/__rt_sigpending.S
rch-arm64/syscalls/__rt_sigprocmask.S
rch-arm64/syscalls/__rt_sigsuspend.S
rch-arm64/syscalls/__rt_sigtimedwait.S
rch-arm64/syscalls/__sched_getaffinity.S
rch-arm64/syscalls/__set_tid_address.S
rch-arm64/syscalls/__signalfd4.S
rch-arm64/syscalls/__socket.S
rch-arm64/syscalls/__timer_create.S
rch-arm64/syscalls/__timer_delete.S
rch-arm64/syscalls/__timer_getoverrun.S
rch-arm64/syscalls/__timer_gettime.S
rch-arm64/syscalls/__timer_settime.S
rch-arm64/syscalls/__waitid.S
rch-arm64/syscalls/_exit.S
rch-arm64/syscalls/acct.S
rch-arm64/syscalls/bind.S
rch-arm64/syscalls/capget.S
rch-arm64/syscalls/capset.S
rch-arm64/syscalls/chdir.S
rch-arm64/syscalls/chroot.S
rch-arm64/syscalls/clock_getres.S
rch-arm64/syscalls/clock_nanosleep.S
rch-arm64/syscalls/clock_settime.S
rch-arm64/syscalls/close.S
rch-arm64/syscalls/delete_module.S
rch-arm64/syscalls/dup.S
rch-arm64/syscalls/dup3.S
rch-arm64/syscalls/epoll_create1.S
rch-arm64/syscalls/epoll_ctl.S
rch-arm64/syscalls/eventfd.S
rch-arm64/syscalls/execve.S
rch-arm64/syscalls/faccessat.S
rch-arm64/syscalls/fallocate.S
rch-arm64/syscalls/fchdir.S
rch-arm64/syscalls/fchmod.S
rch-arm64/syscalls/fchmodat.S
rch-arm64/syscalls/fchown.S
rch-arm64/syscalls/fchownat.S
rch-arm64/syscalls/fcntl.S
rch-arm64/syscalls/fdatasync.S
rch-arm64/syscalls/fgetxattr.S
rch-arm64/syscalls/flistxattr.S
rch-arm64/syscalls/flock.S
rch-arm64/syscalls/fremovexattr.S
rch-arm64/syscalls/fsetxattr.S
rch-arm64/syscalls/fstat64.S
rch-arm64/syscalls/fstatat64.S
rch-arm64/syscalls/fstatfs64.S
rch-arm64/syscalls/fsync.S
rch-arm64/syscalls/ftruncate.S
rch-arm64/syscalls/getegid.S
rch-arm64/syscalls/geteuid.S
rch-arm64/syscalls/getgid.S
rch-arm64/syscalls/getgroups.S
rch-arm64/syscalls/getitimer.S
rch-arm64/syscalls/getpeername.S
rch-arm64/syscalls/getpgid.S
rch-arm64/syscalls/getppid.S
rch-arm64/syscalls/getresgid.S
rch-arm64/syscalls/getresuid.S
rch-arm64/syscalls/getrlimit.S
rch-arm64/syscalls/getrusage.S
rch-arm64/syscalls/getsid.S
rch-arm64/syscalls/getsockname.S
rch-arm64/syscalls/getsockopt.S
rch-arm64/syscalls/getuid.S
rch-arm64/syscalls/getxattr.S
rch-arm64/syscalls/init_module.S
rch-arm64/syscalls/inotify_add_watch.S
rch-arm64/syscalls/inotify_init1.S
rch-arm64/syscalls/inotify_rm_watch.S
rch-arm64/syscalls/kill.S
rch-arm64/syscalls/klogctl.S
rch-arm64/syscalls/lgetxattr.S
rch-arm64/syscalls/linkat.S
rch-arm64/syscalls/listen.S
rch-arm64/syscalls/listxattr.S
rch-arm64/syscalls/llistxattr.S
rch-arm64/syscalls/lremovexattr.S
rch-arm64/syscalls/lseek.S
rch-arm64/syscalls/lsetxattr.S
rch-arm64/syscalls/madvise.S
rch-arm64/syscalls/mincore.S
rch-arm64/syscalls/mkdirat.S
rch-arm64/syscalls/mknodat.S
rch-arm64/syscalls/mlock.S
rch-arm64/syscalls/mlockall.S
rch-arm64/syscalls/mmap.S
rch-arm64/syscalls/mount.S
rch-arm64/syscalls/mprotect.S
rch-arm64/syscalls/mremap.S
rch-arm64/syscalls/msync.S
rch-arm64/syscalls/munlock.S
rch-arm64/syscalls/munlockall.S
rch-arm64/syscalls/munmap.S
rch-arm64/syscalls/nanosleep.S
rch-arm64/syscalls/personality.S
rch-arm64/syscalls/pipe2.S
rch-arm64/syscalls/prctl.S
rch-arm64/syscalls/pread64.S
rch-arm64/syscalls/prlimit64.S
rch-arm64/syscalls/pwrite64.S
rch-arm64/syscalls/read.S
rch-arm64/syscalls/readahead.S
rch-arm64/syscalls/readlinkat.S
rch-arm64/syscalls/readv.S
rch-arm64/syscalls/recvfrom.S
rch-arm64/syscalls/recvmmsg.S
rch-arm64/syscalls/recvmsg.S
rch-arm64/syscalls/removexattr.S
rch-arm64/syscalls/renameat.S
rch-arm64/syscalls/sched_get_priority_max.S
rch-arm64/syscalls/sched_get_priority_min.S
rch-arm64/syscalls/sched_getparam.S
rch-arm64/syscalls/sched_getscheduler.S
rch-arm64/syscalls/sched_rr_get_interval.S
rch-arm64/syscalls/sched_setaffinity.S
rch-arm64/syscalls/sched_setparam.S
rch-arm64/syscalls/sched_setscheduler.S
rch-arm64/syscalls/sched_yield.S
rch-arm64/syscalls/sendfile.S
rch-arm64/syscalls/sendmmsg.S
rch-arm64/syscalls/sendmsg.S
rch-arm64/syscalls/sendto.S
rch-arm64/syscalls/setfsgid.S
rch-arm64/syscalls/setfsuid.S
rch-arm64/syscalls/setgid.S
rch-arm64/syscalls/setgroups.S
rch-arm64/syscalls/setitimer.S
rch-arm64/syscalls/setns.S
rch-arm64/syscalls/setpgid.S
rch-arm64/syscalls/setpriority.S
rch-arm64/syscalls/setregid.S
rch-arm64/syscalls/setresgid.S
rch-arm64/syscalls/setresuid.S
rch-arm64/syscalls/setreuid.S
rch-arm64/syscalls/setrlimit.S
rch-arm64/syscalls/setsid.S
rch-arm64/syscalls/setsockopt.S
rch-arm64/syscalls/settimeofday.S
rch-arm64/syscalls/setuid.S
rch-arm64/syscalls/setxattr.S
rch-arm64/syscalls/shutdown.S
rch-arm64/syscalls/sigaltstack.S
rch-arm64/syscalls/socketpair.S
rch-arm64/syscalls/splice.S
rch-arm64/syscalls/statfs64.S
rch-arm64/syscalls/swapoff.S
rch-arm64/syscalls/swapon.S
rch-arm64/syscalls/symlinkat.S
rch-arm64/syscalls/sync.S
rch-arm64/syscalls/sysinfo.S
rch-arm64/syscalls/tee.S
rch-arm64/syscalls/tgkill.S
rch-arm64/syscalls/timerfd_create.S
rch-arm64/syscalls/timerfd_gettime.S
rch-arm64/syscalls/timerfd_settime.S
rch-arm64/syscalls/times.S
rch-arm64/syscalls/truncate.S
rch-arm64/syscalls/umask.S
rch-arm64/syscalls/umount2.S
rch-arm64/syscalls/uname.S
rch-arm64/syscalls/unlinkat.S
rch-arm64/syscalls/unshare.S
rch-arm64/syscalls/utimensat.S
rch-arm64/syscalls/vmsplice.S
rch-arm64/syscalls/wait4.S
rch-arm64/syscalls/write.S
rch-arm64/syscalls/writev.S
rch-mips/bionic/__bionic_clone.S
rch-mips/bionic/syscall.S
rch-mips/bionic/vfork.S
rch-mips/syscalls/__accept4.S
rch-mips/syscalls/__brk.S
rch-mips/syscalls/__connect.S
rch-mips/syscalls/__epoll_pwait.S
rch-mips/syscalls/__exit.S
rch-mips/syscalls/__fcntl64.S
rch-mips/syscalls/__fstatfs64.S
rch-mips/syscalls/__getcpu.S
rch-mips/syscalls/__getcwd.S
rch-mips/syscalls/__getdents64.S
rch-mips/syscalls/__getpid.S
rch-mips/syscalls/__getpriority.S
rch-mips/syscalls/__ioctl.S
rch-mips/syscalls/__llseek.S
rch-mips/syscalls/__mmap2.S
rch-mips/syscalls/__openat.S
rch-mips/syscalls/__ppoll.S
rch-mips/syscalls/__pselect6.S
rch-mips/syscalls/__ptrace.S
rch-mips/syscalls/__reboot.S
rch-mips/syscalls/__rt_sigaction.S
rch-mips/syscalls/__rt_sigpending.S
rch-mips/syscalls/__rt_sigprocmask.S
rch-mips/syscalls/__rt_sigsuspend.S
rch-mips/syscalls/__rt_sigtimedwait.S
rch-mips/syscalls/__sched_getaffinity.S
rch-mips/syscalls/__set_tid_address.S
rch-mips/syscalls/__set_tls.S
rch-mips/syscalls/__sigaction.S
rch-mips/syscalls/__signalfd4.S
rch-mips/syscalls/__socket.S
rch-mips/syscalls/__statfs64.S
rch-mips/syscalls/__timer_create.S
rch-mips/syscalls/__timer_delete.S
rch-mips/syscalls/__timer_getoverrun.S
rch-mips/syscalls/__timer_gettime.S
rch-mips/syscalls/__timer_settime.S
rch-mips/syscalls/__waitid.S
rch-mips/syscalls/_exit.S
rch-mips/syscalls/_flush_cache.S
rch-mips/syscalls/acct.S
rch-mips/syscalls/bind.S
rch-mips/syscalls/capget.S
rch-mips/syscalls/capset.S
rch-mips/syscalls/chdir.S
rch-mips/syscalls/chroot.S
rch-mips/syscalls/clock_getres.S
rch-mips/syscalls/clock_gettime.S
rch-mips/syscalls/clock_nanosleep.S
rch-mips/syscalls/clock_settime.S
rch-mips/syscalls/close.S
rch-mips/syscalls/delete_module.S
rch-mips/syscalls/dup.S
rch-mips/syscalls/dup3.S
rch-mips/syscalls/epoll_create1.S
rch-mips/syscalls/epoll_ctl.S
rch-mips/syscalls/eventfd.S
rch-mips/syscalls/execve.S
rch-mips/syscalls/faccessat.S
rch-mips/syscalls/fallocate64.S
rch-mips/syscalls/fchdir.S
rch-mips/syscalls/fchmod.S
rch-mips/syscalls/fchmodat.S
rch-mips/syscalls/fchown.S
rch-mips/syscalls/fchownat.S
rch-mips/syscalls/fdatasync.S
rch-mips/syscalls/fgetxattr.S
rch-mips/syscalls/flistxattr.S
rch-mips/syscalls/flock.S
rch-mips/syscalls/fremovexattr.S
rch-mips/syscalls/fsetxattr.S
rch-mips/syscalls/fstat64.S
rch-mips/syscalls/fstatat64.S
rch-mips/syscalls/fsync.S
rch-mips/syscalls/ftruncate.S
rch-mips/syscalls/ftruncate64.S
rch-mips/syscalls/getegid.S
rch-mips/syscalls/geteuid.S
rch-mips/syscalls/getgid.S
rch-mips/syscalls/getgroups.S
rch-mips/syscalls/getitimer.S
rch-mips/syscalls/getpeername.S
rch-mips/syscalls/getpgid.S
rch-mips/syscalls/getppid.S
rch-mips/syscalls/getresgid.S
rch-mips/syscalls/getresuid.S
rch-mips/syscalls/getrlimit.S
rch-mips/syscalls/getrusage.S
rch-mips/syscalls/getsid.S
rch-mips/syscalls/getsockname.S
rch-mips/syscalls/getsockopt.S
rch-mips/syscalls/gettimeofday.S
rch-mips/syscalls/getuid.S
rch-mips/syscalls/getxattr.S
rch-mips/syscalls/init_module.S
rch-mips/syscalls/inotify_add_watch.S
rch-mips/syscalls/inotify_init1.S
rch-mips/syscalls/inotify_rm_watch.S
rch-mips/syscalls/kill.S
rch-mips/syscalls/klogctl.S
rch-mips/syscalls/lgetxattr.S
rch-mips/syscalls/linkat.S
rch-mips/syscalls/listen.S
rch-mips/syscalls/listxattr.S
rch-mips/syscalls/llistxattr.S
rch-mips/syscalls/lremovexattr.S
rch-mips/syscalls/lseek.S
rch-mips/syscalls/lsetxattr.S
rch-mips/syscalls/madvise.S
rch-mips/syscalls/mincore.S
rch-mips/syscalls/mkdirat.S
rch-mips/syscalls/mknodat.S
rch-mips/syscalls/mlock.S
rch-mips/syscalls/mlockall.S
rch-mips/syscalls/mount.S
rch-mips/syscalls/mprotect.S
rch-mips/syscalls/mremap.S
rch-mips/syscalls/msync.S
rch-mips/syscalls/munlock.S
rch-mips/syscalls/munlockall.S
rch-mips/syscalls/munmap.S
rch-mips/syscalls/nanosleep.S
rch-mips/syscalls/personality.S
rch-mips/syscalls/pipe2.S
rch-mips/syscalls/prctl.S
rch-mips/syscalls/pread64.S
rch-mips/syscalls/prlimit64.S
rch-mips/syscalls/pwrite64.S
rch-mips/syscalls/read.S
rch-mips/syscalls/readahead.S
rch-mips/syscalls/readlinkat.S
rch-mips/syscalls/readv.S
rch-mips/syscalls/recvfrom.S
rch-mips/syscalls/recvmmsg.S
rch-mips/syscalls/recvmsg.S
rch-mips/syscalls/removexattr.S
rch-mips/syscalls/renameat.S
rch-mips/syscalls/sched_get_priority_max.S
rch-mips/syscalls/sched_get_priority_min.S
rch-mips/syscalls/sched_getparam.S
rch-mips/syscalls/sched_getscheduler.S
rch-mips/syscalls/sched_rr_get_interval.S
rch-mips/syscalls/sched_setaffinity.S
rch-mips/syscalls/sched_setparam.S
rch-mips/syscalls/sched_setscheduler.S
rch-mips/syscalls/sched_yield.S
rch-mips/syscalls/sendfile.S
rch-mips/syscalls/sendfile64.S
rch-mips/syscalls/sendmmsg.S
rch-mips/syscalls/sendmsg.S
rch-mips/syscalls/sendto.S
rch-mips/syscalls/setfsgid.S
rch-mips/syscalls/setfsuid.S
rch-mips/syscalls/setgid.S
rch-mips/syscalls/setgroups.S
rch-mips/syscalls/setitimer.S
rch-mips/syscalls/setns.S
rch-mips/syscalls/setpgid.S
rch-mips/syscalls/setpriority.S
rch-mips/syscalls/setregid.S
rch-mips/syscalls/setresgid.S
rch-mips/syscalls/setresuid.S
rch-mips/syscalls/setreuid.S
rch-mips/syscalls/setrlimit.S
rch-mips/syscalls/setsid.S
rch-mips/syscalls/setsockopt.S
rch-mips/syscalls/settimeofday.S
rch-mips/syscalls/setuid.S
rch-mips/syscalls/setxattr.S
rch-mips/syscalls/shutdown.S
rch-mips/syscalls/sigaltstack.S
rch-mips/syscalls/socketpair.S
rch-mips/syscalls/splice.S
rch-mips/syscalls/swapoff.S
rch-mips/syscalls/swapon.S
rch-mips/syscalls/symlinkat.S
rch-mips/syscalls/sync.S
rch-mips/syscalls/sysinfo.S
rch-mips/syscalls/tee.S
rch-mips/syscalls/tgkill.S
rch-mips/syscalls/timerfd_create.S
rch-mips/syscalls/timerfd_gettime.S
rch-mips/syscalls/timerfd_settime.S
rch-mips/syscalls/times.S
rch-mips/syscalls/truncate.S
rch-mips/syscalls/truncate64.S
rch-mips/syscalls/umask.S
rch-mips/syscalls/umount2.S
rch-mips/syscalls/uname.S
rch-mips/syscalls/unlinkat.S
rch-mips/syscalls/unshare.S
rch-mips/syscalls/utimensat.S
rch-mips/syscalls/vmsplice.S
rch-mips/syscalls/wait4.S
rch-mips/syscalls/write.S
rch-mips/syscalls/writev.S
rch-mips64/bionic/__bionic_clone.S
rch-mips64/bionic/syscall.S
rch-mips64/bionic/vfork.S
rch-mips64/syscalls/__accept4.S
rch-mips64/syscalls/__brk.S
rch-mips64/syscalls/__connect.S
rch-mips64/syscalls/__epoll_pwait.S
rch-mips64/syscalls/__exit.S
rch-mips64/syscalls/__getcpu.S
rch-mips64/syscalls/__getcwd.S
rch-mips64/syscalls/__getdents64.S
rch-mips64/syscalls/__getpid.S
rch-mips64/syscalls/__getpriority.S
rch-mips64/syscalls/__ioctl.S
rch-mips64/syscalls/__openat.S
rch-mips64/syscalls/__ppoll.S
rch-mips64/syscalls/__pselect6.S
rch-mips64/syscalls/__ptrace.S
rch-mips64/syscalls/__reboot.S
rch-mips64/syscalls/__rt_sigaction.S
rch-mips64/syscalls/__rt_sigpending.S
rch-mips64/syscalls/__rt_sigprocmask.S
rch-mips64/syscalls/__rt_sigsuspend.S
rch-mips64/syscalls/__rt_sigtimedwait.S
rch-mips64/syscalls/__sched_getaffinity.S
rch-mips64/syscalls/__set_tid_address.S
rch-mips64/syscalls/__set_tls.S
rch-mips64/syscalls/__signalfd4.S
rch-mips64/syscalls/__socket.S
rch-mips64/syscalls/__timer_create.S
rch-mips64/syscalls/__timer_delete.S
rch-mips64/syscalls/__timer_getoverrun.S
rch-mips64/syscalls/__timer_gettime.S
rch-mips64/syscalls/__timer_settime.S
rch-mips64/syscalls/__waitid.S
rch-mips64/syscalls/_exit.S
rch-mips64/syscalls/_flush_cache.S
rch-mips64/syscalls/acct.S
rch-mips64/syscalls/bind.S
rch-mips64/syscalls/capget.S
rch-mips64/syscalls/capset.S
rch-mips64/syscalls/chdir.S
rch-mips64/syscalls/chroot.S
rch-mips64/syscalls/clock_getres.S
rch-mips64/syscalls/clock_gettime.S
rch-mips64/syscalls/clock_nanosleep.S
rch-mips64/syscalls/clock_settime.S
rch-mips64/syscalls/close.S
rch-mips64/syscalls/delete_module.S
rch-mips64/syscalls/dup.S
rch-mips64/syscalls/dup3.S
rch-mips64/syscalls/epoll_create1.S
rch-mips64/syscalls/epoll_ctl.S
rch-mips64/syscalls/eventfd.S
rch-mips64/syscalls/execve.S
rch-mips64/syscalls/faccessat.S
rch-mips64/syscalls/fallocate.S
rch-mips64/syscalls/fchdir.S
rch-mips64/syscalls/fchmod.S
rch-mips64/syscalls/fchmodat.S
rch-mips64/syscalls/fchown.S
rch-mips64/syscalls/fchownat.S
rch-mips64/syscalls/fcntl.S
rch-mips64/syscalls/fdatasync.S
rch-mips64/syscalls/fgetxattr.S
rch-mips64/syscalls/flistxattr.S
rch-mips64/syscalls/flock.S
rch-mips64/syscalls/fremovexattr.S
rch-mips64/syscalls/fsetxattr.S
rch-mips64/syscalls/fstat64.S
rch-mips64/syscalls/fstatat64.S
rch-mips64/syscalls/fstatfs64.S
rch-mips64/syscalls/fsync.S
rch-mips64/syscalls/ftruncate.S
rch-mips64/syscalls/getegid.S
rch-mips64/syscalls/geteuid.S
rch-mips64/syscalls/getgid.S
rch-mips64/syscalls/getgroups.S
rch-mips64/syscalls/getitimer.S
rch-mips64/syscalls/getpeername.S
rch-mips64/syscalls/getpgid.S
rch-mips64/syscalls/getppid.S
rch-mips64/syscalls/getresgid.S
rch-mips64/syscalls/getresuid.S
rch-mips64/syscalls/getrlimit.S
rch-mips64/syscalls/getrusage.S
rch-mips64/syscalls/getsid.S
rch-mips64/syscalls/getsockname.S
rch-mips64/syscalls/getsockopt.S
rch-mips64/syscalls/gettimeofday.S
rch-mips64/syscalls/getuid.S
rch-mips64/syscalls/getxattr.S
rch-mips64/syscalls/init_module.S
rch-mips64/syscalls/inotify_add_watch.S
rch-mips64/syscalls/inotify_init1.S
rch-mips64/syscalls/inotify_rm_watch.S
rch-mips64/syscalls/kill.S
rch-mips64/syscalls/klogctl.S
rch-mips64/syscalls/lgetxattr.S
rch-mips64/syscalls/linkat.S
rch-mips64/syscalls/listen.S
rch-mips64/syscalls/listxattr.S
rch-mips64/syscalls/llistxattr.S
rch-mips64/syscalls/lremovexattr.S
rch-mips64/syscalls/lseek.S
rch-mips64/syscalls/lsetxattr.S
rch-mips64/syscalls/madvise.S
rch-mips64/syscalls/mincore.S
rch-mips64/syscalls/mkdirat.S
rch-mips64/syscalls/mknodat.S
rch-mips64/syscalls/mlock.S
rch-mips64/syscalls/mlockall.S
rch-mips64/syscalls/mmap.S
rch-mips64/syscalls/mount.S
rch-mips64/syscalls/mprotect.S
rch-mips64/syscalls/mremap.S
rch-mips64/syscalls/msync.S
rch-mips64/syscalls/munlock.S
rch-mips64/syscalls/munlockall.S
rch-mips64/syscalls/munmap.S
rch-mips64/syscalls/nanosleep.S
rch-mips64/syscalls/personality.S
rch-mips64/syscalls/pipe2.S
rch-mips64/syscalls/prctl.S
rch-mips64/syscalls/pread64.S
rch-mips64/syscalls/prlimit64.S
rch-mips64/syscalls/pwrite64.S
rch-mips64/syscalls/read.S
rch-mips64/syscalls/readahead.S
rch-mips64/syscalls/readlinkat.S
rch-mips64/syscalls/readv.S
rch-mips64/syscalls/recvfrom.S
rch-mips64/syscalls/recvmmsg.S
rch-mips64/syscalls/recvmsg.S
rch-mips64/syscalls/removexattr.S
rch-mips64/syscalls/renameat.S
rch-mips64/syscalls/sched_get_priority_max.S
rch-mips64/syscalls/sched_get_priority_min.S
rch-mips64/syscalls/sched_getparam.S
rch-mips64/syscalls/sched_getscheduler.S
rch-mips64/syscalls/sched_rr_get_interval.S
rch-mips64/syscalls/sched_setaffinity.S
rch-mips64/syscalls/sched_setparam.S
rch-mips64/syscalls/sched_setscheduler.S
rch-mips64/syscalls/sched_yield.S
rch-mips64/syscalls/sendfile.S
rch-mips64/syscalls/sendmmsg.S
rch-mips64/syscalls/sendmsg.S
rch-mips64/syscalls/sendto.S
rch-mips64/syscalls/setfsgid.S
rch-mips64/syscalls/setfsuid.S
rch-mips64/syscalls/setgid.S
rch-mips64/syscalls/setgroups.S
rch-mips64/syscalls/setitimer.S
rch-mips64/syscalls/setns.S
rch-mips64/syscalls/setpgid.S
rch-mips64/syscalls/setpriority.S
rch-mips64/syscalls/setregid.S
rch-mips64/syscalls/setresgid.S
rch-mips64/syscalls/setresuid.S
rch-mips64/syscalls/setreuid.S
rch-mips64/syscalls/setrlimit.S
rch-mips64/syscalls/setsid.S
rch-mips64/syscalls/setsockopt.S
rch-mips64/syscalls/settimeofday.S
rch-mips64/syscalls/setuid.S
rch-mips64/syscalls/setxattr.S
rch-mips64/syscalls/shutdown.S
rch-mips64/syscalls/sigaltstack.S
rch-mips64/syscalls/socketpair.S
rch-mips64/syscalls/splice.S
rch-mips64/syscalls/statfs64.S
rch-mips64/syscalls/swapoff.S
rch-mips64/syscalls/swapon.S
rch-mips64/syscalls/symlinkat.S
rch-mips64/syscalls/sync.S
rch-mips64/syscalls/sysinfo.S
rch-mips64/syscalls/tee.S
rch-mips64/syscalls/tgkill.S
rch-mips64/syscalls/timerfd_create.S
rch-mips64/syscalls/timerfd_gettime.S
rch-mips64/syscalls/timerfd_settime.S
rch-mips64/syscalls/times.S
rch-mips64/syscalls/truncate.S
rch-mips64/syscalls/umask.S
rch-mips64/syscalls/umount2.S
rch-mips64/syscalls/uname.S
rch-mips64/syscalls/unlinkat.S
rch-mips64/syscalls/unshare.S
rch-mips64/syscalls/utimensat.S
rch-mips64/syscalls/vmsplice.S
rch-mips64/syscalls/wait4.S
rch-mips64/syscalls/write.S
rch-mips64/syscalls/writev.S
rch-x86/bionic/__bionic_clone.S
rch-x86/bionic/syscall.S
rch-x86/bionic/vfork.S
rch-x86/syscalls/__accept4.S
rch-x86/syscalls/__brk.S
rch-x86/syscalls/__connect.S
rch-x86/syscalls/__epoll_pwait.S
rch-x86/syscalls/__exit.S
rch-x86/syscalls/__fcntl64.S
rch-x86/syscalls/__fstatfs64.S
rch-x86/syscalls/__getcpu.S
rch-x86/syscalls/__getcwd.S
rch-x86/syscalls/__getdents64.S
rch-x86/syscalls/__getpid.S
rch-x86/syscalls/__getpriority.S
rch-x86/syscalls/__ioctl.S
rch-x86/syscalls/__llseek.S
rch-x86/syscalls/__mmap2.S
rch-x86/syscalls/__openat.S
rch-x86/syscalls/__ppoll.S
rch-x86/syscalls/__pselect6.S
rch-x86/syscalls/__ptrace.S
rch-x86/syscalls/__reboot.S
rch-x86/syscalls/__rt_sigaction.S
rch-x86/syscalls/__rt_sigpending.S
rch-x86/syscalls/__rt_sigprocmask.S
rch-x86/syscalls/__rt_sigsuspend.S
rch-x86/syscalls/__rt_sigtimedwait.S
rch-x86/syscalls/__sched_getaffinity.S
rch-x86/syscalls/__set_thread_area.S
rch-x86/syscalls/__set_tid_address.S
rch-x86/syscalls/__sigaction.S
rch-x86/syscalls/__signalfd4.S
rch-x86/syscalls/__socket.S
rch-x86/syscalls/__statfs64.S
rch-x86/syscalls/__timer_create.S
rch-x86/syscalls/__timer_delete.S
rch-x86/syscalls/__timer_getoverrun.S
rch-x86/syscalls/__timer_gettime.S
rch-x86/syscalls/__timer_settime.S
rch-x86/syscalls/__waitid.S
rch-x86/syscalls/_exit.S
rch-x86/syscalls/acct.S
rch-x86/syscalls/bind.S
rch-x86/syscalls/capget.S
rch-x86/syscalls/capset.S
rch-x86/syscalls/chdir.S
rch-x86/syscalls/chroot.S
rch-x86/syscalls/clock_getres.S
rch-x86/syscalls/clock_gettime.S
rch-x86/syscalls/clock_nanosleep.S
rch-x86/syscalls/clock_settime.S
rch-x86/syscalls/close.S
rch-x86/syscalls/delete_module.S
rch-x86/syscalls/dup.S
rch-x86/syscalls/dup3.S
rch-x86/syscalls/epoll_create1.S
rch-x86/syscalls/epoll_ctl.S
rch-x86/syscalls/eventfd.S
rch-x86/syscalls/execve.S
rch-x86/syscalls/faccessat.S
rch-x86/syscalls/fallocate64.S
rch-x86/syscalls/fchdir.S
rch-x86/syscalls/fchmod.S
rch-x86/syscalls/fchmodat.S
rch-x86/syscalls/fchown.S
rch-x86/syscalls/fchownat.S
rch-x86/syscalls/fdatasync.S
rch-x86/syscalls/fgetxattr.S
rch-x86/syscalls/flistxattr.S
rch-x86/syscalls/flock.S
rch-x86/syscalls/fremovexattr.S
rch-x86/syscalls/fsetxattr.S
rch-x86/syscalls/fstat64.S
rch-x86/syscalls/fstatat64.S
rch-x86/syscalls/fsync.S
rch-x86/syscalls/ftruncate.S
rch-x86/syscalls/ftruncate64.S
rch-x86/syscalls/getegid.S
rch-x86/syscalls/geteuid.S
rch-x86/syscalls/getgid.S
rch-x86/syscalls/getgroups.S
rch-x86/syscalls/getitimer.S
rch-x86/syscalls/getpeername.S
rch-x86/syscalls/getpgid.S
rch-x86/syscalls/getppid.S
rch-x86/syscalls/getresgid.S
rch-x86/syscalls/getresuid.S
rch-x86/syscalls/getrlimit.S
rch-x86/syscalls/getrusage.S
rch-x86/syscalls/getsid.S
rch-x86/syscalls/getsockname.S
rch-x86/syscalls/getsockopt.S
rch-x86/syscalls/gettimeofday.S
rch-x86/syscalls/getuid.S
rch-x86/syscalls/getxattr.S
rch-x86/syscalls/init_module.S
rch-x86/syscalls/inotify_add_watch.S
rch-x86/syscalls/inotify_init1.S
rch-x86/syscalls/inotify_rm_watch.S
rch-x86/syscalls/kill.S
rch-x86/syscalls/klogctl.S
rch-x86/syscalls/lgetxattr.S
rch-x86/syscalls/linkat.S
rch-x86/syscalls/listen.S
rch-x86/syscalls/listxattr.S
rch-x86/syscalls/llistxattr.S
rch-x86/syscalls/lremovexattr.S
rch-x86/syscalls/lseek.S
rch-x86/syscalls/lsetxattr.S
rch-x86/syscalls/madvise.S
rch-x86/syscalls/mincore.S
rch-x86/syscalls/mkdirat.S
rch-x86/syscalls/mknodat.S
rch-x86/syscalls/mlock.S
rch-x86/syscalls/mlockall.S
rch-x86/syscalls/mount.S
rch-x86/syscalls/mprotect.S
rch-x86/syscalls/mremap.S
rch-x86/syscalls/msync.S
rch-x86/syscalls/munlock.S
rch-x86/syscalls/munlockall.S
rch-x86/syscalls/munmap.S
rch-x86/syscalls/nanosleep.S
rch-x86/syscalls/personality.S
rch-x86/syscalls/pipe2.S
rch-x86/syscalls/prctl.S
rch-x86/syscalls/pread64.S
rch-x86/syscalls/prlimit64.S
rch-x86/syscalls/pwrite64.S
rch-x86/syscalls/read.S
rch-x86/syscalls/readahead.S
rch-x86/syscalls/readlinkat.S
rch-x86/syscalls/readv.S
rch-x86/syscalls/recvfrom.S
rch-x86/syscalls/recvmmsg.S
rch-x86/syscalls/recvmsg.S
rch-x86/syscalls/removexattr.S
rch-x86/syscalls/renameat.S
rch-x86/syscalls/sched_get_priority_max.S
rch-x86/syscalls/sched_get_priority_min.S
rch-x86/syscalls/sched_getparam.S
rch-x86/syscalls/sched_getscheduler.S
rch-x86/syscalls/sched_rr_get_interval.S
rch-x86/syscalls/sched_setaffinity.S
rch-x86/syscalls/sched_setparam.S
rch-x86/syscalls/sched_setscheduler.S
rch-x86/syscalls/sched_yield.S
rch-x86/syscalls/sendfile.S
rch-x86/syscalls/sendfile64.S
rch-x86/syscalls/sendmmsg.S
rch-x86/syscalls/sendmsg.S
rch-x86/syscalls/sendto.S
rch-x86/syscalls/setfsgid.S
rch-x86/syscalls/setfsuid.S
rch-x86/syscalls/setgid.S
rch-x86/syscalls/setgroups.S
rch-x86/syscalls/setitimer.S
rch-x86/syscalls/setns.S
rch-x86/syscalls/setpgid.S
rch-x86/syscalls/setpriority.S
rch-x86/syscalls/setregid.S
rch-x86/syscalls/setresgid.S
rch-x86/syscalls/setresuid.S
rch-x86/syscalls/setreuid.S
rch-x86/syscalls/setrlimit.S
rch-x86/syscalls/setsid.S
rch-x86/syscalls/setsockopt.S
rch-x86/syscalls/settimeofday.S
rch-x86/syscalls/setuid.S
rch-x86/syscalls/setxattr.S
rch-x86/syscalls/shutdown.S
rch-x86/syscalls/sigaltstack.S
rch-x86/syscalls/socketpair.S
rch-x86/syscalls/splice.S
rch-x86/syscalls/swapoff.S
rch-x86/syscalls/swapon.S
rch-x86/syscalls/symlinkat.S
rch-x86/syscalls/sync.S
rch-x86/syscalls/sysinfo.S
rch-x86/syscalls/tee.S
rch-x86/syscalls/tgkill.S
rch-x86/syscalls/timerfd_create.S
rch-x86/syscalls/timerfd_gettime.S
rch-x86/syscalls/timerfd_settime.S
rch-x86/syscalls/times.S
rch-x86/syscalls/truncate.S
rch-x86/syscalls/truncate64.S
rch-x86/syscalls/umask.S
rch-x86/syscalls/umount2.S
rch-x86/syscalls/uname.S
rch-x86/syscalls/unlinkat.S
rch-x86/syscalls/unshare.S
rch-x86/syscalls/utimensat.S
rch-x86/syscalls/vmsplice.S
rch-x86/syscalls/wait4.S
rch-x86/syscalls/write.S
rch-x86/syscalls/writev.S
rch-x86_64/bionic/__bionic_clone.S
rch-x86_64/bionic/syscall.S
rch-x86_64/bionic/vfork.S
rch-x86_64/syscalls/__accept4.S
rch-x86_64/syscalls/__arch_prctl.S
rch-x86_64/syscalls/__brk.S
rch-x86_64/syscalls/__clock_gettime.S
rch-x86_64/syscalls/__connect.S
rch-x86_64/syscalls/__epoll_pwait.S
rch-x86_64/syscalls/__exit.S
rch-x86_64/syscalls/__getcpu.S
rch-x86_64/syscalls/__getcwd.S
rch-x86_64/syscalls/__getdents64.S
rch-x86_64/syscalls/__getpid.S
rch-x86_64/syscalls/__getpriority.S
rch-x86_64/syscalls/__gettimeofday.S
rch-x86_64/syscalls/__ioctl.S
rch-x86_64/syscalls/__openat.S
rch-x86_64/syscalls/__ppoll.S
rch-x86_64/syscalls/__pselect6.S
rch-x86_64/syscalls/__ptrace.S
rch-x86_64/syscalls/__reboot.S
rch-x86_64/syscalls/__rt_sigaction.S
rch-x86_64/syscalls/__rt_sigpending.S
rch-x86_64/syscalls/__rt_sigprocmask.S
rch-x86_64/syscalls/__rt_sigsuspend.S
rch-x86_64/syscalls/__rt_sigtimedwait.S
rch-x86_64/syscalls/__sched_getaffinity.S
rch-x86_64/syscalls/__set_tid_address.S
rch-x86_64/syscalls/__signalfd4.S
rch-x86_64/syscalls/__socket.S
rch-x86_64/syscalls/__timer_create.S
rch-x86_64/syscalls/__timer_delete.S
rch-x86_64/syscalls/__timer_getoverrun.S
rch-x86_64/syscalls/__timer_gettime.S
rch-x86_64/syscalls/__timer_settime.S
rch-x86_64/syscalls/__waitid.S
rch-x86_64/syscalls/_exit.S
rch-x86_64/syscalls/acct.S
rch-x86_64/syscalls/bind.S
rch-x86_64/syscalls/capget.S
rch-x86_64/syscalls/capset.S
rch-x86_64/syscalls/chdir.S
rch-x86_64/syscalls/chroot.S
rch-x86_64/syscalls/clock_getres.S
rch-x86_64/syscalls/clock_nanosleep.S
rch-x86_64/syscalls/clock_settime.S
rch-x86_64/syscalls/close.S
rch-x86_64/syscalls/delete_module.S
rch-x86_64/syscalls/dup.S
rch-x86_64/syscalls/dup3.S
rch-x86_64/syscalls/epoll_create1.S
rch-x86_64/syscalls/epoll_ctl.S
rch-x86_64/syscalls/eventfd.S
rch-x86_64/syscalls/execve.S
rch-x86_64/syscalls/faccessat.S
rch-x86_64/syscalls/fallocate.S
rch-x86_64/syscalls/fchdir.S
rch-x86_64/syscalls/fchmod.S
rch-x86_64/syscalls/fchmodat.S
rch-x86_64/syscalls/fchown.S
rch-x86_64/syscalls/fchownat.S
rch-x86_64/syscalls/fcntl.S
rch-x86_64/syscalls/fdatasync.S
rch-x86_64/syscalls/fgetxattr.S
rch-x86_64/syscalls/flistxattr.S
rch-x86_64/syscalls/flock.S
rch-x86_64/syscalls/fremovexattr.S
rch-x86_64/syscalls/fsetxattr.S
rch-x86_64/syscalls/fstat64.S
rch-x86_64/syscalls/fstatat64.S
rch-x86_64/syscalls/fstatfs64.S
rch-x86_64/syscalls/fsync.S
rch-x86_64/syscalls/ftruncate.S
rch-x86_64/syscalls/getegid.S
rch-x86_64/syscalls/geteuid.S
rch-x86_64/syscalls/getgid.S
rch-x86_64/syscalls/getgroups.S
rch-x86_64/syscalls/getitimer.S
rch-x86_64/syscalls/getpeername.S
rch-x86_64/syscalls/getpgid.S
rch-x86_64/syscalls/getppid.S
rch-x86_64/syscalls/getresgid.S
rch-x86_64/syscalls/getresuid.S
rch-x86_64/syscalls/getrlimit.S
rch-x86_64/syscalls/getrusage.S
rch-x86_64/syscalls/getsid.S
rch-x86_64/syscalls/getsockname.S
rch-x86_64/syscalls/getsockopt.S
rch-x86_64/syscalls/getuid.S
rch-x86_64/syscalls/getxattr.S
rch-x86_64/syscalls/init_module.S
rch-x86_64/syscalls/inotify_add_watch.S
rch-x86_64/syscalls/inotify_init1.S
rch-x86_64/syscalls/inotify_rm_watch.S
rch-x86_64/syscalls/kill.S
rch-x86_64/syscalls/klogctl.S
rch-x86_64/syscalls/lgetxattr.S
rch-x86_64/syscalls/linkat.S
rch-x86_64/syscalls/listen.S
rch-x86_64/syscalls/listxattr.S
rch-x86_64/syscalls/llistxattr.S
rch-x86_64/syscalls/lremovexattr.S
rch-x86_64/syscalls/lseek.S
rch-x86_64/syscalls/lsetxattr.S
rch-x86_64/syscalls/madvise.S
rch-x86_64/syscalls/mincore.S
rch-x86_64/syscalls/mkdirat.S
rch-x86_64/syscalls/mknodat.S
rch-x86_64/syscalls/mlock.S
rch-x86_64/syscalls/mlockall.S
rch-x86_64/syscalls/mmap.S
rch-x86_64/syscalls/mount.S
rch-x86_64/syscalls/mprotect.S
rch-x86_64/syscalls/mremap.S
rch-x86_64/syscalls/msync.S
rch-x86_64/syscalls/munlock.S
rch-x86_64/syscalls/munlockall.S
rch-x86_64/syscalls/munmap.S
rch-x86_64/syscalls/nanosleep.S
rch-x86_64/syscalls/personality.S
rch-x86_64/syscalls/pipe2.S
rch-x86_64/syscalls/prctl.S
rch-x86_64/syscalls/pread64.S
rch-x86_64/syscalls/prlimit64.S
rch-x86_64/syscalls/pwrite64.S
rch-x86_64/syscalls/read.S
rch-x86_64/syscalls/readahead.S
rch-x86_64/syscalls/readlinkat.S
rch-x86_64/syscalls/readv.S
rch-x86_64/syscalls/recvfrom.S
rch-x86_64/syscalls/recvmmsg.S
rch-x86_64/syscalls/recvmsg.S
rch-x86_64/syscalls/removexattr.S
rch-x86_64/syscalls/renameat.S
rch-x86_64/syscalls/sched_get_priority_max.S
rch-x86_64/syscalls/sched_get_priority_min.S
rch-x86_64/syscalls/sched_getparam.S
rch-x86_64/syscalls/sched_getscheduler.S
rch-x86_64/syscalls/sched_rr_get_interval.S
rch-x86_64/syscalls/sched_setaffinity.S
rch-x86_64/syscalls/sched_setparam.S
rch-x86_64/syscalls/sched_setscheduler.S
rch-x86_64/syscalls/sched_yield.S
rch-x86_64/syscalls/sendfile.S
rch-x86_64/syscalls/sendmmsg.S
rch-x86_64/syscalls/sendmsg.S
rch-x86_64/syscalls/sendto.S
rch-x86_64/syscalls/setfsgid.S
rch-x86_64/syscalls/setfsuid.S
rch-x86_64/syscalls/setgid.S
rch-x86_64/syscalls/setgroups.S
rch-x86_64/syscalls/setitimer.S
rch-x86_64/syscalls/setns.S
rch-x86_64/syscalls/setpgid.S
rch-x86_64/syscalls/setpriority.S
rch-x86_64/syscalls/setregid.S
rch-x86_64/syscalls/setresgid.S
rch-x86_64/syscalls/setresuid.S
rch-x86_64/syscalls/setreuid.S
rch-x86_64/syscalls/setrlimit.S
rch-x86_64/syscalls/setsid.S
rch-x86_64/syscalls/setsockopt.S
rch-x86_64/syscalls/settimeofday.S
rch-x86_64/syscalls/setuid.S
rch-x86_64/syscalls/setxattr.S
rch-x86_64/syscalls/shutdown.S
rch-x86_64/syscalls/sigaltstack.S
rch-x86_64/syscalls/socketpair.S
rch-x86_64/syscalls/splice.S
rch-x86_64/syscalls/statfs64.S
rch-x86_64/syscalls/swapoff.S
rch-x86_64/syscalls/swapon.S
rch-x86_64/syscalls/symlinkat.S
rch-x86_64/syscalls/sync.S
rch-x86_64/syscalls/sysinfo.S
rch-x86_64/syscalls/tee.S
rch-x86_64/syscalls/tgkill.S
rch-x86_64/syscalls/timerfd_create.S
rch-x86_64/syscalls/timerfd_gettime.S
rch-x86_64/syscalls/timerfd_settime.S
rch-x86_64/syscalls/times.S
rch-x86_64/syscalls/truncate.S
rch-x86_64/syscalls/umask.S
rch-x86_64/syscalls/umount2.S
rch-x86_64/syscalls/uname.S
rch-x86_64/syscalls/unlinkat.S
rch-x86_64/syscalls/unshare.S
rch-x86_64/syscalls/utimensat.S
rch-x86_64/syscalls/vmsplice.S
rch-x86_64/syscalls/wait4.S
rch-x86_64/syscalls/write.S
rch-x86_64/syscalls/writev.S
ionic/__set_errno.cpp
ools/gensyscalls.py
c8f6b82f87d9e4ea385ce6d634220b369b76845a 08-Sep-2014 Elliott Hughes <enh@google.com> Merge "Don't expose non-standard basename_r and dirname_r in LP64." into lmp-dev
51c8355d5cf4b83ccd2ad250ca4c61a616356c2b 08-Sep-2014 Elliott Hughes <enh@google.com> Add arc4random_addrandom binary compatibility.

This was in <stdlib.h> in older releases. It's no longer used, but we can
preserve backwards compatibility by making it a no-op.

Bug: 16205834
Change-Id: Idde7b46df4f253e39675600bcf82352879a716e7
ionic/ndk_cruft.cpp
47ed03f70c6c9addc7f05e4ee4dc71c96d215105 06-Sep-2014 Christopher Ferris <cferris@google.com> Merge "Add dlmalloc_usable_size for 32 bit arches." into lmp-dev
1c365cb494d8cab1b639ecef21514425647e606b 06-Sep-2014 Christopher Ferris <cferris@google.com> Add dlmalloc_usable_size for 32 bit arches.

Bug: 17337831
Change-Id: I50c50559a5dfa083c85f064042bc0726718c988b
ionic/dlmalloc.h
ionic/ndk_cruft.cpp
f0e9458ea596227720fa745df15f5357f6c0c8f6 06-Sep-2014 Elliott Hughes <enh@google.com> Don't expose non-standard basename_r and dirname_r in LP64.

Bug: 17407423
Change-Id: I47fe499a4c396bf09d7b78fd828728d04777398b
ionic/libgen.cpp
nclude/libgen.h
5beddb7d642524ecb6655ab2823caf2add679917 05-Sep-2014 Elliott Hughes <enh@google.com> Fix pthread_attr_getstack__main_thread.

There were two problems here:

* This would fail when run with unlimited stack, because it didn't know
that bionic reports unlimited stacks as 8MiB.

* This would leave RLIMIT_STACK small, causing failures to exec (so the
popen and system tests would fail).

(cherry-pick of 27a9aed81978af792cb06035a1619c8141a5fb5b plus the
new ScopeGuard.h from a3ad450a2e3fb6b3fe359683b247eba20896f646.)

Bug: 17394276
Change-Id: I5b92dc64ca089400223b2d9a3743e9b9d57c1bc2
rivate/ScopeGuard.h
1e010d60397db706cd3d1c4d5701a2bced441aa8 04-Sep-2014 Elliott Hughes <enh@google.com> Add back a dummy arc4random_stir for compatibility.

The current arc4random implementation stirs itself as needed, but we
need to keep an arc4random_stir symbol around for binary compatibility.

Bug: 17291075
Change-Id: Iaf6171c3ec65c39c1868364d5b35ea280e29a363
ionic/ndk_cruft.cpp
cb093d1f55701da419d1013cc3e6fbb8aea3e957 02-Sep-2014 Elliott Hughes <enh@google.com> Merge "Upgrade bionic to tzdata2014g." into lmp-dev
9ac60bf82b1f0e316666b862e9924f90caa60342 29-Aug-2014 Hans Boehm <hboehm@google.com> Make stdatomic.h work with gcc4.6 host compiler

This is needed to make L work correctly, and bionic tests pass
again, after applying the equivalent of
commit 00aaea364501b3b0abe58dae461136159df1e356 there.

It makes the preexisting code that uses __sync implementations
much more useful, although we should no longer be exercising that
code in AOSP.

Specifically fixes:

We were invoking __has_extension and __has_builtin for GCC compilations.
They're clang specific. Restructured the tests.

The __sync implementation was not defining the LOCK_FREE macros.

ATOMIC_VAR_INIT was using named field initializations. These are a
C, not C++, feature, that is not supported by g++ 4.6.

The stdatomic bionic test still failed with 4.6 and glibc with our
questionable LOCK_FREE macro implementation. Don't run that piece
with 4.6.

In L, this is a prerequisite for fixing:

Bug:16880454
Bug:16513433

Change-Id: I9b61e42307f96a114dce7552b6ead4ad1c544eab
(cherry picked from commit 32429606bf696d3b2ca555f132a0d60c566d0bd0)
nclude/stdatomic.h
b519ea4903c336479fc05703c1f83741dfdee108 02-Sep-2014 Elliott Hughes <enh@google.com> Upgrade bionic to tzdata2014g.

From the release notes:

Changes affecting future time stamps

Turks & Caicos is switching from US eastern time to UTC-4 year-round,
modeled as a switch from EST/EDT to AST on 2014-11-02 at 02:00.

Changes affecting past time stamps

Time in Russia or the USSR before 1926 or so has been corrected by
a few seconds in the following zones: Asia/Irkutsk,
Asia/Krasnoyarsk, Asia/Omsk, Asia/Samarkand, Asia/Tbilisi,
Asia/Vladivostok, Asia/Yakutsk, Europe/Riga, Europe/Samara. For
Asia/Yekaterinburg the correction is a few minutes. (Thanks to
Vladimir Karpinsky.)

The Portuguese decree of 1911-05-26 took effect on 1912-01-01.
This affects 1911 time stamps in Africa/Bissau, Africa/Luanda,
Atlantic/Azores, and Atlantic/Madeira. Also, Lisbon's pre-1912
GMT offset was -0:36:45 (rounded from -0:36:44.68), not -0:36:32.
(Thanks to Stephen Colebourne for pointing to the decree.)

Asia/Dhaka ended DST on 2009-12-31 at 24:00, not 23:59.

A new file 'backzone' contains data which may appeal to
connoisseurs of old time stamps, although it is out of scope for
the tz database, is often poorly sourced, and contains some data
that is known to be incorrect. The new file is not recommended
for ordinary use and its entries are not installed by default.
(Thanks to Lester Caine for the high-quality Jersey, Guernsey, and
Isle of Man entries.)

Some more zones have been turned into links, when they differed
from existing zones only for older time stamps. As usual,
these changes affect UTC offsets in pre-1970 time stamps only.
Their old contents have been moved to the 'backzone' file.
The affected zones are: Africa/Bangui, Africa/Brazzaville,
Africa/Douala, Africa/Kinshasa, Africa/Libreville, Africa/Luanda,
Africa/Malabo, Africa/Niamey, and Africa/Porto-Novo.

Bug: 17277574

(cherry picked from commit 9685c30a2375635f7410e60eff2f0559f7e84df6)

Change-Id: I6120be3a0ec76af2d07ca6f9ea6f83d81d215803
oneinfo/tzdata
2b10e2f12262c5ac5d8dac4f0bfc16b1848cbfec 27-Aug-2014 Hans Boehm <hboehm@google.com> Undefine _Atomic before redefining

Stdatomic.h was potentially redefining _Atomic, in spite of a
prior definition by <atomic>. This could cause g++ builds that
included <stdatomic.h> with an available <atomic> header to break.

A functional stdatomic.h is a prerequisite for fixing the
following bugs. This is the middle of 3 AOSP updates to
bionics stdatomic.h that are needded to get there.

Bug:16880454
Bug:16513433

Change-Id: I562c7115118c0587d594d4d5b62d25101e47bfd8
(cherry picked from commit 3e4a0099a179d7acee63d78c8fc4c3cc7b0bae42)
nclude/stdatomic.h
c8cf3513ecb265ba3aadc846aa2113290a504c44 20-Aug-2014 Hans Boehm <hboehm@google.com> Fix, generalize stdatomic.h; improve test.

We seem to use this stdatomic.h sometimes, and slightly different prebuilts
at other times, making them all difficult to test, and making it unclear
which one we're testing. This generalizes the bionic header so that it
can be used directly as the prebuilt header as well. So long as they
don't diverge again, that should somewhat improve test coverage.

Use the correct builtin for atomic_is_lock_free.

Fix atomic_flag_init.

Turn on atomic tests even with __GLIBC__, since they now appear to pass.

Include uchar.h in stdatomic.h where needed.

Add a basic memory ordering test.

Fix bit-rotted comments in bionic tests makefile.

Prerequisite for fixing b/16880454 and

Bug:16513433

Change-Id: If6a14c1075b379395ba5d93357d56025c0ffab68
(cherry picked from commit 00aaea364501b3b0abe58dae461136159df1e356)
nclude/stdatomic.h
b2eb09a9ed9e08d9e49f4245d1959b2ca3fbaaf8 30-Aug-2014 Elliott Hughes <enh@google.com> Use __GNUC_PREREQ rather than __GNUC_PREREQ__ to match glibc.

Bug: 16874785

(cherry picked from commit e0c56efddf55ad40cb35b2c22e1dd9b4b50df159)

Change-Id: I9c922ba019f648766fc399d1c4e35e789e25acd4
nclude/stdatomic.h
nclude/sys/cdefs.h
67f1f3b171ecd5f68f51465bbe4b8c8440bb6b2e 28-Aug-2014 Elliott Hughes <enh@google.com> Have pthread_attr_getstack for the main thread report RLIMIT_STACK...

...rather than just what's already mapped in. This seems somewhat
contrary to POSIX's "All pages within the stack described by stackaddr
and stacksize shall be both readable and writable by the thread", but
it's what glibc does.

Bug: 17111575

(cherry picked from commit 9e4ffa7032eaab308876b8e3da86b05c3c613878)

Change-Id: I73f219a569917b2e4546c09436d7ef5231facc07
ionic/pthread_attr.cpp
a0eeb0b69fb3840125329026f2172d3fbe177e99 28-Aug-2014 Elliott Hughes <enh@google.com> Merge "Fix pthread_getattr_np for the main thread." into lmp-dev
3f7635f4906c53fa744731efc35235456b7d93bf 27-Aug-2014 Christopher Ferris <cferris@google.com> Use the default unwind code.

This speeds up the debug malloc code by using the original unwinding code.
The only catch is that it has to link in the libc++ arm unwind code or
there will be crashes when attempting to unwind through libc++ compiled
code.

Bug: 16874447
Change-Id: Ifdbbcbd4137d668b25cf3c2bd59535e06ebfa5a7
ndroid.mk
642182341018b282148280a7bdb771493e15bd7d 26-Aug-2014 Elliott Hughes <enh@google.com> Fix pthread_getattr_np for the main thread.

On most architectures the kernel subtracts a random offset to the stack
pointer in create_elf_tables by calling arch_align_stack before writing
the auxval table and so on. On all but x86 this doesn't cause a problem
because the random offset is less than a page, but on x86 it's up to two
pages. This means that our old technique of rounding the stack pointer
doesn't work. (Our old implementation of that technique was wrong too.)

It's also incorrect to assume that the main thread's stack base and size
are constant. Likewise to assume that the main thread has a guard page.
The main thread is not like other threads.

This patch switches to reading /proc/self/maps (and checking RLIMIT_STACK)
whenever we're asked.

Bug: 17111575
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>

(cherry picked from commit 57b7a6110e7e8b446fc23cce4765ff625ee0a105)

Change-Id: I87e679ee1c0db8092f2d1221c8e7c1461545c5a4
rch-arm/arm.mk
rch-arm/bionic/__get_sp.S
rch-arm64/arm64.mk
rch-arm64/bionic/__get_sp.S
rch-mips/bionic/__get_sp.S
rch-mips/mips.mk
rch-mips64/bionic/__get_sp.S
rch-x86/bionic/__get_sp.S
rch-x86/x86.mk
rch-x86_64/bionic/__get_sp.S
rch-x86_64/x86_64.mk
ionic/libc_init_common.cpp
ionic/pthread_attr.cpp
rivate/bionic_string_utils.h
2d80400a9e8454038a3ec29959436184be0c4c65 20-Aug-2014 Elliott Hughes <enh@google.com> Fix some 32-bit-isms in <stdio.h>.

Bug: 17157793
Change-Id: I8290e240b92e5617f4c12c0eacad6e622e677b6a
nclude/stdio.h
1506fc178e9dcd873eaf95535ac7625ebb59388f 18-Aug-2014 Dan Albert <danalbert@google.com> Expose android_set_abort_message().

Removes the leading underscores from __android_set_abort_message() and
moves its declaration into a public header file.

Bug: 17059126
Change-Id: I470c79db47ec783ea7a54b800f8b78ecbe7479ab
(cherry picked from commit ce6b1abbb1da797e716d8ec03da4e3b6304fd11d)
(cherry picked from commit 3a25ab952befbe908f6df45805683ebe3bf65863)
ionic/libc_logging.cpp
nclude/android/set_abort_message.h
rivate/libc_logging.h
6df7b609984479c894be81140730578896dbdd8f 15-Aug-2014 Dan Albert <danalbert@google.com> Hide C++ stuff in libc. Put it back in libstdc++.

Bug: 17062445
Change-Id: I027b186719654c2865b08c3fa83f90fa00c1e838
(cherry picked from commit fd5ee9aebc0a43c7f36a0778c7f416b39ddb870e)
ndroid.mk
9e56ce4cd387cfa45de3a71dcccedd061e09d2f5 18-Aug-2014 Christopher Ferris <cferris@google.com> Merge "Fix leak_realloc, copy entire allocation." into lmp-dev
5df0839cea98bd8c37d8dba5b94b98e99c681a94 16-Aug-2014 Christopher Ferris <cferris@google.com> Fix leak_realloc, copy entire allocation.

Bug: 16874447
Change-Id: Ie54a73fd75529961195fa5173d9116d0ae897b03
ionic/malloc_debug_leak.cpp
f0f66c0264eb4b6ee56072af34c91a78a9184f23 15-Aug-2014 Hans Boehm <hboehm@google.com> Have stdatomic.h punt to C++ atomic when possible

This is an alternate, somewhat simpler, fix that makes it safe to
include both <atomic> and <stdatomic.h> from C++ code in either order.
It means that C code consistently uses one implementation of atomics
and C++ another. We still have to make sure that those two
implementations interoperate correctly at runtime; in particular,
any flavor of atomic object needs to be represented exactly like the
underlying type, with the proper alignment constraint.

Bug:17007799
Change-Id: Iffcfc5220d8fa150f89dd083a121b24d23f268fc
(cherry picked from commit 019d3958118b7dc3ec8444ad2accca50c268b737)
nclude/stdatomic.h
e2050ae1aa9d7e8e6f425bbb7a3991fe612f3913 15-Aug-2014 Dan Albert <danalbert@google.com> Merge "Change name of MB_CUR_MAX implementation function." into lmp-dev
bafee43161b9e38ca6c941eb3646df20ec6da759 14-Aug-2014 Dan Albert <danalbert@google.com> Change name of MB_CUR_MAX implementation function.

Glibc calls theirs __ctype_get_mb_cur_max. Make ours match to cut down
on differences between bionic and glibc.

Bug: 11156955
Change-Id: Ib7231f01aa9676dff30aea0af25d597bfe07bc73
ionic/locale.cpp
nclude/stdlib.h
553c0ea52bde59800fda2ddd380dd18d4f3ab192 15-Aug-2014 Dan Albert <danalbert@google.com> Merge "Move mtctxres.c to libc_dns.a." into lmp-dev
9f533972ae3be1a2faec74ddddbf136b20fd76d1 15-Aug-2014 Dan Albert <danalbert@google.com> Move mtctxres.c to libc_dns.a.

Has the effect of making ___mtctxres hidden.

Bug: 11156955
Change-Id: I5aa5f49344ad5ecb33f48737430561b329bcbb0d
(cherry picked from commit 891ec7a6e46e60d7dfa1cf229e14a8e8634e272b)
ndroid.mk
0533195e16b86794f14dfb1800ca170ce2548b9f 14-Aug-2014 Christopher Ferris <cferris@google.com> Merge "malloc_usable_size returns the original size." into lmp-dev
59c1ee44d0a560a754513fab12641c8a57a20d9e 14-Aug-2014 Christopher Ferris <cferris@google.com> malloc_usable_size returns the original size.

Bug: 16874447
Change-Id: Ie3ce683fd1f58b837b8ea91dc798e561b8593356
ionic/malloc_debug_leak.cpp
4bea4c631f747cc6b570ecd42c744a9b1103bf28 09-Aug-2014 Dmitriy Ivanov <dimitry@google.com> Label pages mapped by linker_allocator

(cherry picked from commit 51a22a12ab370933a35463f5c81223132ec64dcb)

Bug: 17013324
Change-Id: I345c9d0fecc29d3626c5be01cc3c0ed1583ac361
ionic/dlmalloc.c
rivate/bionic_prctl.h
d332bc68783b9bdef4ecb38bec4e45765a5e9a94 13-Aug-2014 Dan Albert <danalbert@google.com> Hide __libc_malloc_dispatch.

Now that -Bsymbolic is fixed, we can hide __libc_malloc_dispatch without
breaking ASAN.

Bug: 11156955
Change-Id: Ia2fc9b046a74e666b33aa6c6c5435f70a63b8021
ionic/malloc_debug_common.cpp
72d7e667c7e926cb120c4edb53cbf74c652ab915 10-Aug-2014 Elliott Hughes <enh@google.com> Fix our x86 PIC_PROLOGUE.

The old definition only worked for functions that didn't use numbered
local labels. Upstream uses '666' not only as some kind of BSD in-joke,
but also because there's little likelihood of any function having
labels that high.

There's a wider question about whether we actually want to go via the
PLT at all in this code, but that's a question for another day.

Bug: 16906712
Change-Id: I3cd8ecc448b33f942bb6e783931808ef39091489
rch-x86/include/machine/asm.h
f4d21fba064c398110ec0428afc0a025afb2254e 09-Aug-2014 Dan Albert <danalbert@google.com> Merge "Make __set_errno hidden in asm." into lmp-dev
e35fd48a832cddbedcf84773fd1922f735ae7829 09-Aug-2014 Dan Albert <danalbert@google.com> Make __set_errno hidden in asm.

This fixes the build after the -Bsymbolic change.

Bug: 16853291
Change-Id: I989c9fec3c32e0289ea257a3bd2b7fd2709b6ce2
(cherry picked from commit bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7)
rch-arm/syscalls/__accept4.S
rch-arm/syscalls/__brk.S
rch-arm/syscalls/__connect.S
rch-arm/syscalls/__epoll_pwait.S
rch-arm/syscalls/__exit.S
rch-arm/syscalls/__fcntl64.S
rch-arm/syscalls/__fstatfs64.S
rch-arm/syscalls/__getcpu.S
rch-arm/syscalls/__getcwd.S
rch-arm/syscalls/__getdents64.S
rch-arm/syscalls/__getpid.S
rch-arm/syscalls/__getpriority.S
rch-arm/syscalls/__ioctl.S
rch-arm/syscalls/__llseek.S
rch-arm/syscalls/__mmap2.S
rch-arm/syscalls/__openat.S
rch-arm/syscalls/__ppoll.S
rch-arm/syscalls/__pselect6.S
rch-arm/syscalls/__ptrace.S
rch-arm/syscalls/__reboot.S
rch-arm/syscalls/__rt_sigaction.S
rch-arm/syscalls/__rt_sigpending.S
rch-arm/syscalls/__rt_sigprocmask.S
rch-arm/syscalls/__rt_sigsuspend.S
rch-arm/syscalls/__rt_sigtimedwait.S
rch-arm/syscalls/__sched_getaffinity.S
rch-arm/syscalls/__set_tid_address.S
rch-arm/syscalls/__set_tls.S
rch-arm/syscalls/__sigaction.S
rch-arm/syscalls/__signalfd4.S
rch-arm/syscalls/__socket.S
rch-arm/syscalls/__statfs64.S
rch-arm/syscalls/__timer_create.S
rch-arm/syscalls/__timer_delete.S
rch-arm/syscalls/__timer_getoverrun.S
rch-arm/syscalls/__timer_gettime.S
rch-arm/syscalls/__timer_settime.S
rch-arm/syscalls/__waitid.S
rch-arm/syscalls/_exit.S
rch-arm/syscalls/acct.S
rch-arm/syscalls/bind.S
rch-arm/syscalls/cacheflush.S
rch-arm/syscalls/capget.S
rch-arm/syscalls/capset.S
rch-arm/syscalls/chdir.S
rch-arm/syscalls/chroot.S
rch-arm/syscalls/clock_getres.S
rch-arm/syscalls/clock_gettime.S
rch-arm/syscalls/clock_nanosleep.S
rch-arm/syscalls/clock_settime.S
rch-arm/syscalls/close.S
rch-arm/syscalls/delete_module.S
rch-arm/syscalls/dup.S
rch-arm/syscalls/dup3.S
rch-arm/syscalls/epoll_create1.S
rch-arm/syscalls/epoll_ctl.S
rch-arm/syscalls/eventfd.S
rch-arm/syscalls/execve.S
rch-arm/syscalls/faccessat.S
rch-arm/syscalls/fallocate64.S
rch-arm/syscalls/fchdir.S
rch-arm/syscalls/fchmod.S
rch-arm/syscalls/fchmodat.S
rch-arm/syscalls/fchown.S
rch-arm/syscalls/fchownat.S
rch-arm/syscalls/fdatasync.S
rch-arm/syscalls/fgetxattr.S
rch-arm/syscalls/flistxattr.S
rch-arm/syscalls/flock.S
rch-arm/syscalls/fremovexattr.S
rch-arm/syscalls/fsetxattr.S
rch-arm/syscalls/fstat64.S
rch-arm/syscalls/fstatat64.S
rch-arm/syscalls/fsync.S
rch-arm/syscalls/ftruncate.S
rch-arm/syscalls/ftruncate64.S
rch-arm/syscalls/getegid.S
rch-arm/syscalls/geteuid.S
rch-arm/syscalls/getgid.S
rch-arm/syscalls/getgroups.S
rch-arm/syscalls/getitimer.S
rch-arm/syscalls/getpeername.S
rch-arm/syscalls/getpgid.S
rch-arm/syscalls/getppid.S
rch-arm/syscalls/getresgid.S
rch-arm/syscalls/getresuid.S
rch-arm/syscalls/getrlimit.S
rch-arm/syscalls/getrusage.S
rch-arm/syscalls/getsid.S
rch-arm/syscalls/getsockname.S
rch-arm/syscalls/getsockopt.S
rch-arm/syscalls/gettimeofday.S
rch-arm/syscalls/getuid.S
rch-arm/syscalls/getxattr.S
rch-arm/syscalls/init_module.S
rch-arm/syscalls/inotify_add_watch.S
rch-arm/syscalls/inotify_init1.S
rch-arm/syscalls/inotify_rm_watch.S
rch-arm/syscalls/kill.S
rch-arm/syscalls/klogctl.S
rch-arm/syscalls/lgetxattr.S
rch-arm/syscalls/linkat.S
rch-arm/syscalls/listen.S
rch-arm/syscalls/listxattr.S
rch-arm/syscalls/llistxattr.S
rch-arm/syscalls/lremovexattr.S
rch-arm/syscalls/lseek.S
rch-arm/syscalls/lsetxattr.S
rch-arm/syscalls/madvise.S
rch-arm/syscalls/mincore.S
rch-arm/syscalls/mkdirat.S
rch-arm/syscalls/mknodat.S
rch-arm/syscalls/mlock.S
rch-arm/syscalls/mlockall.S
rch-arm/syscalls/mount.S
rch-arm/syscalls/mprotect.S
rch-arm/syscalls/mremap.S
rch-arm/syscalls/msync.S
rch-arm/syscalls/munlock.S
rch-arm/syscalls/munlockall.S
rch-arm/syscalls/munmap.S
rch-arm/syscalls/nanosleep.S
rch-arm/syscalls/personality.S
rch-arm/syscalls/pipe2.S
rch-arm/syscalls/prctl.S
rch-arm/syscalls/pread64.S
rch-arm/syscalls/prlimit64.S
rch-arm/syscalls/pwrite64.S
rch-arm/syscalls/read.S
rch-arm/syscalls/readahead.S
rch-arm/syscalls/readlinkat.S
rch-arm/syscalls/readv.S
rch-arm/syscalls/recvfrom.S
rch-arm/syscalls/recvmmsg.S
rch-arm/syscalls/recvmsg.S
rch-arm/syscalls/removexattr.S
rch-arm/syscalls/renameat.S
rch-arm/syscalls/sched_get_priority_max.S
rch-arm/syscalls/sched_get_priority_min.S
rch-arm/syscalls/sched_getparam.S
rch-arm/syscalls/sched_getscheduler.S
rch-arm/syscalls/sched_rr_get_interval.S
rch-arm/syscalls/sched_setaffinity.S
rch-arm/syscalls/sched_setparam.S
rch-arm/syscalls/sched_setscheduler.S
rch-arm/syscalls/sched_yield.S
rch-arm/syscalls/sendfile.S
rch-arm/syscalls/sendfile64.S
rch-arm/syscalls/sendmmsg.S
rch-arm/syscalls/sendmsg.S
rch-arm/syscalls/sendto.S
rch-arm/syscalls/setfsgid.S
rch-arm/syscalls/setfsuid.S
rch-arm/syscalls/setgid.S
rch-arm/syscalls/setgroups.S
rch-arm/syscalls/setitimer.S
rch-arm/syscalls/setns.S
rch-arm/syscalls/setpgid.S
rch-arm/syscalls/setpriority.S
rch-arm/syscalls/setregid.S
rch-arm/syscalls/setresgid.S
rch-arm/syscalls/setresuid.S
rch-arm/syscalls/setreuid.S
rch-arm/syscalls/setrlimit.S
rch-arm/syscalls/setsid.S
rch-arm/syscalls/setsockopt.S
rch-arm/syscalls/settimeofday.S
rch-arm/syscalls/setuid.S
rch-arm/syscalls/setxattr.S
rch-arm/syscalls/shutdown.S
rch-arm/syscalls/sigaltstack.S
rch-arm/syscalls/socketpair.S
rch-arm/syscalls/splice.S
rch-arm/syscalls/swapoff.S
rch-arm/syscalls/swapon.S
rch-arm/syscalls/symlinkat.S
rch-arm/syscalls/sync.S
rch-arm/syscalls/sysinfo.S
rch-arm/syscalls/tee.S
rch-arm/syscalls/tgkill.S
rch-arm/syscalls/timerfd_create.S
rch-arm/syscalls/timerfd_gettime.S
rch-arm/syscalls/timerfd_settime.S
rch-arm/syscalls/times.S
rch-arm/syscalls/truncate.S
rch-arm/syscalls/truncate64.S
rch-arm/syscalls/umask.S
rch-arm/syscalls/umount2.S
rch-arm/syscalls/uname.S
rch-arm/syscalls/unlinkat.S
rch-arm/syscalls/unshare.S
rch-arm/syscalls/utimensat.S
rch-arm/syscalls/vfork.S
rch-arm/syscalls/vmsplice.S
rch-arm/syscalls/wait4.S
rch-arm/syscalls/write.S
rch-arm/syscalls/writev.S
rch-arm64/syscalls/__accept4.S
rch-arm64/syscalls/__brk.S
rch-arm64/syscalls/__clock_gettime.S
rch-arm64/syscalls/__connect.S
rch-arm64/syscalls/__epoll_pwait.S
rch-arm64/syscalls/__exit.S
rch-arm64/syscalls/__getcpu.S
rch-arm64/syscalls/__getcwd.S
rch-arm64/syscalls/__getdents64.S
rch-arm64/syscalls/__getpid.S
rch-arm64/syscalls/__getpriority.S
rch-arm64/syscalls/__gettimeofday.S
rch-arm64/syscalls/__ioctl.S
rch-arm64/syscalls/__openat.S
rch-arm64/syscalls/__ppoll.S
rch-arm64/syscalls/__pselect6.S
rch-arm64/syscalls/__ptrace.S
rch-arm64/syscalls/__reboot.S
rch-arm64/syscalls/__rt_sigaction.S
rch-arm64/syscalls/__rt_sigpending.S
rch-arm64/syscalls/__rt_sigprocmask.S
rch-arm64/syscalls/__rt_sigsuspend.S
rch-arm64/syscalls/__rt_sigtimedwait.S
rch-arm64/syscalls/__sched_getaffinity.S
rch-arm64/syscalls/__set_tid_address.S
rch-arm64/syscalls/__signalfd4.S
rch-arm64/syscalls/__socket.S
rch-arm64/syscalls/__timer_create.S
rch-arm64/syscalls/__timer_delete.S
rch-arm64/syscalls/__timer_getoverrun.S
rch-arm64/syscalls/__timer_gettime.S
rch-arm64/syscalls/__timer_settime.S
rch-arm64/syscalls/__waitid.S
rch-arm64/syscalls/_exit.S
rch-arm64/syscalls/acct.S
rch-arm64/syscalls/bind.S
rch-arm64/syscalls/capget.S
rch-arm64/syscalls/capset.S
rch-arm64/syscalls/chdir.S
rch-arm64/syscalls/chroot.S
rch-arm64/syscalls/clock_getres.S
rch-arm64/syscalls/clock_nanosleep.S
rch-arm64/syscalls/clock_settime.S
rch-arm64/syscalls/close.S
rch-arm64/syscalls/delete_module.S
rch-arm64/syscalls/dup.S
rch-arm64/syscalls/dup3.S
rch-arm64/syscalls/epoll_create1.S
rch-arm64/syscalls/epoll_ctl.S
rch-arm64/syscalls/eventfd.S
rch-arm64/syscalls/execve.S
rch-arm64/syscalls/faccessat.S
rch-arm64/syscalls/fallocate.S
rch-arm64/syscalls/fchdir.S
rch-arm64/syscalls/fchmod.S
rch-arm64/syscalls/fchmodat.S
rch-arm64/syscalls/fchown.S
rch-arm64/syscalls/fchownat.S
rch-arm64/syscalls/fcntl.S
rch-arm64/syscalls/fdatasync.S
rch-arm64/syscalls/fgetxattr.S
rch-arm64/syscalls/flistxattr.S
rch-arm64/syscalls/flock.S
rch-arm64/syscalls/fremovexattr.S
rch-arm64/syscalls/fsetxattr.S
rch-arm64/syscalls/fstat64.S
rch-arm64/syscalls/fstatat64.S
rch-arm64/syscalls/fstatfs64.S
rch-arm64/syscalls/fsync.S
rch-arm64/syscalls/ftruncate.S
rch-arm64/syscalls/getegid.S
rch-arm64/syscalls/geteuid.S
rch-arm64/syscalls/getgid.S
rch-arm64/syscalls/getgroups.S
rch-arm64/syscalls/getitimer.S
rch-arm64/syscalls/getpeername.S
rch-arm64/syscalls/getpgid.S
rch-arm64/syscalls/getppid.S
rch-arm64/syscalls/getresgid.S
rch-arm64/syscalls/getresuid.S
rch-arm64/syscalls/getrlimit.S
rch-arm64/syscalls/getrusage.S
rch-arm64/syscalls/getsid.S
rch-arm64/syscalls/getsockname.S
rch-arm64/syscalls/getsockopt.S
rch-arm64/syscalls/getuid.S
rch-arm64/syscalls/getxattr.S
rch-arm64/syscalls/init_module.S
rch-arm64/syscalls/inotify_add_watch.S
rch-arm64/syscalls/inotify_init1.S
rch-arm64/syscalls/inotify_rm_watch.S
rch-arm64/syscalls/kill.S
rch-arm64/syscalls/klogctl.S
rch-arm64/syscalls/lgetxattr.S
rch-arm64/syscalls/linkat.S
rch-arm64/syscalls/listen.S
rch-arm64/syscalls/listxattr.S
rch-arm64/syscalls/llistxattr.S
rch-arm64/syscalls/lremovexattr.S
rch-arm64/syscalls/lseek.S
rch-arm64/syscalls/lsetxattr.S
rch-arm64/syscalls/madvise.S
rch-arm64/syscalls/mincore.S
rch-arm64/syscalls/mkdirat.S
rch-arm64/syscalls/mknodat.S
rch-arm64/syscalls/mlock.S
rch-arm64/syscalls/mlockall.S
rch-arm64/syscalls/mmap.S
rch-arm64/syscalls/mount.S
rch-arm64/syscalls/mprotect.S
rch-arm64/syscalls/mremap.S
rch-arm64/syscalls/msync.S
rch-arm64/syscalls/munlock.S
rch-arm64/syscalls/munlockall.S
rch-arm64/syscalls/munmap.S
rch-arm64/syscalls/nanosleep.S
rch-arm64/syscalls/personality.S
rch-arm64/syscalls/pipe2.S
rch-arm64/syscalls/prctl.S
rch-arm64/syscalls/pread64.S
rch-arm64/syscalls/prlimit64.S
rch-arm64/syscalls/pwrite64.S
rch-arm64/syscalls/read.S
rch-arm64/syscalls/readahead.S
rch-arm64/syscalls/readlinkat.S
rch-arm64/syscalls/readv.S
rch-arm64/syscalls/recvfrom.S
rch-arm64/syscalls/recvmmsg.S
rch-arm64/syscalls/recvmsg.S
rch-arm64/syscalls/removexattr.S
rch-arm64/syscalls/renameat.S
rch-arm64/syscalls/sched_get_priority_max.S
rch-arm64/syscalls/sched_get_priority_min.S
rch-arm64/syscalls/sched_getparam.S
rch-arm64/syscalls/sched_getscheduler.S
rch-arm64/syscalls/sched_rr_get_interval.S
rch-arm64/syscalls/sched_setaffinity.S
rch-arm64/syscalls/sched_setparam.S
rch-arm64/syscalls/sched_setscheduler.S
rch-arm64/syscalls/sched_yield.S
rch-arm64/syscalls/sendfile.S
rch-arm64/syscalls/sendmmsg.S
rch-arm64/syscalls/sendmsg.S
rch-arm64/syscalls/sendto.S
rch-arm64/syscalls/setfsgid.S
rch-arm64/syscalls/setfsuid.S
rch-arm64/syscalls/setgid.S
rch-arm64/syscalls/setgroups.S
rch-arm64/syscalls/setitimer.S
rch-arm64/syscalls/setns.S
rch-arm64/syscalls/setpgid.S
rch-arm64/syscalls/setpriority.S
rch-arm64/syscalls/setregid.S
rch-arm64/syscalls/setresgid.S
rch-arm64/syscalls/setresuid.S
rch-arm64/syscalls/setreuid.S
rch-arm64/syscalls/setrlimit.S
rch-arm64/syscalls/setsid.S
rch-arm64/syscalls/setsockopt.S
rch-arm64/syscalls/settimeofday.S
rch-arm64/syscalls/setuid.S
rch-arm64/syscalls/setxattr.S
rch-arm64/syscalls/shutdown.S
rch-arm64/syscalls/sigaltstack.S
rch-arm64/syscalls/socketpair.S
rch-arm64/syscalls/splice.S
rch-arm64/syscalls/statfs64.S
rch-arm64/syscalls/swapoff.S
rch-arm64/syscalls/swapon.S
rch-arm64/syscalls/symlinkat.S
rch-arm64/syscalls/sync.S
rch-arm64/syscalls/sysinfo.S
rch-arm64/syscalls/tee.S
rch-arm64/syscalls/tgkill.S
rch-arm64/syscalls/timerfd_create.S
rch-arm64/syscalls/timerfd_gettime.S
rch-arm64/syscalls/timerfd_settime.S
rch-arm64/syscalls/times.S
rch-arm64/syscalls/truncate.S
rch-arm64/syscalls/umask.S
rch-arm64/syscalls/umount2.S
rch-arm64/syscalls/uname.S
rch-arm64/syscalls/unlinkat.S
rch-arm64/syscalls/unshare.S
rch-arm64/syscalls/utimensat.S
rch-arm64/syscalls/vmsplice.S
rch-arm64/syscalls/wait4.S
rch-arm64/syscalls/write.S
rch-arm64/syscalls/writev.S
rch-mips/syscalls/__accept4.S
rch-mips/syscalls/__brk.S
rch-mips/syscalls/__connect.S
rch-mips/syscalls/__epoll_pwait.S
rch-mips/syscalls/__exit.S
rch-mips/syscalls/__fcntl64.S
rch-mips/syscalls/__fstatfs64.S
rch-mips/syscalls/__getcpu.S
rch-mips/syscalls/__getcwd.S
rch-mips/syscalls/__getdents64.S
rch-mips/syscalls/__getpid.S
rch-mips/syscalls/__getpriority.S
rch-mips/syscalls/__ioctl.S
rch-mips/syscalls/__llseek.S
rch-mips/syscalls/__mmap2.S
rch-mips/syscalls/__openat.S
rch-mips/syscalls/__ppoll.S
rch-mips/syscalls/__pselect6.S
rch-mips/syscalls/__ptrace.S
rch-mips/syscalls/__reboot.S
rch-mips/syscalls/__rt_sigaction.S
rch-mips/syscalls/__rt_sigpending.S
rch-mips/syscalls/__rt_sigprocmask.S
rch-mips/syscalls/__rt_sigsuspend.S
rch-mips/syscalls/__rt_sigtimedwait.S
rch-mips/syscalls/__sched_getaffinity.S
rch-mips/syscalls/__set_tid_address.S
rch-mips/syscalls/__set_tls.S
rch-mips/syscalls/__sigaction.S
rch-mips/syscalls/__signalfd4.S
rch-mips/syscalls/__socket.S
rch-mips/syscalls/__statfs64.S
rch-mips/syscalls/__timer_create.S
rch-mips/syscalls/__timer_delete.S
rch-mips/syscalls/__timer_getoverrun.S
rch-mips/syscalls/__timer_gettime.S
rch-mips/syscalls/__timer_settime.S
rch-mips/syscalls/__waitid.S
rch-mips/syscalls/_exit.S
rch-mips/syscalls/_flush_cache.S
rch-mips/syscalls/acct.S
rch-mips/syscalls/bind.S
rch-mips/syscalls/capget.S
rch-mips/syscalls/capset.S
rch-mips/syscalls/chdir.S
rch-mips/syscalls/chroot.S
rch-mips/syscalls/clock_getres.S
rch-mips/syscalls/clock_gettime.S
rch-mips/syscalls/clock_nanosleep.S
rch-mips/syscalls/clock_settime.S
rch-mips/syscalls/close.S
rch-mips/syscalls/delete_module.S
rch-mips/syscalls/dup.S
rch-mips/syscalls/dup3.S
rch-mips/syscalls/epoll_create1.S
rch-mips/syscalls/epoll_ctl.S
rch-mips/syscalls/eventfd.S
rch-mips/syscalls/execve.S
rch-mips/syscalls/faccessat.S
rch-mips/syscalls/fallocate64.S
rch-mips/syscalls/fchdir.S
rch-mips/syscalls/fchmod.S
rch-mips/syscalls/fchmodat.S
rch-mips/syscalls/fchown.S
rch-mips/syscalls/fchownat.S
rch-mips/syscalls/fdatasync.S
rch-mips/syscalls/fgetxattr.S
rch-mips/syscalls/flistxattr.S
rch-mips/syscalls/flock.S
rch-mips/syscalls/fremovexattr.S
rch-mips/syscalls/fsetxattr.S
rch-mips/syscalls/fstat64.S
rch-mips/syscalls/fstatat64.S
rch-mips/syscalls/fsync.S
rch-mips/syscalls/ftruncate.S
rch-mips/syscalls/ftruncate64.S
rch-mips/syscalls/getegid.S
rch-mips/syscalls/geteuid.S
rch-mips/syscalls/getgid.S
rch-mips/syscalls/getgroups.S
rch-mips/syscalls/getitimer.S
rch-mips/syscalls/getpeername.S
rch-mips/syscalls/getpgid.S
rch-mips/syscalls/getppid.S
rch-mips/syscalls/getresgid.S
rch-mips/syscalls/getresuid.S
rch-mips/syscalls/getrlimit.S
rch-mips/syscalls/getrusage.S
rch-mips/syscalls/getsid.S
rch-mips/syscalls/getsockname.S
rch-mips/syscalls/getsockopt.S
rch-mips/syscalls/gettimeofday.S
rch-mips/syscalls/getuid.S
rch-mips/syscalls/getxattr.S
rch-mips/syscalls/init_module.S
rch-mips/syscalls/inotify_add_watch.S
rch-mips/syscalls/inotify_init1.S
rch-mips/syscalls/inotify_rm_watch.S
rch-mips/syscalls/kill.S
rch-mips/syscalls/klogctl.S
rch-mips/syscalls/lgetxattr.S
rch-mips/syscalls/linkat.S
rch-mips/syscalls/listen.S
rch-mips/syscalls/listxattr.S
rch-mips/syscalls/llistxattr.S
rch-mips/syscalls/lremovexattr.S
rch-mips/syscalls/lseek.S
rch-mips/syscalls/lsetxattr.S
rch-mips/syscalls/madvise.S
rch-mips/syscalls/mincore.S
rch-mips/syscalls/mkdirat.S
rch-mips/syscalls/mknodat.S
rch-mips/syscalls/mlock.S
rch-mips/syscalls/mlockall.S
rch-mips/syscalls/mount.S
rch-mips/syscalls/mprotect.S
rch-mips/syscalls/mremap.S
rch-mips/syscalls/msync.S
rch-mips/syscalls/munlock.S
rch-mips/syscalls/munlockall.S
rch-mips/syscalls/munmap.S
rch-mips/syscalls/nanosleep.S
rch-mips/syscalls/personality.S
rch-mips/syscalls/pipe2.S
rch-mips/syscalls/prctl.S
rch-mips/syscalls/pread64.S
rch-mips/syscalls/prlimit64.S
rch-mips/syscalls/pwrite64.S
rch-mips/syscalls/read.S
rch-mips/syscalls/readahead.S
rch-mips/syscalls/readlinkat.S
rch-mips/syscalls/readv.S
rch-mips/syscalls/recvfrom.S
rch-mips/syscalls/recvmmsg.S
rch-mips/syscalls/recvmsg.S
rch-mips/syscalls/removexattr.S
rch-mips/syscalls/renameat.S
rch-mips/syscalls/sched_get_priority_max.S
rch-mips/syscalls/sched_get_priority_min.S
rch-mips/syscalls/sched_getparam.S
rch-mips/syscalls/sched_getscheduler.S
rch-mips/syscalls/sched_rr_get_interval.S
rch-mips/syscalls/sched_setaffinity.S
rch-mips/syscalls/sched_setparam.S
rch-mips/syscalls/sched_setscheduler.S
rch-mips/syscalls/sched_yield.S
rch-mips/syscalls/sendfile.S
rch-mips/syscalls/sendfile64.S
rch-mips/syscalls/sendmmsg.S
rch-mips/syscalls/sendmsg.S
rch-mips/syscalls/sendto.S
rch-mips/syscalls/setfsgid.S
rch-mips/syscalls/setfsuid.S
rch-mips/syscalls/setgid.S
rch-mips/syscalls/setgroups.S
rch-mips/syscalls/setitimer.S
rch-mips/syscalls/setns.S
rch-mips/syscalls/setpgid.S
rch-mips/syscalls/setpriority.S
rch-mips/syscalls/setregid.S
rch-mips/syscalls/setresgid.S
rch-mips/syscalls/setresuid.S
rch-mips/syscalls/setreuid.S
rch-mips/syscalls/setrlimit.S
rch-mips/syscalls/setsid.S
rch-mips/syscalls/setsockopt.S
rch-mips/syscalls/settimeofday.S
rch-mips/syscalls/setuid.S
rch-mips/syscalls/setxattr.S
rch-mips/syscalls/shutdown.S
rch-mips/syscalls/sigaltstack.S
rch-mips/syscalls/socketpair.S
rch-mips/syscalls/splice.S
rch-mips/syscalls/swapoff.S
rch-mips/syscalls/swapon.S
rch-mips/syscalls/symlinkat.S
rch-mips/syscalls/sync.S
rch-mips/syscalls/sysinfo.S
rch-mips/syscalls/tee.S
rch-mips/syscalls/tgkill.S
rch-mips/syscalls/timerfd_create.S
rch-mips/syscalls/timerfd_gettime.S
rch-mips/syscalls/timerfd_settime.S
rch-mips/syscalls/times.S
rch-mips/syscalls/truncate.S
rch-mips/syscalls/truncate64.S
rch-mips/syscalls/umask.S
rch-mips/syscalls/umount2.S
rch-mips/syscalls/uname.S
rch-mips/syscalls/unlinkat.S
rch-mips/syscalls/unshare.S
rch-mips/syscalls/utimensat.S
rch-mips/syscalls/vmsplice.S
rch-mips/syscalls/wait4.S
rch-mips/syscalls/write.S
rch-mips/syscalls/writev.S
rch-mips64/syscalls/__accept4.S
rch-mips64/syscalls/__brk.S
rch-mips64/syscalls/__connect.S
rch-mips64/syscalls/__epoll_pwait.S
rch-mips64/syscalls/__exit.S
rch-mips64/syscalls/__getcpu.S
rch-mips64/syscalls/__getcwd.S
rch-mips64/syscalls/__getdents64.S
rch-mips64/syscalls/__getpid.S
rch-mips64/syscalls/__getpriority.S
rch-mips64/syscalls/__ioctl.S
rch-mips64/syscalls/__openat.S
rch-mips64/syscalls/__ppoll.S
rch-mips64/syscalls/__pselect6.S
rch-mips64/syscalls/__ptrace.S
rch-mips64/syscalls/__reboot.S
rch-mips64/syscalls/__rt_sigaction.S
rch-mips64/syscalls/__rt_sigpending.S
rch-mips64/syscalls/__rt_sigprocmask.S
rch-mips64/syscalls/__rt_sigsuspend.S
rch-mips64/syscalls/__rt_sigtimedwait.S
rch-mips64/syscalls/__sched_getaffinity.S
rch-mips64/syscalls/__set_tid_address.S
rch-mips64/syscalls/__set_tls.S
rch-mips64/syscalls/__signalfd4.S
rch-mips64/syscalls/__socket.S
rch-mips64/syscalls/__timer_create.S
rch-mips64/syscalls/__timer_delete.S
rch-mips64/syscalls/__timer_getoverrun.S
rch-mips64/syscalls/__timer_gettime.S
rch-mips64/syscalls/__timer_settime.S
rch-mips64/syscalls/__waitid.S
rch-mips64/syscalls/_exit.S
rch-mips64/syscalls/_flush_cache.S
rch-mips64/syscalls/acct.S
rch-mips64/syscalls/bind.S
rch-mips64/syscalls/capget.S
rch-mips64/syscalls/capset.S
rch-mips64/syscalls/chdir.S
rch-mips64/syscalls/chroot.S
rch-mips64/syscalls/clock_getres.S
rch-mips64/syscalls/clock_gettime.S
rch-mips64/syscalls/clock_nanosleep.S
rch-mips64/syscalls/clock_settime.S
rch-mips64/syscalls/close.S
rch-mips64/syscalls/delete_module.S
rch-mips64/syscalls/dup.S
rch-mips64/syscalls/dup3.S
rch-mips64/syscalls/epoll_create1.S
rch-mips64/syscalls/epoll_ctl.S
rch-mips64/syscalls/eventfd.S
rch-mips64/syscalls/execve.S
rch-mips64/syscalls/faccessat.S
rch-mips64/syscalls/fallocate.S
rch-mips64/syscalls/fchdir.S
rch-mips64/syscalls/fchmod.S
rch-mips64/syscalls/fchmodat.S
rch-mips64/syscalls/fchown.S
rch-mips64/syscalls/fchownat.S
rch-mips64/syscalls/fcntl.S
rch-mips64/syscalls/fdatasync.S
rch-mips64/syscalls/fgetxattr.S
rch-mips64/syscalls/flistxattr.S
rch-mips64/syscalls/flock.S
rch-mips64/syscalls/fremovexattr.S
rch-mips64/syscalls/fsetxattr.S
rch-mips64/syscalls/fstat64.S
rch-mips64/syscalls/fstatat64.S
rch-mips64/syscalls/fstatfs64.S
rch-mips64/syscalls/fsync.S
rch-mips64/syscalls/ftruncate.S
rch-mips64/syscalls/getegid.S
rch-mips64/syscalls/geteuid.S
rch-mips64/syscalls/getgid.S
rch-mips64/syscalls/getgroups.S
rch-mips64/syscalls/getitimer.S
rch-mips64/syscalls/getpeername.S
rch-mips64/syscalls/getpgid.S
rch-mips64/syscalls/getppid.S
rch-mips64/syscalls/getresgid.S
rch-mips64/syscalls/getresuid.S
rch-mips64/syscalls/getrlimit.S
rch-mips64/syscalls/getrusage.S
rch-mips64/syscalls/getsid.S
rch-mips64/syscalls/getsockname.S
rch-mips64/syscalls/getsockopt.S
rch-mips64/syscalls/gettimeofday.S
rch-mips64/syscalls/getuid.S
rch-mips64/syscalls/getxattr.S
rch-mips64/syscalls/init_module.S
rch-mips64/syscalls/inotify_add_watch.S
rch-mips64/syscalls/inotify_init1.S
rch-mips64/syscalls/inotify_rm_watch.S
rch-mips64/syscalls/kill.S
rch-mips64/syscalls/klogctl.S
rch-mips64/syscalls/lgetxattr.S
rch-mips64/syscalls/linkat.S
rch-mips64/syscalls/listen.S
rch-mips64/syscalls/listxattr.S
rch-mips64/syscalls/llistxattr.S
rch-mips64/syscalls/lremovexattr.S
rch-mips64/syscalls/lseek.S
rch-mips64/syscalls/lsetxattr.S
rch-mips64/syscalls/madvise.S
rch-mips64/syscalls/mincore.S
rch-mips64/syscalls/mkdirat.S
rch-mips64/syscalls/mknodat.S
rch-mips64/syscalls/mlock.S
rch-mips64/syscalls/mlockall.S
rch-mips64/syscalls/mmap.S
rch-mips64/syscalls/mount.S
rch-mips64/syscalls/mprotect.S
rch-mips64/syscalls/mremap.S
rch-mips64/syscalls/msync.S
rch-mips64/syscalls/munlock.S
rch-mips64/syscalls/munlockall.S
rch-mips64/syscalls/munmap.S
rch-mips64/syscalls/nanosleep.S
rch-mips64/syscalls/personality.S
rch-mips64/syscalls/pipe2.S
rch-mips64/syscalls/prctl.S
rch-mips64/syscalls/pread64.S
rch-mips64/syscalls/prlimit64.S
rch-mips64/syscalls/pwrite64.S
rch-mips64/syscalls/read.S
rch-mips64/syscalls/readahead.S
rch-mips64/syscalls/readlinkat.S
rch-mips64/syscalls/readv.S
rch-mips64/syscalls/recvfrom.S
rch-mips64/syscalls/recvmmsg.S
rch-mips64/syscalls/recvmsg.S
rch-mips64/syscalls/removexattr.S
rch-mips64/syscalls/renameat.S
rch-mips64/syscalls/sched_get_priority_max.S
rch-mips64/syscalls/sched_get_priority_min.S
rch-mips64/syscalls/sched_getparam.S
rch-mips64/syscalls/sched_getscheduler.S
rch-mips64/syscalls/sched_rr_get_interval.S
rch-mips64/syscalls/sched_setaffinity.S
rch-mips64/syscalls/sched_setparam.S
rch-mips64/syscalls/sched_setscheduler.S
rch-mips64/syscalls/sched_yield.S
rch-mips64/syscalls/sendfile.S
rch-mips64/syscalls/sendmmsg.S
rch-mips64/syscalls/sendmsg.S
rch-mips64/syscalls/sendto.S
rch-mips64/syscalls/setfsgid.S
rch-mips64/syscalls/setfsuid.S
rch-mips64/syscalls/setgid.S
rch-mips64/syscalls/setgroups.S
rch-mips64/syscalls/setitimer.S
rch-mips64/syscalls/setns.S
rch-mips64/syscalls/setpgid.S
rch-mips64/syscalls/setpriority.S
rch-mips64/syscalls/setregid.S
rch-mips64/syscalls/setresgid.S
rch-mips64/syscalls/setresuid.S
rch-mips64/syscalls/setreuid.S
rch-mips64/syscalls/setrlimit.S
rch-mips64/syscalls/setsid.S
rch-mips64/syscalls/setsockopt.S
rch-mips64/syscalls/settimeofday.S
rch-mips64/syscalls/setuid.S
rch-mips64/syscalls/setxattr.S
rch-mips64/syscalls/shutdown.S
rch-mips64/syscalls/sigaltstack.S
rch-mips64/syscalls/socketpair.S
rch-mips64/syscalls/splice.S
rch-mips64/syscalls/statfs64.S
rch-mips64/syscalls/swapoff.S
rch-mips64/syscalls/swapon.S
rch-mips64/syscalls/symlinkat.S
rch-mips64/syscalls/sync.S
rch-mips64/syscalls/sysinfo.S
rch-mips64/syscalls/tee.S
rch-mips64/syscalls/tgkill.S
rch-mips64/syscalls/timerfd_create.S
rch-mips64/syscalls/timerfd_gettime.S
rch-mips64/syscalls/timerfd_settime.S
rch-mips64/syscalls/times.S
rch-mips64/syscalls/truncate.S
rch-mips64/syscalls/umask.S
rch-mips64/syscalls/umount2.S
rch-mips64/syscalls/uname.S
rch-mips64/syscalls/unlinkat.S
rch-mips64/syscalls/unshare.S
rch-mips64/syscalls/utimensat.S
rch-mips64/syscalls/vmsplice.S
rch-mips64/syscalls/wait4.S
rch-mips64/syscalls/write.S
rch-mips64/syscalls/writev.S
rch-x86/syscalls/__accept4.S
rch-x86/syscalls/__brk.S
rch-x86/syscalls/__connect.S
rch-x86/syscalls/__epoll_pwait.S
rch-x86/syscalls/__exit.S
rch-x86/syscalls/__fcntl64.S
rch-x86/syscalls/__fstatfs64.S
rch-x86/syscalls/__getcpu.S
rch-x86/syscalls/__getcwd.S
rch-x86/syscalls/__getdents64.S
rch-x86/syscalls/__getpid.S
rch-x86/syscalls/__getpriority.S
rch-x86/syscalls/__ioctl.S
rch-x86/syscalls/__llseek.S
rch-x86/syscalls/__mmap2.S
rch-x86/syscalls/__openat.S
rch-x86/syscalls/__ppoll.S
rch-x86/syscalls/__pselect6.S
rch-x86/syscalls/__ptrace.S
rch-x86/syscalls/__reboot.S
rch-x86/syscalls/__rt_sigaction.S
rch-x86/syscalls/__rt_sigpending.S
rch-x86/syscalls/__rt_sigprocmask.S
rch-x86/syscalls/__rt_sigsuspend.S
rch-x86/syscalls/__rt_sigtimedwait.S
rch-x86/syscalls/__sched_getaffinity.S
rch-x86/syscalls/__set_thread_area.S
rch-x86/syscalls/__set_tid_address.S
rch-x86/syscalls/__sigaction.S
rch-x86/syscalls/__signalfd4.S
rch-x86/syscalls/__socket.S
rch-x86/syscalls/__statfs64.S
rch-x86/syscalls/__timer_create.S
rch-x86/syscalls/__timer_delete.S
rch-x86/syscalls/__timer_getoverrun.S
rch-x86/syscalls/__timer_gettime.S
rch-x86/syscalls/__timer_settime.S
rch-x86/syscalls/__waitid.S
rch-x86/syscalls/_exit.S
rch-x86/syscalls/acct.S
rch-x86/syscalls/bind.S
rch-x86/syscalls/capget.S
rch-x86/syscalls/capset.S
rch-x86/syscalls/chdir.S
rch-x86/syscalls/chroot.S
rch-x86/syscalls/clock_getres.S
rch-x86/syscalls/clock_gettime.S
rch-x86/syscalls/clock_nanosleep.S
rch-x86/syscalls/clock_settime.S
rch-x86/syscalls/close.S
rch-x86/syscalls/delete_module.S
rch-x86/syscalls/dup.S
rch-x86/syscalls/dup3.S
rch-x86/syscalls/epoll_create1.S
rch-x86/syscalls/epoll_ctl.S
rch-x86/syscalls/eventfd.S
rch-x86/syscalls/execve.S
rch-x86/syscalls/faccessat.S
rch-x86/syscalls/fallocate64.S
rch-x86/syscalls/fchdir.S
rch-x86/syscalls/fchmod.S
rch-x86/syscalls/fchmodat.S
rch-x86/syscalls/fchown.S
rch-x86/syscalls/fchownat.S
rch-x86/syscalls/fdatasync.S
rch-x86/syscalls/fgetxattr.S
rch-x86/syscalls/flistxattr.S
rch-x86/syscalls/flock.S
rch-x86/syscalls/fremovexattr.S
rch-x86/syscalls/fsetxattr.S
rch-x86/syscalls/fstat64.S
rch-x86/syscalls/fstatat64.S
rch-x86/syscalls/fsync.S
rch-x86/syscalls/ftruncate.S
rch-x86/syscalls/ftruncate64.S
rch-x86/syscalls/getegid.S
rch-x86/syscalls/geteuid.S
rch-x86/syscalls/getgid.S
rch-x86/syscalls/getgroups.S
rch-x86/syscalls/getitimer.S
rch-x86/syscalls/getpeername.S
rch-x86/syscalls/getpgid.S
rch-x86/syscalls/getppid.S
rch-x86/syscalls/getresgid.S
rch-x86/syscalls/getresuid.S
rch-x86/syscalls/getrlimit.S
rch-x86/syscalls/getrusage.S
rch-x86/syscalls/getsid.S
rch-x86/syscalls/getsockname.S
rch-x86/syscalls/getsockopt.S
rch-x86/syscalls/gettimeofday.S
rch-x86/syscalls/getuid.S
rch-x86/syscalls/getxattr.S
rch-x86/syscalls/init_module.S
rch-x86/syscalls/inotify_add_watch.S
rch-x86/syscalls/inotify_init1.S
rch-x86/syscalls/inotify_rm_watch.S
rch-x86/syscalls/kill.S
rch-x86/syscalls/klogctl.S
rch-x86/syscalls/lgetxattr.S
rch-x86/syscalls/linkat.S
rch-x86/syscalls/listen.S
rch-x86/syscalls/listxattr.S
rch-x86/syscalls/llistxattr.S
rch-x86/syscalls/lremovexattr.S
rch-x86/syscalls/lseek.S
rch-x86/syscalls/lsetxattr.S
rch-x86/syscalls/madvise.S
rch-x86/syscalls/mincore.S
rch-x86/syscalls/mkdirat.S
rch-x86/syscalls/mknodat.S
rch-x86/syscalls/mlock.S
rch-x86/syscalls/mlockall.S
rch-x86/syscalls/mount.S
rch-x86/syscalls/mprotect.S
rch-x86/syscalls/mremap.S
rch-x86/syscalls/msync.S
rch-x86/syscalls/munlock.S
rch-x86/syscalls/munlockall.S
rch-x86/syscalls/munmap.S
rch-x86/syscalls/nanosleep.S
rch-x86/syscalls/personality.S
rch-x86/syscalls/pipe2.S
rch-x86/syscalls/prctl.S
rch-x86/syscalls/pread64.S
rch-x86/syscalls/prlimit64.S
rch-x86/syscalls/pwrite64.S
rch-x86/syscalls/read.S
rch-x86/syscalls/readahead.S
rch-x86/syscalls/readlinkat.S
rch-x86/syscalls/readv.S
rch-x86/syscalls/recvfrom.S
rch-x86/syscalls/recvmmsg.S
rch-x86/syscalls/recvmsg.S
rch-x86/syscalls/removexattr.S
rch-x86/syscalls/renameat.S
rch-x86/syscalls/sched_get_priority_max.S
rch-x86/syscalls/sched_get_priority_min.S
rch-x86/syscalls/sched_getparam.S
rch-x86/syscalls/sched_getscheduler.S
rch-x86/syscalls/sched_rr_get_interval.S
rch-x86/syscalls/sched_setaffinity.S
rch-x86/syscalls/sched_setparam.S
rch-x86/syscalls/sched_setscheduler.S
rch-x86/syscalls/sched_yield.S
rch-x86/syscalls/sendfile.S
rch-x86/syscalls/sendfile64.S
rch-x86/syscalls/sendmmsg.S
rch-x86/syscalls/sendmsg.S
rch-x86/syscalls/sendto.S
rch-x86/syscalls/setfsgid.S
rch-x86/syscalls/setfsuid.S
rch-x86/syscalls/setgid.S
rch-x86/syscalls/setgroups.S
rch-x86/syscalls/setitimer.S
rch-x86/syscalls/setns.S
rch-x86/syscalls/setpgid.S
rch-x86/syscalls/setpriority.S
rch-x86/syscalls/setregid.S
rch-x86/syscalls/setresgid.S
rch-x86/syscalls/setresuid.S
rch-x86/syscalls/setreuid.S
rch-x86/syscalls/setrlimit.S
rch-x86/syscalls/setsid.S
rch-x86/syscalls/setsockopt.S
rch-x86/syscalls/settimeofday.S
rch-x86/syscalls/setuid.S
rch-x86/syscalls/setxattr.S
rch-x86/syscalls/shutdown.S
rch-x86/syscalls/sigaltstack.S
rch-x86/syscalls/socketpair.S
rch-x86/syscalls/splice.S
rch-x86/syscalls/swapoff.S
rch-x86/syscalls/swapon.S
rch-x86/syscalls/symlinkat.S
rch-x86/syscalls/sync.S
rch-x86/syscalls/sysinfo.S
rch-x86/syscalls/tee.S
rch-x86/syscalls/tgkill.S
rch-x86/syscalls/timerfd_create.S
rch-x86/syscalls/timerfd_gettime.S
rch-x86/syscalls/timerfd_settime.S
rch-x86/syscalls/times.S
rch-x86/syscalls/truncate.S
rch-x86/syscalls/truncate64.S
rch-x86/syscalls/umask.S
rch-x86/syscalls/umount2.S
rch-x86/syscalls/uname.S
rch-x86/syscalls/unlinkat.S
rch-x86/syscalls/unshare.S
rch-x86/syscalls/utimensat.S
rch-x86/syscalls/vmsplice.S
rch-x86/syscalls/wait4.S
rch-x86/syscalls/write.S
rch-x86/syscalls/writev.S
rch-x86_64/syscalls/__accept4.S
rch-x86_64/syscalls/__arch_prctl.S
rch-x86_64/syscalls/__brk.S
rch-x86_64/syscalls/__clock_gettime.S
rch-x86_64/syscalls/__connect.S
rch-x86_64/syscalls/__epoll_pwait.S
rch-x86_64/syscalls/__exit.S
rch-x86_64/syscalls/__getcpu.S
rch-x86_64/syscalls/__getcwd.S
rch-x86_64/syscalls/__getdents64.S
rch-x86_64/syscalls/__getpid.S
rch-x86_64/syscalls/__getpriority.S
rch-x86_64/syscalls/__gettimeofday.S
rch-x86_64/syscalls/__ioctl.S
rch-x86_64/syscalls/__openat.S
rch-x86_64/syscalls/__ppoll.S
rch-x86_64/syscalls/__pselect6.S
rch-x86_64/syscalls/__ptrace.S
rch-x86_64/syscalls/__reboot.S
rch-x86_64/syscalls/__rt_sigaction.S
rch-x86_64/syscalls/__rt_sigpending.S
rch-x86_64/syscalls/__rt_sigprocmask.S
rch-x86_64/syscalls/__rt_sigsuspend.S
rch-x86_64/syscalls/__rt_sigtimedwait.S
rch-x86_64/syscalls/__sched_getaffinity.S
rch-x86_64/syscalls/__set_tid_address.S
rch-x86_64/syscalls/__signalfd4.S
rch-x86_64/syscalls/__socket.S
rch-x86_64/syscalls/__timer_create.S
rch-x86_64/syscalls/__timer_delete.S
rch-x86_64/syscalls/__timer_getoverrun.S
rch-x86_64/syscalls/__timer_gettime.S
rch-x86_64/syscalls/__timer_settime.S
rch-x86_64/syscalls/__waitid.S
rch-x86_64/syscalls/_exit.S
rch-x86_64/syscalls/acct.S
rch-x86_64/syscalls/bind.S
rch-x86_64/syscalls/capget.S
rch-x86_64/syscalls/capset.S
rch-x86_64/syscalls/chdir.S
rch-x86_64/syscalls/chroot.S
rch-x86_64/syscalls/clock_getres.S
rch-x86_64/syscalls/clock_nanosleep.S
rch-x86_64/syscalls/clock_settime.S
rch-x86_64/syscalls/close.S
rch-x86_64/syscalls/delete_module.S
rch-x86_64/syscalls/dup.S
rch-x86_64/syscalls/dup3.S
rch-x86_64/syscalls/epoll_create1.S
rch-x86_64/syscalls/epoll_ctl.S
rch-x86_64/syscalls/eventfd.S
rch-x86_64/syscalls/execve.S
rch-x86_64/syscalls/faccessat.S
rch-x86_64/syscalls/fallocate.S
rch-x86_64/syscalls/fchdir.S
rch-x86_64/syscalls/fchmod.S
rch-x86_64/syscalls/fchmodat.S
rch-x86_64/syscalls/fchown.S
rch-x86_64/syscalls/fchownat.S
rch-x86_64/syscalls/fcntl.S
rch-x86_64/syscalls/fdatasync.S
rch-x86_64/syscalls/fgetxattr.S
rch-x86_64/syscalls/flistxattr.S
rch-x86_64/syscalls/flock.S
rch-x86_64/syscalls/fremovexattr.S
rch-x86_64/syscalls/fsetxattr.S
rch-x86_64/syscalls/fstat64.S
rch-x86_64/syscalls/fstatat64.S
rch-x86_64/syscalls/fstatfs64.S
rch-x86_64/syscalls/fsync.S
rch-x86_64/syscalls/ftruncate.S
rch-x86_64/syscalls/getegid.S
rch-x86_64/syscalls/geteuid.S
rch-x86_64/syscalls/getgid.S
rch-x86_64/syscalls/getgroups.S
rch-x86_64/syscalls/getitimer.S
rch-x86_64/syscalls/getpeername.S
rch-x86_64/syscalls/getpgid.S
rch-x86_64/syscalls/getppid.S
rch-x86_64/syscalls/getresgid.S
rch-x86_64/syscalls/getresuid.S
rch-x86_64/syscalls/getrlimit.S
rch-x86_64/syscalls/getrusage.S
rch-x86_64/syscalls/getsid.S
rch-x86_64/syscalls/getsockname.S
rch-x86_64/syscalls/getsockopt.S
rch-x86_64/syscalls/getuid.S
rch-x86_64/syscalls/getxattr.S
rch-x86_64/syscalls/init_module.S
rch-x86_64/syscalls/inotify_add_watch.S
rch-x86_64/syscalls/inotify_init1.S
rch-x86_64/syscalls/inotify_rm_watch.S
rch-x86_64/syscalls/kill.S
rch-x86_64/syscalls/klogctl.S
rch-x86_64/syscalls/lgetxattr.S
rch-x86_64/syscalls/linkat.S
rch-x86_64/syscalls/listen.S
rch-x86_64/syscalls/listxattr.S
rch-x86_64/syscalls/llistxattr.S
rch-x86_64/syscalls/lremovexattr.S
rch-x86_64/syscalls/lseek.S
rch-x86_64/syscalls/lsetxattr.S
rch-x86_64/syscalls/madvise.S
rch-x86_64/syscalls/mincore.S
rch-x86_64/syscalls/mkdirat.S
rch-x86_64/syscalls/mknodat.S
rch-x86_64/syscalls/mlock.S
rch-x86_64/syscalls/mlockall.S
rch-x86_64/syscalls/mmap.S
rch-x86_64/syscalls/mount.S
rch-x86_64/syscalls/mprotect.S
rch-x86_64/syscalls/mremap.S
rch-x86_64/syscalls/msync.S
rch-x86_64/syscalls/munlock.S
rch-x86_64/syscalls/munlockall.S
rch-x86_64/syscalls/munmap.S
rch-x86_64/syscalls/nanosleep.S
rch-x86_64/syscalls/personality.S
rch-x86_64/syscalls/pipe2.S
rch-x86_64/syscalls/prctl.S
rch-x86_64/syscalls/pread64.S
rch-x86_64/syscalls/prlimit64.S
rch-x86_64/syscalls/pwrite64.S
rch-x86_64/syscalls/read.S
rch-x86_64/syscalls/readahead.S
rch-x86_64/syscalls/readlinkat.S
rch-x86_64/syscalls/readv.S
rch-x86_64/syscalls/recvfrom.S
rch-x86_64/syscalls/recvmmsg.S
rch-x86_64/syscalls/recvmsg.S
rch-x86_64/syscalls/removexattr.S
rch-x86_64/syscalls/renameat.S
rch-x86_64/syscalls/sched_get_priority_max.S
rch-x86_64/syscalls/sched_get_priority_min.S
rch-x86_64/syscalls/sched_getparam.S
rch-x86_64/syscalls/sched_getscheduler.S
rch-x86_64/syscalls/sched_rr_get_interval.S
rch-x86_64/syscalls/sched_setaffinity.S
rch-x86_64/syscalls/sched_setparam.S
rch-x86_64/syscalls/sched_setscheduler.S
rch-x86_64/syscalls/sched_yield.S
rch-x86_64/syscalls/sendfile.S
rch-x86_64/syscalls/sendmmsg.S
rch-x86_64/syscalls/sendmsg.S
rch-x86_64/syscalls/sendto.S
rch-x86_64/syscalls/setfsgid.S
rch-x86_64/syscalls/setfsuid.S
rch-x86_64/syscalls/setgid.S
rch-x86_64/syscalls/setgroups.S
rch-x86_64/syscalls/setitimer.S
rch-x86_64/syscalls/setns.S
rch-x86_64/syscalls/setpgid.S
rch-x86_64/syscalls/setpriority.S
rch-x86_64/syscalls/setregid.S
rch-x86_64/syscalls/setresgid.S
rch-x86_64/syscalls/setresuid.S
rch-x86_64/syscalls/setreuid.S
rch-x86_64/syscalls/setrlimit.S
rch-x86_64/syscalls/setsid.S
rch-x86_64/syscalls/setsockopt.S
rch-x86_64/syscalls/settimeofday.S
rch-x86_64/syscalls/setuid.S
rch-x86_64/syscalls/setxattr.S
rch-x86_64/syscalls/shutdown.S
rch-x86_64/syscalls/sigaltstack.S
rch-x86_64/syscalls/socketpair.S
rch-x86_64/syscalls/splice.S
rch-x86_64/syscalls/statfs64.S
rch-x86_64/syscalls/swapoff.S
rch-x86_64/syscalls/swapon.S
rch-x86_64/syscalls/symlinkat.S
rch-x86_64/syscalls/sync.S
rch-x86_64/syscalls/sysinfo.S
rch-x86_64/syscalls/tee.S
rch-x86_64/syscalls/tgkill.S
rch-x86_64/syscalls/timerfd_create.S
rch-x86_64/syscalls/timerfd_gettime.S
rch-x86_64/syscalls/timerfd_settime.S
rch-x86_64/syscalls/times.S
rch-x86_64/syscalls/truncate.S
rch-x86_64/syscalls/umask.S
rch-x86_64/syscalls/umount2.S
rch-x86_64/syscalls/uname.S
rch-x86_64/syscalls/unlinkat.S
rch-x86_64/syscalls/unshare.S
rch-x86_64/syscalls/utimensat.S
rch-x86_64/syscalls/vmsplice.S
rch-x86_64/syscalls/wait4.S
rch-x86_64/syscalls/write.S
rch-x86_64/syscalls/writev.S
ools/gensyscalls.py
49de01a5be7bfb07baaea7415647d838383e1b59 08-Aug-2014 Christopher Ferris <cferris@google.com> Add a way to disable backtracing in malloc debug.

The property libc.debug.malloc.nobacktrace set to non-zero disables
getting backtracing when using mode 1 or mode 10.

Bug: 16874447

Change-Id: I7650ba9f4385b5110b743cab01e877fc69545b3c
ionic/malloc_debug_backtrace.h
ionic/malloc_debug_check.cpp
ionic/malloc_debug_leak.cpp
43227c0b400a33dc9722269beda26313c391fb1e 07-Aug-2014 Elliott Hughes <enh@google.com> Android is all-PIC/PIE.

Clean up the x86/x86_64 assembler. The motivator (other than reducing
confusion) was that asm.h incorrectly checked PIC rather than __PIC__.

Bug: 16823325

(cherry picked from commit 6b6364a7fc7c3ba37ee907776a29bdc8c9793db9)

Change-Id: I89ca57fa0eb34a36de6cb11ea85f71054fce709d
rch-x86/bionic/__stack_chk_fail_local.h
rch-x86/bionic/setjmp.S
rch-x86/bionic/sigsetjmp.S
rch-x86/include/machine/asm.h
rch-x86_64/bionic/setjmp.S
rch-x86_64/bionic/sigsetjmp.S
rch-x86_64/include/machine/asm.h
3e7b8e2a8bd16a37cecdae1135a5e7fc6e64c762 07-Aug-2014 Christopher Ferris <cferris@google.com> Merge "Do a second key cleanup in pthread_exit." into lmp-dev
18d93f2793fad393b6aa6eae6afe1054958339d5 06-Aug-2014 Christopher Ferris <cferris@google.com> Do a second key cleanup in pthread_exit.

During pthread_exit, the keys are cleaned. Unfortunately, a call to
free occurs after the cleanup and the memory for some of the keys
is recreated when using jemalloc. The solution is to do the key
cleanup twice.

Also, modify the pthread_detach__leak test to be less flaky
when run on a jemalloc system.

Bug: 16513133
Change-Id: Ic17e8344bdc1ba053c4f5b6d827a4c19c57860c1
ionic/pthread_exit.cpp
501eb513ae4f037dc5ef5db530886c05b7f5d964 07-Aug-2014 Elliott Hughes <enh@google.com> Merge "Upgrade bionic to tzdata2014f." into lmp-dev
6edf8985c1fe205d13543212fba0e079ed7dc4a9 07-Aug-2014 Elliott Hughes <enh@google.com> Merge "Fix the tzdata update tools." into lmp-dev
90cb5ffb85a9bc2e725824b3ca8db932d02c45db 07-Aug-2014 Elliott Hughes <enh@google.com> Fix the tzdata update tools.

The recent libcore ZoneInfo changes mean that we can no longer
compile libcore's ZoneInfo against the RI. Luckily, the field in
our data file that we needed ZoneInfo for isn't actually used.
This change removes our dependence on libcore.

I've left the field in to avoid a file format change. We can remove
the field if/when we next have a real need to bump the file format.

Bug: 16168653
Change-Id: Iedad2252c2b49f4d8bb2c7d9078b39b622444ca7
ools/zoneinfo/ZoneCompactor.java
ools/zoneinfo/update-tzdata.py
zcode/localtime.c
0dc2c1db6fc84b4526f2a5f8d73e1187500f2300 07-Aug-2014 Elliott Hughes <enh@google.com> Upgrade bionic to tzdata2014f.

From the release notes:

Changes affecting future time stamps

Russia will subtract an hour from most of its time zones on
2014-10-26 at 02:00 local time. (Thanks to Alexander Krivenyshev.)
There are a few exceptions: Magadan Oblast (Asia/Magadan) and
Zabaykalsky Krai are subtracting two hours; conversely, Chukotka
Autonomous Okrug (Asia/Anadyr), Kamchatka Krai (Asia/Kamchatka),
Kemerovo Oblast (Asia/Novokuznetsk), and the Samara Oblast and the
Udmurt Republic (Europe/Samara) are not changing their clocks. The
changed zones are Europe/Kaliningrad, Europe/Moscow,
Europe/Simferopol, Europe/Volgograd, Asia/Yekaterinburg, Asia/Omsk,
Asia/Novosibirsk, Asia/Krasnoyarsk, Asia/Irkutsk, Asia/Yakutsk,
Asia/Vladivostok, Asia/Khandyga, Asia/Sakhalin, and Asia/Ust-Nera;
Asia/Magadan will have two hours subtracted; and Asia/Novokuznetsk's
time zone abbreviation is affected, but not its UTC offset. Two
zones are added: Asia/Chita (split from Asia/Yakutsk, and also with
two hours subtracted) and Asia/Srednekolymsk (split from
Asia/Magadan, but with only one hour subtracted). (Thanks to Tim
Parenti for much of the above.)

Changes affecting past time stamps

China's five zones have been simplified to two, since the post-1970
differences in the other three seem to have been imaginary. The
zones Asia/Harbin, Asia/Chongqing, and Asia/Kashgar have been
removed; backwards-compatibility links still work, albeit with
different behaviors for time stamps before May 1980. Asia/Urumqi's
1980 transition to UTC+8 has been removed, so that it is now at
UTC+6 and not UTC+8. (Thanks to Luther Ma and to Alois Treindl;
Treindl sent helpful translations of two papers by Guo Qingsheng.)

Some zones have been turned into links, when they differed from
existing zones only for older UTC offsets where the data were likely
invented. These changes affect UTC offsets in pre-1970 time stamps
only. This is similar to the change in release 2013e, except this
time for western Africa. The affected zones are: Africa/Bamako,
Africa/Banjul, Africa/Conakry, Africa/Dakar, Africa/Freetown,
Africa/Lome, Africa/Nouakchott, Africa/Ouagadougou, Africa/Sao_Tome,
and Atlantic/St_Helena. This also affects the
backwards-compatibility link Africa/Timbuktu. (Thanks to Alan
Barrett, Stephen Colebourne, Tim Parenti, and David Patte for
reporting problems in earlier versions of this change.)

Asia/Shanghai's pre-standard-time UT offset has been changed from
8:05:57 to 8:05:43, the location of Xujiahui Observatory. Its
transition to standard time has been changed from 1928 to 1901.

Asia/Taipei switched to JWST on 1896-01-01, then to JST on
1937-10-01, then to CST on 1945-09-21 at 01:00, and did not observe
DST in 1945. In 1946 it observed DST from 05-15 through 09-30; in
1947 from 04-15 through 10-31; and in 1979 from 07-01 through 09-30.
(Thanks to Yu-Cheng Chuang.)

Asia/Riyadh's transition to standard time is now 1947-03-14, not
1950.

Europe/Helsinki's 1942 fall-back transition was 10-04 at 01:00, not
10-03 at 00:00. (Thanks to Konstantin Hyppönen.)

Pacific/Pago_Pago has been changed from UTC-11:30 to UTC-11 for the
period from 1911 to 1950.

Pacific/Chatham has been changed to New Zealand standard time plus
45 minutes for the period before 1957, reflecting a 1956 remark in
the New Zealand parliament.

Europe/Budapest has several pre-1946 corrections: in 1918 the
transition out of DST was on 09-16, not 09-29; in 1919 it was on
11-24, not 09-15; in 1945 it was on 11-01, not 11-03; in 1941 the
transition to DST was 04-08 not 04-06 at 02:00; and there was no DST
in 1920.

Africa/Accra is now assumed to have observed DST from 1920 through
1935.

Time in Russia before 1927 or so has been corrected by a few seconds
in the following zones: Europe/Moscow, Asia/Irkutsk, Asia/Tbilisi,
Asia/Tashkent, Asia/Vladivostok, Asia/Yekaterinburg,
Europe/Helsinki, and Europe/Riga. Also, Moscow's location has been
changed to its Kilometer 0 point. (Thanks to Vladimir Karpinsky for
the Moscow changes.)

Bug: 16168653
Change-Id: I23827254bcf50dd07a2192ed34b02224d73e07a0
oneinfo/tzdata
bc0d65c114f3ead6d89f8e92622bc941d731b01c 06-Aug-2014 Dan Albert <danalbert@google.com> Merge "Proper MB_CUR_MAX." into lmp-dev
6035e6cc8317600c3100fdf1070890c3e42715a7 30-Jul-2014 Dan Albert <danalbert@google.com> Proper MB_CUR_MAX.

Previously this was hard coded to 4. This is only the case for UTF-8
locales.

As a side effect, this properly reports C.UTF-8 as the default locale
instead of C.

Change-Id: I7c73cc8fe6ffac61d211cd5f75287e36de06f4fc
(cherry picked from commit 1aec7c1a35b2d03038b194967d5ebdc8e2c24b80)
ionic/locale.cpp
nclude/stdlib.h
5b39a44575e01ecf65397ffb7518efc3c65a6d8b 06-Aug-2014 Dan Albert <danalbert@google.com> Merge "Fix mbsrtowcs(3) src param for finished string." into lmp-dev
938a8008a61ecb6e975aa974dbf30ea7e1f298e2 31-Jul-2014 Dan Albert <danalbert@google.com> Fix mbsrtowcs(3) src param for finished string.

A mistake I made while cleaning this up the first time through.
mbstrtowcs(3) sets the src param to null if it finishes the string.

Change-Id: I6263646e25d9537043b7025fd1dd6ae195f365e2
(cherry picked from commit b6cc8e00cd562bd0f81fe44a6bc646540a862f32)
ionic/wchar.cpp
40079b003168b39dab91e106c7a877b677e64ef1 05-Aug-2014 Dan Albert <danalbert@google.com> Fixes build.

This change somehow went missing from the vfork change.

Change-Id: I807a2072080eac20601c694e85ba5723220289d8
(cherry picked from commit 9eae8405e8f70e489f2fe350a0212ab8114cbd17)
ndroid.mk
5386a741e77bfff4e72ca6861fdd3fe2208452ce 05-Aug-2014 Dan Albert <danalbert@google.com> Revert "Replaces vfork() implementation with fork()"

We're getting cold feet on this one... let's put it back.

This reverts commit 210331d9762037afb9b5ed8413079c6f65872df9.

Change-Id: I6b0d3c2b1dbf7f1dc9566979a91b7504c2189269
(cherry picked from commit 6a918870bab1a55a5f57dd7954abd9a8a27c1bc2)
YSCALLS.TXT
rch-arm/syscalls/vfork.S
rch-arm64/arm64.mk
rch-arm64/bionic/vfork.S
rch-mips/bionic/vfork.S
rch-mips/mips.mk
rch-mips64/bionic/vfork.S
rch-mips64/mips64.mk
rch-x86/bionic/vfork.S
rch-x86/x86.mk
rch-x86_64/bionic/vfork.S
rch-x86_64/x86_64.mk
ionic/vfork.cpp
00a8344ae82a691209b665adae828a5abe570cfb 06-Aug-2014 Elliott Hughes <enh@google.com> Merge "Workaround b/16818336 which fails build under aggressive inlining." into lmp-dev
7aa27e1c1a53afe28f6180fd1fc50d096cabea7b 06-Aug-2014 Dehao Chen <dehao@google.com> Workaround b/16818336 which fails build under aggressive inlining.

Change-Id: Ifcd596714c427a2ec39502b9c0af9082ded91884
nclude/string.h
7a5f0952a293fd6e511db0e0a72e18f20bb4c500 06-Aug-2014 Paul Jensen <pauljensen@google.com> Merge "Revert most of "Cleanup: Delete dead code."" into lmp-dev
59b0933e6d4cd9671ad3b6baeae424bc72c8ece0 06-Aug-2014 Elliott Hughes <enh@google.com> Explain how wcswcs ended up in ndk_cruft.cpp.

(cherry picked from commit 1628eb1d43008c52b00ec98d10c4fd9e8b6fc7c5)

Change-Id: I335b35038781d0426b3647727e6c4f22c83e187b
ionic/ndk_cruft.cpp
1544eae56e2713a199e085438809078ebad8e7d1 06-Aug-2014 Paul Jensen <pauljensen@google.com> Revert most of "Cleanup: Delete dead code."

This reverts most of commit 2582f02a01cd56c56a4e6c9de4444a6ec937cc37.
The DNS cache flushing code needs to be called when routes change.

Change-Id: I5b04121bc428cc6a2e136b6c3269c395bfb4981f
bug:16549455
ns/include/resolv_netid.h
ns/resolv/res_cache.c
61833de613990f2fdaf357bb3d854d72a4980890 31-Jul-2014 Christopher Ferris <cferris@google.com> Fix memchr with a zero length.

The memchr implementation for 64 bit fails if these conditions occur:

- The buffer is 32 byte aligned.
- The buffer contains the character in the first byte.
- The count sent in is zero.

The function should return NULL, but it's not.

Bug: 16676625

(cherry picked from commit e03e1eac0b7682884b6628df1305d34299680cb4)

Change-Id: Ie4cca2c445127a0936ee2b96651a8e7204fbaffd
rch-arm64/generic/bionic/memchr.S
4f76469e88e255bab1f8264e9ff8b95bff84365f 31-Jul-2014 Elliott Hughes <enh@google.com> Implement <sys/fsuid.h>.

(cherry picked from commit 79310994d2b3826a10598f7e7795acb5edb42a20)

Change-Id: I47688273691e5c95e5e9302eba254ccaaaad40ca
YSCALLS.TXT
rch-arm/syscalls/setfsgid.S
rch-arm/syscalls/setfsuid.S
rch-arm64/syscalls/setfsgid.S
rch-arm64/syscalls/setfsuid.S
rch-mips/syscalls/setfsgid.S
rch-mips/syscalls/setfsuid.S
rch-mips64/syscalls/setfsgid.S
rch-mips64/syscalls/setfsuid.S
rch-x86/syscalls/setfsgid.S
rch-x86/syscalls/setfsuid.S
rch-x86_64/syscalls/setfsgid.S
rch-x86_64/syscalls/setfsuid.S
nclude/sys/fsuid.h
cd54195262ac5531fff892255849925ebbbd303e 11-Jul-2014 Duane Sand <duane.sand@imgtec.com> [MIPSR6] Use C-coded string ops on mips32r6/mips64r6

The existing assembler code uses deprecated lwl/lwr/swl/swr ops.
Replacing those with misalignment-forgiving lw/sw ops may
involve careful performance tuning.

(cherry picked from commit bc5a3ec6df66d2456667ddf1d6dfaf623552169d)

Change-Id: I35167da27f2d406339b7f24b4a1fb270c87bc12e
rch-mips/mips.mk
11bf8a3025a7b5aee891c521255a7db1860e5b12 30-Jul-2014 Elliott Hughes <enh@google.com> Only wipe TLS for user-supplied stacks.

Bug: 16667988

(cherry picked from commit 40a521744825b6060960c296d5fb3da4c6593d94)

Change-Id: I7550fa47b76e643323aa3e2a53529e393c829e47
ionic/pthread_create.cpp
ionic/pthread_exit.cpp
ionic/pthread_internal.h
c701e5b3357b6484572d46f29c5d1e51063dfcbb 25-Jul-2014 Christopher Ferris <cferris@google.com> Use libunwindbacktrace for debug malloc code.

Create a method of disabling the debug allocation code paths so that
it's possible to use the libunwindbacktrace library without any
modifications.

Use this path to create and destroy the maps for the process. It's not
stricly necessary in the init code since the symbols are not modified
until after the initialize calls.

Also, remove the debug_XXX source files that doesn't need to be in libc.so.

Fix the maps reading code since it was completely broken for 64 bit.

Bug: 16408686

(cherry picked from commit 861c0ef37bcfcae56d88572cb01c18bcfe1faded)

Change-Id: I04445f0cf9a1e85172b64d57df92eb7939ce2332
ndroid.mk
ionic/debug_mapinfo.cpp
ionic/debug_mapinfo.h
ionic/debug_stacktrace.cpp
ionic/malloc_debug_check.cpp
ionic/malloc_debug_disable.h
ionic/malloc_debug_leak.cpp
1242f7eb67c678922b55e2077d9cf2d5cdc85b15 30-Jul-2014 Elliott Hughes <enh@google.com> Remove declarations for things that don't exist.

The <grp.h> ones prevent gdb from building out of the box.

(cherry picked from commit f4c1a36a4500bc7f12e3065be3da4e8669ee011d)

Change-Id: I6958f2f1731de8c03df20b383decd414b78100aa
nclude/grp.h
nclude/stdio.h
nclude/stdlib.h
nclude/unistd.h
f6aa17798c5b0015d002b982c3684595b817d2d0 30-Jul-2014 Elliott Hughes <enh@google.com> Merge "Revert "Added a bionic systrace class and tracing to pthread_mutex.cpp."" into lmp-dev
26c1420fbb68916d66a8621b5efe8bb25cfdad7b 30-Jul-2014 Elliott Hughes <enh@google.com> Revert "Added a bionic systrace class and tracing to pthread_mutex.cpp."

This reverts commit a09fe118b1a5eb876ddaa2620965c4a8fb8b007c.

Change-Id: Ia2eb07b57a25dc2ac76fecc0925efb2bed998156
ndroid.mk
ionic/bionic_systrace.cpp
ionic/pthread_mutex.cpp
rivate/bionic_systrace.h
7149362d33e47d75261dbb66b562713e8312633c 25-Jul-2014 Dan Albert <danalbert@google.com> en_US.UTF-8 is also supported.

Change-Id: Ic35fad3596dc5e24ee8ae35543a274a471f27bb2
(cherry picked from commit 1abb8bd21d64c2bd21258469b688483f821974d5)
ionic/locale.cpp
d0a80a927f874472f5397a02a818eb2e6fce9456 22-Jul-2014 Dan Albert <danalbert@google.com> There is no _MIN for unsigned types.

Change-Id: I49c38e51197b750210bdbf28c9cf6db30452a206
(cherry picked from commit ee7f1b5946dffa3aa95394b8cf6f15527f1068eb)
nclude/stdint.h
4e5860958767ecc7bc455d2a5e1d2a2096a1c79f 20-Jul-2014 Dan Albert <danalbert@google.com> Fix mbsrtowcs(3)'s handling of len parameter.

The len parameter is a _maximum_ length. The previous code was treating
it as an exact length, causing the following typical call to fail:

mbsrtowcs(out, &in, sizeof(out), state); // sizeof(out) > strlen(in)

Change-Id: I48e474fd54ea5f122bc168a4d74bfe08704f28cc
(cherry picked from commit 6b55ba54eff4657cffe053b71e1c9cce2944a8a9)
ionic/wchar.cpp
1dd1b88bdee77b32d316de2a9a2ed52856f75483 20-Jul-2014 Dan Albert <danalbert@google.com> __libc_fatal should print a newline to stderr.

Change-Id: I088dc880d7488a65beac8cda95f530f3db41f112
(cherry picked from commit 97e31dedf056b07bcfcd46c49b60bf0798c60843)
ionic/libc_logging.cpp
2ea0a58e01c1ed6db1da9dd0314ee053f5a32026 26-Jul-2014 Elliott Hughes <enh@google.com> Fix linkage of grantpt(3).

Also clean up the implementation of all the pty functions, add tests,
and fix the stub implementations of ttyname(3) and ttyname_r(3).

Bug: https://code.google.com/p/android/issues/detail?id=58888

(cherry picked from commit 4916706cfe590eb06c9b5bd4bd402ce056034d51)

Change-Id: I5cb7a1c17b156456e4c4818e65f256eb8d045424
ndroid.mk
ionic/getpt.c
ionic/ptsname.c
ionic/ptsname_r.c
ionic/pty.cpp
ionic/stubs.cpp
ionic/unlockpt.c
nclude/stdlib.h
nclude/unistd.h
a09fe118b1a5eb876ddaa2620965c4a8fb8b007c 22-Jul-2014 Brigid Smith <brigidsmith@google.com> Added a bionic systrace class and tracing to pthread_mutex.cpp.

bionic_systrace.h contains an implementation of tracing that
can be used with systrace.py and its associated viewer. pthread_mutex
now uses this tracing to track pthread_mutex contention, which can be
enabled by using the "bionic" command line option to systrace.

Bug: 15116468

(cherry picked from commit a406ee6d5f616192e9a13afad6ac6a9969814fc1)

Change-Id: Ic98fc303689fe9384974150d0d258c50806a55e4
ndroid.mk
ionic/bionic_systrace.cpp
ionic/pthread_mutex.cpp
rivate/bionic_systrace.h
2be1be47aa9b63568fe6ce1e0a4029b37d90764d 29-Jul-2014 Elliott Hughes <enh@google.com> Revert "Add a hack to <stdlib.h> until we can fix libvpx."

This reverts commit 3fb5097a7eec40404760c304b36c8b657b374cab.
libvpx is now fixed.

Bug: 15598056
Change-Id: Icca974e667f92206505f484bd291726eb0150f68
nclude/stdlib.h
78e4f8fed2c162f8ada55180e48487ef2180cf93 28-Jul-2014 Elliott Hughes <enh@google.com> syscall(3)'s return type should be long.

This doesn't require us to change any of the syscall implementations
because (a) the LP32 ones have sizeof(int) == sizeof(long) anyway,
which is how we never noticed this bug before and (b) the LP64 ones
all use a 64-bit register for the result (and for the syscall number
too).

Bug: https://code.google.com/p/android/issues/detail?id=73952
Bug: 16568314

(cherry picked from commit 21972b61ec0572395c5684eebc6cc7b3a4c9e3be)

Change-Id: Ifbc424be29e5650ec72a24df25dd35f24fdd5b3c
nclude/sys/syscall.h
b1b60c30bf321c0fc02264b953b5c16c49d34457 26-Jul-2014 Elliott Hughes <enh@google.com> Use vsnprintf(3) in syslog(3).

It seemed like a clever trick to use the internal log message formatting
code in syslog(3), but on reflection that means you can't (for example)
format floating point numbers. This patch switches us over to using good
old vsnprintf(3), even though that requires us to jump through a few hoops.

There's no obvious way to unit test this, so I wrote a little program and
ran that.

Bug: 14292866
Change-Id: I9c83500ba9cbb209b6f496067a91bf69434eeef5
ionic/libc_logging.cpp
ionic/syslog.cpp
c1a6a7256026431a9ae49ef2a6139ea99410819b 26-Jul-2014 Elliott Hughes <enh@google.com> Remove localtime_tz and strftime_tz.

This also brings our copy of strftime.c much closer to upstream, though
we still have several GNU extensions and hacks to deal with Android32's
broken time_t.

Bug: 15765976

(cherry picked from commit 39d903aea901cd29a4eef3a82c2dbda59b5bc292)

Change-Id: Ie278d3e976b7adc77bad5ce795dd4899cfbf3648
zcode/localtime.c
zcode/strftime.c
708c11205443cda14cfb21138d441106aa77a5f9 25-Jul-2014 Elliott Hughes <enh@google.com> Start hiding "private/bionic_time.h".

Bug: 15765976

(cherry picked from commit 905e6d58aaf515bf237e62078f8a321920fe4c6b)

Change-Id: Ic7435308e8b521886f42ac7bf59531924921ea67
nclude/sys/cdefs_elf.h
rivate/bionic_time.h
zcode/localtime.c
zcode/strftime.c
b902641d7303d2ea24c10f6d6e7ff49e7ee75611 24-Jul-2014 Elliott Hughes <enh@google.com> Implement twalk(3), add unit tests.

I've also added insque(3) and remque(3) (from NetBSD because the OpenBSD
ones are currently broken for non-circular lists).

I've not added the three hash table functions that should be in this header
because they operate on a single global hash table and thus aren't likely
to be useful.

Bug: https://code.google.com/p/android/issues/detail?id=73719

(cherry picked from commit 3e424d0a241f8ae5194514dabc4ad899f5a5416d)

Change-Id: I5882a6b48c80fea8ac6b9c27e7b9de10b202b4ff
ndroid.mk
OTICE
ionic/tdestroy.cpp
nclude/search.h
pstream-netbsd/lib/libc/stdlib/insque.c
pstream-netbsd/lib/libc/stdlib/lsearch.c
pstream-netbsd/lib/libc/stdlib/remque.c
pstream-netbsd/lib/libc/stdlib/tdelete.c
pstream-netbsd/lib/libc/stdlib/tfind.c
pstream-netbsd/lib/libc/stdlib/tsearch.c
pstream-openbsd/lib/libc/stdlib/lsearch.c
pstream-openbsd/lib/libc/stdlib/tfind.c
pstream-openbsd/lib/libc/stdlib/tsearch.c
5ade7e3f6bb43d419402aab2c7adca2173e2c584 24-Jul-2014 Duane Sand <duane.sand@imgtec.com> [MIPS] Drop soft-fp targets

(cherry picked from commit ba23bd0a409bb0e43c57dabee96b2ae52481d5b7)

Change-Id: Ica09192c2760d38ceebc14e23a5d3ba94c20764c
rch-mips/mips.mk
c86950cb3f50ead0c9a9d0366b870d6c6e1b91c8 15-Jul-2014 Duane Sand <duane.sand@imgtec.com> [MIPSR6] setjmp supports mips32r6 and FP64A/FPXX reg models

Save and restore floating point registers via 64-bit
load/stores when possible. Use assembler's builtin macro
ops to generate pairs of 32-bit load/stores on Mips I cpus.

Some cpus or FR modes have only 16 even-numbered dp fp regs.
This is exposed by _MIPS_FPSET, defined by existing compilers.

(cherry picked from commit dd37251c473e1483faba0fd5aaf30e7a55582e8a)

Change-Id: Ibd43653701a363a77af85121d3cbd229d132a06a
rch-mips/bionic/_setjmp.S
rch-mips/bionic/setjmp.S
rch-mips64/bionic/_setjmp.S
rch-mips64/bionic/setjmp.S
bc74ecfaf5de47056fd8a48db65c0e5aef892f0c 24-Jul-2014 Christopher Ferris <cferris@google.com> HACK: Disable syslog going to android log.

Bug: 14292866

Change-Id: I3adc448dbacfeecd32508ddccf27be3aa653e466
ionic/syslog.cpp
49fbec6d9aee62462a4acf3ba47788ca1e35be37 23-Jul-2014 Colin Cross <ccross@android.com> HACK: remove %m support from printf.

The change that added this support causes a cpu hard lock on one
device. This code clearly isn't at fault, but disabling it to
unblock until we can find a real fix.

Bug: 16484311
Change-Id: I33834dc49d959ae403b10d2c7cad12ae2950f772
ionic/libc_logging.cpp
4126c129613e27717c110626070c44ea7e3f29ce 23-Jul-2014 Elliott Hughes <enh@google.com> Fix belated review comments on syslog change.

Bug: 14292866

(cherry picked from commit afe6360627ef3f0e9bc8f45535fbfae3354f3ae0)

Change-Id: I8e3cc6b37b2539e51a27261ffb5d6e58266ce11d
ionic/libc_logging.cpp
ionic/syslog.cpp
nclude/syslog.h
2aa142ffb20337e60f81642bed1c11d24a3756b1 23-Jul-2014 Elliott Hughes <enh@google.com> Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.

(cherry picked from commit 5d2f86f36341b76f84770d8966d7686a59555ae9)

Change-Id: Iddf22c8d9ff7a4d1205d37bb58c6235af681d795
ools/generate-NOTICE.py
4ac83fad3cdc486c00199eef9ea2a95d354839c4 23-Jul-2014 Elliott Hughes <enh@google.com> Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files.

(cherry picked from commit 3758a244cf758046b40f630a11aed41e68c9cfc2)

Change-Id: I6ffb83b4a7b7746b095205c664cf025a72ead179
OTICE
ools/generate-NOTICE.py
3ff6d95a9b26154c94b5cf130649cf99eb6a4010 23-Jul-2014 Elliott Hughes <enh@google.com> Remove the unused swab.S.

(cherry picked from commit ca70453e84a88405d30f64d603f9a9b5f53f1243)

Change-Id: I4dc13de0bdeb7abb3bd47b0397546ad7d1f11d49
rch-x86/generic/string/swab.S
5d7775c6dfa8f9b2ae313c9493525d54a2d04b38 16-Jul-2014 Duane Sand <duane.sand@imgtec.com> [MIPS] Allow united mipsel and mips64el gcc toolchain

Explicitly tell 32-bit links that they are doing 32-bit links.
This is needed when using united 32-bit and 64-bit toolchains.
This is harmless when using older separate 32-only toolchains.

(cherry picked from commit f541650828f75b3dab22c9c0caab845be78b80fc)

Change-Id: I8df0ee7d36c6409458e18bea4e0e8b132edf77dc
rch-mips/mips.mk
2582f02a01cd56c56a4e6c9de4444a6ec937cc37 20-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Cleanup: Delete dead code.

Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
ns/gethnamaddr.c
ns/include/resolv_netid.h
ns/resolv/res_cache.c
6209c81d40e2b4e129a28bda3259150d79d507e8 19-Jul-2014 Elliott Hughes <enh@google.com> Use upstream OpenBSD's arc4random.

The getentropy_linux.c is lightly modified to build on Android, but we're now
completely in sync with upstream OpenBSD's arc4random implementation.

(cherry picked from commit 2b67d7dee09852789d9ac7d8972ed6cdb2c18430)

Change-Id: Icc939b5fa2fcac3e15ff93735d2d34f67e9bb149
ndroid.mk
ionic/arc4random.c
ionic/getentropy_linux.c
rivate/thread_private.h
pstream-openbsd/android/include/arc4random.h
pstream-openbsd/android/include/openbsd-compat.h
pstream-openbsd/lib/libc/crypt/arc4random.c
pstream-openbsd/lib/libc/crypt/arc4random_uniform.c
b76613627d045acd3bdb7294f424f14c21584872 22-Jul-2014 Elliott Hughes <enh@google.com> Rewrite syslog(3) to use Android logging.

Since we don't have syslogd on Android and you can't run one on a non-rooted
device, it's more useful if syslog output just goes to the regular Android
logging system.

Bug: 14292866

(cherry picked from commit 3ad8ecb64e9dd5614169232b84a93eb3b8aa32d7)

Change-Id: I3038855ca4f22532bf6d2c45d3f8028b866975f9
ndroid.mk
ionic/libc_logging.cpp
ionic/syslog.cpp
nclude/syslog.h
nistd/syslog.c
ed68221a8225a6696d2b0b1607ef0b2de1c1b3aa 16-Jul-2014 Hans Boehm <hboehm@google.com> Define atomic_charN_t only if charN_t is supported.

Some platform code is apparently compiled with switches that do
not support char16_t and char32_t. This caused stdatomic.h to fail
to compile. This CL makes stdatomic.h usable in those environments.

(cherry picked from commit 8b002362d996859ebfc8588d6859a9a79203dc27)
Change-Id: Ie5a17f20b8b545c97128d00605b4eabd2a6bfe3e
nclude/stdatomic.h
fbd0081923336e3d2fa697445372a329134d9484 19-Jul-2014 Elliott Hughes <enh@google.com> Merge "Clean up some misinformation around prctl." into lmp-dev
de24f1ac00924b9a523d06784867bc8c9312335d 19-Jul-2014 Elliott Hughes <enh@google.com> Clean up some misinformation around prctl.

prctl shouldn't be in <unistd.h>.

(cherry picked from commit 9c07aee83b4ebbf2dba8e23d6896683187b9724e)

Change-Id: I70cda886fbf4d58d82dc70adaa981506ebff9949
YSCALLS.TXT
nclude/sys/prctl.h
nclude/unistd.h
291da8d3533b3ee47f8d742c72d789d3149d15da 18-Jul-2014 Elliott Hughes <enh@google.com> Remove SIOCKILLADDR from <sys/socket.h>.

(cherry picked from commit 8a3d1ca183e19d849728318fe8b0d36856fa000f)

Change-Id: Idb5cc4cff3ece7fa8740db12a19438d1a1c9a6a8
nclude/sys/socket.h
b5bef263b37b1f0def2a6c4e8e714ab871452b72 18-Jul-2014 Elliott Hughes <enh@google.com> Remove PR_SET_TIMERSLACK_PID from <sys/prctl.h>.

(cherry picked from commit 9f165d24f00c3bd4337ef719105bfb36bfa00a8b)

Change-Id: I009d3742cefbf36115f09824f267a0265ae215bf
nclude/sys/prctl.h
e8bc581333d1fe19d28211330d1e06d471365d54 18-Jul-2014 Christopher Ferris <cferris@google.com> Use the mmap/munmap for allocation routines.

To avoid any issues calling malloc related routines, use mmap/munmap.
Specifically, this avoids any problems when this is compiled into a
malloc debug shared library.

(cherry picked from commit 6425327c3278137d153b8a7505f97d2f5f058d49)

Change-Id: If43d12b2c588c9abcbfbbd2c53702cdac7695a73
ionic/debug_mapinfo.cpp
b46696858b9018ff8a1069d429366e05d4814c52 18-Jul-2014 Elliott Hughes <enh@google.com> Fix private/bionic_name_mem.h build breakage.

(cherry picked from commit 2f9c6e38b8f59ea6e53e95e062e04dc987ac67f3)

Change-Id: Ia8e96da98802d312011df866ac1baaa48f97811c
ionic/dlmalloc.c
d648f557f116513263aa2f86bba552d2f72660f1 17-Jul-2014 Elliott Hughes <enh@google.com> Remove non-standard prctl constants from <sys/prctl.h>.

Also remove __bionic_name_mem which has exactly one caller, and is only
ever expected to be used in this one place.

(cherry picked from commit d7453860a6b06e7d4a960c20792ce6f0b6cc5f3a)

Change-Id: I26b7638609e9d4eaf4f21ae29721ea27d4176702
ndroid.mk
ionic/__bionic_name_mem.cpp
ionic/dlmalloc.c
nclude/sys/prctl.h
rivate/bionic_name_mem.h
a694517909546cf5c0d0fb54ab40234047238283 19-Jul-2014 Christopher Ferris <cferris@google.com> Merge "Add gen syscalls step to instructions." into lmp-dev
013c9b8035aaa3352aee76451b853c0c29c01223 16-Jul-2014 Christopher Ferris <cferris@google.com> Add gen syscalls step to instructions.

Also, fix incorrect path to some tools.

(cherry picked from commit ea271fdf2671707ed29bc6b564f544d2489115ff)

Change-Id: Ie93cbc84b9a46d622b0b462a33bed0ee129992cb
ernel/README.TXT
9a7fdb2dae8f0ae0f9c5b0596bb2710f782925aa 17-Jul-2014 Elliott Hughes <enh@google.com> ptrace(3) should be varargs.

Bug: 16352070

(cherry picked from commit 98b088dce70a2625d5cfa1872e427af5f06bfd99)

Change-Id: I6193ef44df9a5668020916eaca90b47fc4c8ab77
ionic/ptrace.cpp
nclude/sys/ptrace.h
3002131da33401cf1b45abbdbec58b7c751fc43a 16-Jul-2014 Elliott Hughes <enh@google.com> Use VDSO for clock_gettime(2) and gettimeofday(2).

Bug: 15387103

(cherry picked from commit 625993dfbb085a3cde7492eda8ec1cdc1ee39a78)

Change-Id: I0e156d7049ba1495902259071a96936592e74025
ndroid.mk
YSCALLS.TXT
rch-arm64/syscalls/__clock_gettime.S
rch-arm64/syscalls/__gettimeofday.S
rch-arm64/syscalls/clock_gettime.S
rch-arm64/syscalls/gettimeofday.S
rch-x86_64/syscalls/__clock_gettime.S
rch-x86_64/syscalls/__gettimeofday.S
rch-x86_64/syscalls/clock_gettime.S
rch-x86_64/syscalls/gettimeofday.S
ionic/dl_iterate_phdr_static.cpp
ionic/libc_init_common.cpp
ionic/vdso.cpp
a446505874ba52eb6ddb893c0d9c9321a73b235d 16-Jul-2014 Dan Albert <danalbert@google.com> Merge "Remove isascii_l(3)." into lmp-dev
97ba2a5cc4cf098938bb0a2c19ff01eb57c5536c 16-Jul-2014 Elliott Hughes <enh@google.com> Regenerate the syscalls list after the uapi update.

(cherry picked from commit 3fa60e10bcbfb8c7d94aeefc427640371683c920)

Change-Id: Id545a5b0b0953967effd819177f0dadb134f2011
nclude/sys/glibc-syscalls.h
da8accfefece3a436de68f1b750791fbf0974076 15-Jul-2014 Dan Albert <danalbert@google.com> Remove isascii_l(3).

Had intended to remove this one before submitting the locale changes,
but forgot. It isn't a standard ctype function, so we don't need it.

Change-Id: Ie9c09fa6c61b1101b5992fa06da30e373a0c6bf7
ionic/ctype.cpp
nclude/ctype.h
73c963e4c5bf111df3abe9ad7eac98a918b88bb3 15-Jul-2014 Christopher Ferris <cferris@google.com> Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit.

There were two bugs here:

- For 64 bit values, this did not properly round up.
- The macro rounded to the power of 2 less than value, not to the power
of 2 greater than value.

(cherry picked from commit 27047faf283cb9d3d025a984cd9934fd2c404407)

Change-Id: Idf1ec67854e1eb423704e599ae1c6b674d36618d
rivate/bionic_macros.h
ca276c40dfdb80ef553c6646da7f984ef7b694ce 14-Jul-2014 Elliott Hughes <enh@google.com> Fix visibility for a bunch more symbols.

Bug: 11156955
Bug: 15291317

(cherry picked from commit a167eef5482d4a89d4277ec74f57adbe38052813)

Change-Id: Ib038ad34ef59631f7b4ed6dff2b7956001b8b159
rivate/bionic_name_mem.h
tdio/local.h
pstream-freebsd/android/include/namespace.h
pstream-netbsd/android/include/namespace.h
pstream-openbsd/android/include/openbsd-compat.h
99ae0983c0fd22e34e4d2aa61942b04e347447ee 14-Jul-2014 Elliott Hughes <enh@google.com> Implement rand/srand in terms of random/srandom.

Code developed for glibc or older versions of bionic might expect more
randomness than the BSD implementation provides.

Bug: 15829381

(cherry picked from commit 76c241b091b4d9d9a9237d40e814e52ce2917f47)

Change-Id: If721b3f16efdb21cb67df5ec5034c0ba905bd029
ndroid.mk
ionic/rand.cpp
pstream-netbsd/lib/libc/stdlib/rand.c
caaf71ebb358f811fe7602bbadb90b897e93eaf7 14-Jul-2014 Elliott Hughes <enh@google.com> Sync upstream-openbsd.

(cherry picked from commit 4f0b67a8dbf0e1d8b1dae42358553fb8d14456d4)

Change-Id: I8753959853312ab978bc4eb1bbbcdc7d1b007b95
ndroid.mk
pstream-netbsd/lib/libc/thread-stub/__isthreaded.c
pstream-openbsd/lib/libc/stdlib/exit.c
pstream-openbsd/lib/libc/string/stpcpy.c
pstream-openbsd/lib/libc/string/strcat.c
pstream-openbsd/lib/libc/string/strcmp.c
pstream-openbsd/lib/libc/string/strcpy.c
pstream-openbsd/lib/libc/string/strlen.c
pstream-openbsd/lib/libc/string/strncmp.c
pstream-openbsd/lib/libc/string/strncpy.c
38778e3b6c89689bbdd01f4a52ac88f02bf59783 11-Jul-2014 Dmitriy Ivanov <dimitry@google.com> Upstream atexit

Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
(cherry picked from commit 53c3c271dc9927dd280981fc23409af60f460007)
ndroid.mk
ionic/abort.cpp
ionic/libc_init_common.cpp
ionic/libc_init_dynamic.cpp
ionic/libc_init_static.cpp
rivate/thread_private.h
tdlib/atexit.c
tdlib/atexit.h
pstream-openbsd/android/include/openbsd-compat.h
pstream-openbsd/android/include/thread_private.h
pstream-openbsd/lib/libc/stdlib/atexit.c
pstream-openbsd/lib/libc/stdlib/atexit.h
f6968e3c0822b27e9aa584c3490573f34b1725c1 12-Jul-2014 Elliott Hughes <enh@google.com> Define SIOCKILLADDR which isn't in the common kernel uapi headers.

(cherry picked from commit 2ba2888cac2f04daff7bbaf032d0df7a095b00c3)

Change-Id: I3845871bb44dae94d9a0428af0f562ddfb8bd660
nclude/sys/socket.h
b962ab81fc37fc8b4b8cfd45d3538b641dd6fd13 12-Jul-2014 Elliott Hughes <enh@google.com> am 57a5b338: Merge "Define three prctl constants that went missing from uapi."

* commit '57a5b3380a8834ecb4a32d01433a3127454443d7':
Define three prctl constants that went missing from uapi.
0594b9ddded7d832b786c209dd7cd4e26ee32eb8 12-Jul-2014 Elliott Hughes <enh@google.com> am b8e82b5e: Merge "EM_ARM and EM_AARCH64 are now in the uapi header."

* commit 'b8e82b5e729a1f6e30ee9593b2dbcbb3ad623874':
EM_ARM and EM_AARCH64 are now in the uapi header.
efdf7862be41b2dfd8d013e2495af9a2db5286f5 12-Jul-2014 Christopher Ferris <cferris@google.com> am 385bb1ed: Merge "Add optimized memchr implementation from newlib"

* commit '385bb1ededa734e88bafb8aaf817e9a984bf0d18':
Add optimized memchr implementation from newlib
55230dd048d8c93af67611c30fd6563e24ef23c5 12-Jul-2014 Christopher Ferris <cferris@google.com> am 96502e27: Merge "Make jemalloc the default choice."

* commit '96502e273eea49c95899af57fa578c8055b9618c':
Make jemalloc the default choice.
18a25078f0cc0aa9842f6397e3c24a5ae8686de5 12-Jul-2014 Christopher Ferris <cferris@google.com> am c6bc0017: Merge "Update kernel headers to v3.14."

* commit 'c6bc001776931fd1c8583df2b8948dcb8bf61007':
Update kernel headers to v3.14.
ce1422b985383c4cbb485b3ec121eb8d01af12b8 12-Jul-2014 Elliott Hughes <enh@google.com> am 040e1187: Merge "Enable building libc with clang."

* commit '040e11877d19f2fdd7a9c730d33056e88f43a760':
Enable building libc with clang.
c0afc23e26ca0a591dd8fb5fcddf1cb616bd5e43 12-Jul-2014 Dan Albert <danalbert@google.com> am 37f09d6d: Merge "Revert "Revert "Add locale aware APIs."""

* commit '37f09d6d2ea329984a3182b99a38f170dc86661d':
Revert "Revert "Add locale aware APIs.""
d19f2d859f744ded5a70cf0d8a23427eac7ec817 12-Jul-2014 Elliott Hughes <enh@google.com> am 76df69d1: Merge "The err family allow null format strings."

* commit '76df69d1f5cbbc8a2c1e899bc1ad5ada8b083e1e':
The err family allow null format strings.
35805377f91f0057704ee38687e0d9bf22d9d528 12-Jul-2014 Elliott Hughes <enh@google.com> am 9b491470: Merge "Slim down static binaries by avoiding stdio."

* commit '9b491470ac65a11775e52631ef5e655af9eb2a85':
Slim down static binaries by avoiding stdio.
7d9f1cc55c1f3641431e4ec8cf88d374025c5f39 12-Jul-2014 Elliott Hughes <enh@google.com> am f0f8cd1f: Merge "Remove the global lock around thread stack creation."

* commit 'f0f8cd1ff3e7f7124cab8a687370b51df4ec93de':
Remove the global lock around thread stack creation.
12ce91157a40785182a3424af2890fcad032f9c6 12-Jul-2014 Elliott Hughes <enh@google.com> am cd23370c: Merge "Remove the obsolete _thread_created_hook."

* commit 'cd23370ca737dffc49166f8aacd19a025e72266f':
Remove the obsolete _thread_created_hook.
9712d913eba352d108116595d9be8bd0c96f24f6 12-Jul-2014 Calin Juravle <calin@google.com> am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."

* commit '02459d34c9b82741155fbbb32850a7987eb7abaf':
Move __cmsg_nxthdr to its proper file.
cd061f6e434a28e979346b14cfe29a953ab9181f 12-Jul-2014 Calin Juravle <calin@google.com> am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."

* commit '8a71a745cb2a1eb573c6dc41e30c2f94a3a99db7':
Removed obsolete symbol cmsg_nxthdr.
4306b0f82b236acb10e1f42e7d850e4edd37fb78 12-Jul-2014 Christopher Ferris <cferris@google.com> am 25fba981: Merge "Do not include libc_common in malloc debug code."

* commit '25fba981a17c51df6cf88d5ace7ffe3c5a5766e4':
Do not include libc_common in malloc debug code.
1cad0226f5b0b7346516132bb45f09dafdffb91f 12-Jul-2014 Elliott Hughes <enh@google.com> am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."

* commit '84f0c7c258b3a72eed8737662bb5a730d6d9f5e2':
update-tzdata.py needs to know where to find icu.
ea04b5a6d9fbbc3877446f47a50b3070da1e036e 12-Jul-2014 Dan Albert <danalbert@google.com> am 7a85d9a1: Merge "Revert "Add locale aware APIs.""

* commit '7a85d9a1de7f0970af19eca5f3ca6938cbc2ce95':
Revert "Add locale aware APIs."
f6b95993486005afb1d53677b321a85870c3b0c3 12-Jul-2014 Dan Albert <danalbert@google.com> am 430d5f93: Merge "Add locale aware APIs."

* commit '430d5f93ceea2e5172144a05885c295dca51b876':
Add locale aware APIs.
ca673e7300b361bbf49c2b7ea1012441d62b1995 11-Jul-2014 Dmitriy Ivanov <dimitry@google.com> am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"

* commit 'b9c5d606aab6c1a21e3785d155613c35c276eb18':
Change android_dlextinfo flags to uint64_t
7e43f0d40d3189ca219c6758f61ffe2a2d411ee2 11-Jul-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of aedc14b1 to lmp-dev

Change-Id: I36d3a6ca42778686f1f2971ae72cd3b7b156a3da
040e11877d19f2fdd7a9c730d33056e88f43a760 11-Jul-2014 Elliott Hughes <enh@google.com> Merge "Enable building libc with clang."
c999f76977d2389a3e2dcbdd98f20d93c3193727 11-Jul-2014 Elliott Hughes <enh@google.com> Enable building libc with clang.

Bug: 16218205
Change-Id: I024de2044fe016412c7bead22c264e96be4cb39c
ndroid.mk
rch-arm/arm.mk
rch-arm/bionic/__aeabi.c
rch-arm/bionic/eabi.c
c6bc001776931fd1c8583df2b8948dcb8bf61007 11-Jul-2014 Christopher Ferris <cferris@google.com> Merge "Update kernel headers to v3.14."
2f61fba72b359fc169374cccb5040aab771d09a1 11-Jul-2014 Elliott Hughes <enh@google.com> The err family allow null format strings.

Also remove declarations for the _* variants that were never implemented in bionic (or glibc).

Change-Id: I4ea1f17bbb377e70632c10dd218f47110cabc27b
nclude/err.h
263325d4b0c4c0e2933cb6428475ced16f0a86d5 12-Jul-2014 Elliott Hughes <enh@google.com> Define three prctl constants that went missing from uapi.

Change-Id: Ib81846ddefe9a75e02151c6592ed99b1f8ec5858
nclude/sys/prctl.h
dfb5ce42bcc5a275af49211c0bbe64c5ec3d2668 10-Jul-2014 Dan Albert <danalbert@google.com> Revert "Revert "Add locale aware APIs.""

This reverts commit 063e20c26943ec82ef1d53a544545e79054e93d3.

Change-Id: Ib8c9004efefe75a5346b3af50dfe37952d91eb21
ndroid.mk
ionic/ctype.cpp
ionic/strcoll_l.cpp
ionic/strftime_l.cpp
ionic/strtold_l.cpp
ionic/strtoll_l.cpp
ionic/strtoull_l.cpp
ionic/strxfrm_l.cpp
ionic/wchar.cpp
ionic/wctype.cpp
nclude/ctype.h
nclude/stdlib.h
nclude/string.h
nclude/time.h
nclude/wchar.h
nclude/wctype.h
b8e82b5e729a1f6e30ee9593b2dbcbb3ad623874 12-Jul-2014 Elliott Hughes <enh@google.com> Merge "EM_ARM and EM_AARCH64 are now in the uapi header."
10cf0d8c1f06d528f173e837ee9b7eab14247d7a 11-Jul-2014 Elliott Hughes <enh@google.com> EM_ARM and EM_AARCH64 are now in the uapi header.

Change-Id: Ice73403daff75ea45b24e02351269f6c012df6c1
nclude/elf.h
385bb1ededa734e88bafb8aaf817e9a984bf0d18 12-Jul-2014 Christopher Ferris <cferris@google.com> Merge "Add optimized memchr implementation from newlib"
8c20c13100d159ff505af9e6e19cab30f368a074 11-Jul-2014 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Add optimized memchr implementation from newlib

Add NEON optimized memchr adapted from newlib

Change-Id: I91b2fafa243e4ab35fa56bb6171d48433c947cfd
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
rch-arm64/arm64.mk
rch-arm64/denver64/denver64.mk
rch-arm64/generic-neon/generic-neon.mk
rch-arm64/generic/bionic/memchr.S
rch-arm64/generic/generic.mk
8e32b7b3543eadbb58a92443fb57d60aac92ef88 11-Jul-2014 Christopher Ferris <cferris@google.com> Make jemalloc the default choice.

Change-Id: I5ff0cf0c396b7ae6278e6fcd5a0d50f8b966fb54
ndroid.mk
38062f954c637861348dd8078cefb73554e6f12c 10-Jul-2014 Christopher Ferris <cferris@google.com> Update kernel headers to v3.14.

Other changes:
- Modify update_all.py to skip ion header files when importing into aosp.
- Fix generate_uapi_headers.sh to handle imports from a linux-stable kernel.

Change-Id: I1ad81b9ccb063c21740f9875f2cc1238052cd4b3
ernel/tools/generate_uapi_headers.sh
ernel/tools/update_all.py
ernel/uapi/asm-arm/asm/hwcap.h
ernel/uapi/asm-arm/asm/kvm.h
ernel/uapi/asm-arm/asm/perf_regs.h
ernel/uapi/asm-arm/asm/ptrace.h
ernel/uapi/asm-arm/asm/unistd.h
ernel/uapi/asm-arm64/asm/byteorder.h
ernel/uapi/asm-arm64/asm/hwcap.h
ernel/uapi/asm-arm64/asm/kvm.h
ernel/uapi/asm-generic/fcntl.h
ernel/uapi/asm-generic/ipcbuf.h
ernel/uapi/asm-generic/msgbuf.h
ernel/uapi/asm-generic/poll.h
ernel/uapi/asm-generic/shmbuf.h
ernel/uapi/asm-generic/socket.h
ernel/uapi/asm-generic/statfs.h
ernel/uapi/asm-generic/unistd.h
ernel/uapi/asm-mips/asm/auxvec.h
ernel/uapi/asm-mips/asm/fcntl.h
ernel/uapi/asm-mips/asm/inst.h
ernel/uapi/asm-mips/asm/msgbuf.h
ernel/uapi/asm-mips/asm/resource.h
ernel/uapi/asm-mips/asm/siginfo.h
ernel/uapi/asm-mips/asm/socket.h
ernel/uapi/asm-mips/asm/swab.h
ernel/uapi/asm-mips/asm/types.h
ernel/uapi/asm-mips/asm/ucontext.h
ernel/uapi/asm-mips/asm/unistd.h
ernel/uapi/asm-x86/asm/bootparam.h
ernel/uapi/asm-x86/asm/hyperv.h
ernel/uapi/asm-x86/asm/kvm.h
ernel/uapi/asm-x86/asm/kvm_para.h
ernel/uapi/asm-x86/asm/msr-index.h
ernel/uapi/asm-x86/asm/processor-flags.h
ernel/uapi/asm-x86/asm/sembuf.h
ernel/uapi/asm-x86/asm/stat.h
ernel/uapi/asm-x86/asm/unistd_32.h
ernel/uapi/asm-x86/asm/unistd_64.h
ernel/uapi/asm-x86/asm/unistd_x32.h
ernel/uapi/asm-x86/asm/vmx.h
ernel/uapi/drm/armada_drm.h
ernel/uapi/drm/drm.h
ernel/uapi/drm/drm_mode.h
ernel/uapi/drm/i915_drm.h
ernel/uapi/drm/msm_drm.h
ernel/uapi/drm/radeon_drm.h
ernel/uapi/drm/tegra_drm.h
ernel/uapi/drm/vmwgfx_drm.h
ernel/uapi/linux/apm_bios.h
ernel/uapi/linux/audit.h
ernel/uapi/linux/bcache.h
ernel/uapi/linux/btrfs.h
ernel/uapi/linux/can/gw.h
ernel/uapi/linux/cifs/cifs_mount.h
ernel/uapi/linux/cm4000_cs.h
ernel/uapi/linux/const.h
ernel/uapi/linux/dm-ioctl.h
ernel/uapi/linux/dm-log-userspace.h
ernel/uapi/linux/dn.h
ernel/uapi/linux/dqblk_xfs.h
ernel/uapi/linux/elf-em.h
ernel/uapi/linux/fd.h
ernel/uapi/linux/fib_rules.h
ernel/uapi/linux/fiemap.h
ernel/uapi/linux/fs.h
ernel/uapi/linux/gen_stats.h
ernel/uapi/linux/genetlink.h
ernel/uapi/linux/genwqe/genwqe_card.h
ernel/uapi/linux/gfs2_ondisk.h
ernel/uapi/linux/hash_info.h
ernel/uapi/linux/hsr_netlink.h
ernel/uapi/linux/icmpv6.h
ernel/uapi/linux/if.h
ernel/uapi/linux/if_addr.h
ernel/uapi/linux/if_arp.h
ernel/uapi/linux/if_bonding.h
ernel/uapi/linux/if_bridge.h
ernel/uapi/linux/if_ether.h
ernel/uapi/linux/if_link.h
ernel/uapi/linux/if_packet.h
ernel/uapi/linux/if_pppox.h
ernel/uapi/linux/if_tun.h
ernel/uapi/linux/in.h
ernel/uapi/linux/in6.h
ernel/uapi/linux/input.h
ernel/uapi/linux/ip.h
ernel/uapi/linux/ip_vs.h
ernel/uapi/linux/ipv6.h
ernel/uapi/linux/kexec.h
ernel/uapi/linux/keyctl.h
ernel/uapi/linux/kvm.h
ernel/uapi/linux/kvm_para.h
ernel/uapi/linux/libc-compat.h
ernel/uapi/linux/magic.h
ernel/uapi/linux/major.h
ernel/uapi/linux/media.h
ernel/uapi/linux/mic_common.h
ernel/uapi/linux/mic_ioctl.h
ernel/uapi/linux/mqueue.h
ernel/uapi/linux/msdos_fs.h
ernel/uapi/linux/msg.h
ernel/uapi/linux/netconf.h
ernel/uapi/linux/netfilter.h
ernel/uapi/linux/netfilter/ipset/ip_set.h
ernel/uapi/linux/netfilter/nf_conntrack_common.h
ernel/uapi/linux/netfilter/nf_nat.h
ernel/uapi/linux/netfilter/nf_tables.h
ernel/uapi/linux/netfilter/nf_tables_compat.h
ernel/uapi/linux/netfilter/nfnetlink.h
ernel/uapi/linux/netfilter/nfnetlink_conntrack.h
ernel/uapi/linux/netfilter/nfnetlink_cttimeout.h
ernel/uapi/linux/netfilter/nfnetlink_queue.h
ernel/uapi/linux/netfilter/xt_HMARK.h
ernel/uapi/linux/netfilter/xt_IDLETIMER.h
ernel/uapi/linux/netfilter/xt_SYNPROXY.h
ernel/uapi/linux/netfilter/xt_cgroup.h
ernel/uapi/linux/netfilter/xt_ipcomp.h
ernel/uapi/linux/netfilter/xt_l2tp.h
ernel/uapi/linux/netfilter/xt_rpfilter.h
ernel/uapi/linux/netfilter/xt_socket.h
ernel/uapi/linux/netfilter_bridge/ebt_802_3.h
ernel/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h
ernel/uapi/linux/nfc.h
ernel/uapi/linux/nfs4.h
ernel/uapi/linux/nl80211.h
ernel/uapi/linux/nvme.h
ernel/uapi/linux/openvswitch.h
ernel/uapi/linux/pci_regs.h
ernel/uapi/linux/perf_event.h
ernel/uapi/linux/pkt_cls.h
ernel/uapi/linux/pkt_sched.h
ernel/uapi/linux/ppp-ioctl.h
ernel/uapi/linux/prctl.h
ernel/uapi/linux/ptrace.h
ernel/uapi/linux/raid/md_p.h
ernel/uapi/linux/random.h
ernel/uapi/linux/reiserfs_xattr.h
ernel/uapi/linux/resource.h
ernel/uapi/linux/rtnetlink.h
ernel/uapi/linux/sched.h
ernel/uapi/linux/serial_core.h
ernel/uapi/linux/shm.h
ernel/uapi/linux/snmp.h
ernel/uapi/linux/sockios.h
ernel/uapi/linux/tc_act/tc_defact.h
ernel/uapi/linux/tc_act/tc_ipt.h
ernel/uapi/linux/tcp.h
ernel/uapi/linux/tcp_metrics.h
ernel/uapi/linux/timex.h
ernel/uapi/linux/usb/ch11.h
ernel/uapi/linux/v4l2-controls.h
ernel/uapi/linux/v4l2-dv-timings.h
ernel/uapi/linux/v4l2-mediabus.h
ernel/uapi/linux/version.h
ernel/uapi/linux/vfio.h
ernel/uapi/linux/videodev2.h
ernel/uapi/linux/virtio_config.h
ernel/uapi/linux/virtio_console.h
ernel/uapi/linux/virtio_net.h
ernel/uapi/linux/virtio_pci.h
ernel/uapi/linux/vsp1.h
ernel/uapi/linux/wimax/i2400m.h
ernel/uapi/linux/xattr.h
ernel/uapi/linux/zorro.h
ernel/uapi/linux/zorro_ids.h
ernel/uapi/rdma/ib_user_verbs.h
ernel/uapi/rdma/rdma_user_cm.h
ernel/uapi/sound/asound.h
ernel/uapi/sound/compress_offload.h
ernel/uapi/sound/compress_params.h
ernel/uapi/sound/firewire.h
ernel/uapi/sound/hdspm.h
ernel/uapi/xen/gntalloc.h
ernel/uapi/xen/gntdev.h
91570ce987ef93f9ba2fa663a5fee1bd2525a2ba 10-Jul-2014 Elliott Hughes <enh@google.com> Slim down static binaries by avoiding stdio.

It's okay for a program to choose to drag in stdio, but it's unfortunate
if even the minimal "int main() { return 42; }" drags in stdio...

This brings the minimal static binary on ARM down from 78KiB to 46KiB.

Given that we don't have a separate -lpthread it's not obvious to me that
we can shave this down any further. I'm not sure whether this is a worthwhile
change for that reason. (And the fact that dynamic binaries, the usual case,
are unaffected either way.)

Change-Id: I02f91dcff37d14354314a30b72fed2563f431c88
ionic/dlmalloc.h
ionic/jemalloc_wrapper.cpp
ionic/malloc_debug_check.cpp
ionic/malloc_debug_leak.cpp
ionic/malloc_debug_qemu.cpp
ionic/strerror_r.cpp
ionic/stubs.cpp
rivate/libc_logging.h
tdlib/atexit.c
e959a3b3157e38ebda4ce6f86efb5644faa4988b 10-Jul-2014 Elliott Hughes <enh@google.com> Remove the global lock around thread stack creation.

This lock has been here since the original commits, but as far as I can tell
it never served any purpose. We've never had a free list of cached stacks or
anything like that.

Change-Id: I9d665c7eaa9c699ce0659ffb111402a0239fe1f5
ionic/pthread_create.cpp
cd23370ca737dffc49166f8aacd19a025e72266f 10-Jul-2014 Elliott Hughes <enh@google.com> Merge "Remove the obsolete _thread_created_hook."
e0f25dda3f38a70e5689e785597c5cf2b68bdcf8 10-Jul-2014 Elliott Hughes <enh@google.com> Remove the obsolete _thread_created_hook.

gdb won't even try to use this on Android because it knows we don't
support old enough kernels to need it.

Bug: 15470251
Change-Id: Ia6d54585d888bbab8ee0490a148a1586b25437b9
ionic/pthread_create.cpp
25fba981a17c51df6cf88d5ace7ffe3c5a5766e4 10-Jul-2014 Christopher Ferris <cferris@google.com> Merge "Do not include libc_common in malloc debug code."
dda1c6c466c4f31de31d76c8be7e46c16b4b4209 10-Jul-2014 Christopher Ferris <cferris@google.com> Do not include libc_common in malloc debug code.

The inclusion of the static libc_common library in the malloc_debug_XXX.so
shared libraries causes constructors to be called twice. This doesn't seem
to have caused any issues when setting the libc.debug.malloc property.
However, jemalloc crashes because there are two jemalloc implementations,
one in the static libc_common library and one in the shared library. Each
implementation has created overlapping thread keys that are not the same.
The crash comes because one of the jemalloc keys is actually used by the
locale setting code. Thus if someone sets the locale, the jemalloc code
crashes trying to access the same key.

Change-Id: Iaac650a82d69064db148a6333e9403744f68b4a4
ndroid.mk
ionic/malloc_debug_check.cpp
ionic/malloc_debug_common.cpp
ionic/malloc_debug_common.h
ionic/malloc_debug_leak.cpp
ionic/malloc_debug_qemu.cpp
30ab93949626872b3e6ea35398c831017c4c378f 10-Jul-2014 Elliott Hughes <enh@google.com> update-tzdata.py needs to know where to find icu.

Change-Id: If5561b92c233276fb072da62be21f23df4781c41
ools/zoneinfo/update-tzdata.py
e087eac404b0e30de427392065e2750acf92bd4a 09-Jul-2014 Dan Albert <danalbert@google.com> Add locale aware APIs.

Since we only support the C locale, we can just forward all of these to
their non-locale equivalents for correct behavior.

Change-Id: Ib7be71b7f636309c0cc3be1096a4c1f693f04fbb
ndroid.mk
ionic/ctype.cpp
ionic/strcoll_l.cpp
ionic/strftime_l.cpp
ionic/strtold_l.cpp
ionic/strtoll_l.cpp
ionic/strtoull_l.cpp
ionic/strxfrm_l.cpp
ionic/wchar.cpp
ionic/wctype.cpp
nclude/ctype.h
nclude/stdlib.h
nclude/string.h
nclude/time.h
nclude/wchar.h
nclude/wctype.h
f8408c58fa61540d8b6b5afec4246284482d89c2 10-Jul-2014 Calin Juravle <calin@google.com> Move __cmsg_nxthdr to its proper file.

Change-Id: I095fb6bc5318f2d256baa97658bdfe679d235aec
ndroid.mk
ionic/__cmsg_nxthdr.cpp
ionic/cmsg_nxthdr.cpp
e95d0fc34cc3f6ef658c6470ffe4b59fbbc978b5 07-Jul-2014 Calin Juravle <calin@google.com> Removed obsolete symbol cmsg_nxthdr.

Bug: 15822452
Change-Id: I5322fb29522fc58e9c3489ff86216e25a12ef970
ionic/cmsg_nxthdr.cpp
063e20c26943ec82ef1d53a544545e79054e93d3 10-Jul-2014 Dan Albert <danalbert@google.com> Revert "Add locale aware APIs."

Accidentally verified against a dirty tree. Needs the companion change to libc++ to land upstream before I can submit this.

This reverts commit e087eac404b0e30de427392065e2750acf92bd4a.

Change-Id: I317ecd0923114f415eaad7603002f77feffb5e3f
ndroid.mk
ionic/ctype.cpp
ionic/strcoll_l.cpp
ionic/strftime_l.cpp
ionic/strtold_l.cpp
ionic/strtoll_l.cpp
ionic/strtoull_l.cpp
ionic/strxfrm_l.cpp
ionic/wchar.cpp
ionic/wctype.cpp
nclude/ctype.h
nclude/stdlib.h
nclude/string.h
nclude/time.h
nclude/wchar.h
nclude/wctype.h
15581383153c5da29befb7f5cdc30bc21e9da54b 08-Jul-2014 Elliott Hughes <enh@google.com> Regenerate the bionic NOTICE files.

Also fix a few formatting issues in copyright headers that were confusing
the script (though obviously it would be better if the script were smarter).

Change-Id: I7f561bef4f84fdcbd84f375ee226bd65db0e507b
OTICE
rch-arm64/generic/bionic/strchr.S
rch-arm64/generic/bionic/string_copy.S
rch-x86/silvermont/string/sse4-memcmp-slm.S
e20bbaf8bbfb41b690e55be66eb327ebdcc61629 07-Jul-2014 Elliott Hughes <enh@google.com> am 4568e344: am 2b2916d1: Merge "Remove some dead data."

* commit '4568e344c0a7581dc1b32387ba18c99df76ffeea':
Remove some dead data.
88ed7d2cc179995ef056468c0a77c8eb28526f00 07-Jul-2014 Elliott Hughes <enh@google.com> am d5a6a5e1: am db42a9f5: Merge "Fix three clang complaints about the DNS code."

* commit 'd5a6a5e18d66543bdfa4dffdfeec80eff32a87b9':
Fix three clang complaints about the DNS code.
4324fd79164d0399e7c3ecb487a78713c81295af 07-Jul-2014 Elliott Hughes <enh@google.com> am a19e1d1c: am 4d763df3: Merge "Fix a broken boolean test found by clang."

* commit 'a19e1d1c6519e6adaa37ae151dc87cb04fe998b0':
Fix a broken boolean test found by clang.
ea24c25512f14a2b8caa45b3d338d0158a3080ee 07-Jul-2014 Elliott Hughes <enh@google.com> am 13610bec: am 1ee1bfde: Merge "Use __unused rather than self assignment for unused parameters."

* commit '13610bec6bfc0af64efdeeafc4c25d34912c2856':
Use __unused rather than self assignment for unused parameters.
3a8646fc5d9f1a9304251a1d1c8ff9e523d81b40 08-Jul-2014 Dmitriy Ivanov <dimitry@google.com> Change android_dlextinfo flags to uint64_t

Change-Id: Id27e8f8e58dbcf6ae79644f2ad3af3dd0aef9ae7
nclude/android/dlext.h
67afc421f3f51d3b14332fa2689047c3a6017b42 07-Jul-2014 Dan Albert <danalbert@google.com> am 731f9273: am 2d94ee29: Merge "Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."""

* commit '731f9273134b861b86ef65f785f4811c2f17b5be':
Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
4d763df3243f81041269015d0ac3fbd2912d5f3d 07-Jul-2014 Elliott Hughes <enh@google.com> Merge "Fix a broken boolean test found by clang."
29edbfd64ff636b40309d350ca038a7fdb114ad8 07-Jul-2014 Elliott Hughes <enh@google.com> Fix a broken boolean test found by clang.

This was only on the failure case, so this probably never caused
any real trouble.

Change-Id: Id983689772102cbb9171693b927e544fb0b584fb
ionic/malloc_debug_common.cpp
80d877d6c343fbbb1eff21f4ddf7aa56dc33cbd4 03-Jul-2014 Nick Kralevich <nnk@google.com> am e6ef1977: am f95964c9: Merge "libc_logging: Set SOCK_CLOEXEC on socket"

* commit 'e6ef19779f35bfc1e49b50dd6d3189ab393328f1':
libc_logging: Set SOCK_CLOEXEC on socket
ca771fc396167347b8a434738829c20ff66bb20c 03-Jul-2014 Elliott Hughes <enh@google.com> am bebe8de7: am 1f262b35: Merge "Fix recv.cpp so it can build with clang."

* commit 'bebe8de7e2d2df2605fe96f7426f26ecbcd7d251':
Fix recv.cpp so it can build with clang.
cda4006cc73827b6f3c77fd783ee22434e34a799 03-Jul-2014 Elliott Hughes <enh@google.com> am 2a70aba8: am ab4fc823: Merge "Fix all resolv warnings and turn on -Werror."

* commit '2a70aba8460eff1bfb1417c271c6a5a53c560afa':
Fix all resolv warnings and turn on -Werror.
e9fa0de5b09f0fb5891f05a401992c0eeccf1d0e 03-Jul-2014 Dmitriy Ivanov <dimitry@google.com> am 8551bfb0: am 950a435f: Merge "Load library using file handle."

* commit '8551bfb04385781c3b8c68afaf9c055c22a4e985':
Load library using file handle.
f5bd6752255b5aaffbbee6a5c96e8a45f78304c0 03-Jul-2014 Elliott Hughes <enh@google.com> am 9ff95c47: am 99e2a2f0: Merge "Switch to upstream OpenBSD mktemp.c."

* commit '9ff95c4763bcbc44d25092510fde299f0ba0be7f':
Switch to upstream OpenBSD mktemp.c.
6917e6c2aed624aea146c68c35c6148c136e3dcc 03-Jul-2014 Elliott Hughes <enh@google.com> Fix recv.cpp so it can build with clang.

Change-Id: Iac3e676aa256837333240219bcadbdc31985b5dd
ionic/recv.cpp
ab4fc82315567a1400bb25af3f835f1b5d80a0fe 03-Jul-2014 Elliott Hughes <enh@google.com> Merge "Fix all resolv warnings and turn on -Werror."
37b1b5bbcd1cddf833c9ca18a5976efbbf88dabf 03-Jul-2014 Elliott Hughes <enh@google.com> Fix all resolv warnings and turn on -Werror.

The res_init.c changes bring us a bit closer to upstream too, though
there's still work to be done there. Some of the remaining differences
look like bugs we'd want to fix, so we should definitely try to come
back to that.

Change-Id: I50baa148e967c90d55d711e9904ad54c7d724d4d
ndroid.mk
ns/net/getservbyname.c
ns/net/getservbyport.c
ns/resolv/res_cache.c
ns/resolv/res_init.c
ns/resolv/res_send.c
bae5b1dbd8dfe7318e208be917f4c9b9e8abced6 03-Jul-2014 Nick Kralevich <nnk@google.com> libc_logging: Set SOCK_CLOEXEC on socket

Socket file descriptors remain open across exec unless
SOCK_CLOEXEC is set. Enable this option, to avoid leaking
file descriptors.

In practice, this isn't a big deal, since the socket only remains
open for a very short period to write a message. However, this
socket might leak for for multithreaded programs if an exec occurs
between the open and close.

Change-Id: Ica2e71fe28657c32d56de1431c8f7f1f5c7b7c58
ionic/libc_logging.cpp
950a435fc0dffc22a816194af175420176b86908 03-Jul-2014 Dmitriy Ivanov <dimitry@google.com> Merge "Load library using file handle."
2d94ee29f4be528167f1de328226cac259aac738 07-Jul-2014 Dan Albert <danalbert@google.com> Merge "Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."""
1ee1bfdeeca74d71f3e7de7ac3a7e45c9a7d0f53 07-Jul-2014 Elliott Hughes <enh@google.com> Merge "Use __unused rather than self assignment for unused parameters."
668da74ef1d4558f699374cb28a9df1a011db122 07-Jul-2014 Elliott Hughes <enh@google.com> Use __unused rather than self assignment for unused parameters.

Clang, reasonably enough, doesn't like self assignment.

Change-Id: Ie5843287802949dad148a1a815231035678e1306
ionic/semaphore.c
2b2916d15458671babed9e250b4d98f1980a976d 07-Jul-2014 Elliott Hughes <enh@google.com> Merge "Remove some dead data."
920d831ba15a4d9707e70e834df1be12613413c3 07-Jul-2014 Elliott Hughes <enh@google.com> Remove some dead data.

Clang doesn't like dead data, and this is just an LP32 compatibility turd.

Change-Id: I3832748a4e773b254877f4438b5340e7d4c1ce70
ionic/time64.c
db42a9f5a3b8a6bb6af2d9ef42844c8dc835527b 07-Jul-2014 Elliott Hughes <enh@google.com> Merge "Fix three clang complaints about the DNS code."
68c2755d71750401d82d9aa17774ebd385cb5dc0 07-Jul-2014 Elliott Hughes <enh@google.com> Fix three clang complaints about the DNS code.

These are all already fixed upstream in the same way.

Change-Id: I2881b6d0fbd0237fffc0f00563bc14750dcce0d9
ns/gethnamaddr.c
ns/resolv/res_send.c
ns/resolv/res_state.c
04dc91ae763adc403a14c88b4c46f77b3d2d71a3 01-Jul-2014 Dmitriy Ivanov <dimitry@google.com> Load library using file handle.

* This patch enables dlopen by file descriptor
instead of path/name.

Bug: 15984217
Change-Id: Ib39051e00567fb97070bf96d8ce63993877c0a01
nclude/android/dlext.h
rivate/ScopedFd.h
65935979311373f2c7fa27cbfc189f49b188ca3a 02-Jul-2014 Elliott Hughes <enh@google.com> Switch to upstream OpenBSD mktemp.c.

Almost all of our stdio is actually OpenBSD, so although this isn't
really a core part of stdio (it doesn't touch struct FILE, for example)
it probably makes sense for it to come from the same upstream. My
actual motivation though is that it's the only FreeBSD file we have
compiler warnings from.

This patch moves us over to -Werror by default, with only the DNS code
having -Wno-error.

Change-Id: Id244a5b445cba41b0a1ca30298ca7b1ed177810c
ndroid.mk
pstream-freebsd/lib/libc/stdio/mktemp.c
pstream-openbsd/lib/libc/stdio/mktemp.c
a230741e47ab0c91fe1525fa41e93dd5f4dedad8 02-Jul-2014 Elliott Hughes <enh@google.com> am e20fcb2d: am e9975987: Merge "Quiten warnings in semaphore.c."

* commit 'e20fcb2d70af950cff4ae5df8038d800630e39be':
Quiten warnings in semaphore.c.
dc615691c91d67dad7fd78995433487fd394ba56 02-Jul-2014 Elliott Hughes <enh@google.com> am d103c98b: am f2102f54: Merge "Quiten warnings in fts.c."

* commit 'd103c98be845e060d86463a895c2e33aa8256839':
Quiten warnings in fts.c.
c492450147503a1ab6a26b5a8d372f7b1db78a82 02-Jul-2014 Dan Albert <danalbert@google.com> am 30c958f7: am 42a5a177: Merge "Revert "Revert "Prevent symbols from libgcc from being reexported."""

* commit '30c958f7f5dfd712f11026c5caa78aa7d67f082d':
Revert "Revert "Prevent symbols from libgcc from being reexported.""
f79ee064b64af54bce6d3931f4112761edb7d3a9 02-Jul-2014 Dan Albert <danalbert@google.com> Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""

This reverts commit 715242fd0f69e73a6aca19e32b8979fa0f384788.

Change-Id: Ia9892fa3b03287129aa72a49974cef9fd94ae735
nclude/ctype.h
nclude/sys/cdefs_elf.h
pstream-openbsd/android/include/openbsd-compat.h
4d8f3c4d9916019c592df0101e7eac4ddb7bcb9e 02-Jul-2014 Dmitriy Ivanov <dimitry@google.com> am 51c812cd: am 442d41fc: Merge "Write message to stderr on __libc_fatal()"

* commit '51c812cd220cd9f493d61df98ca77dd0b5f000da':
Write message to stderr on __libc_fatal()
eae0d91dd528101dac32dd9dc171d0c69fcc331f 01-Jul-2014 Elliott Hughes <enh@google.com> am 94f8beb7: am dc42d7ff: Merge "Fix a warning in if_indextoname.c."

* commit '94f8beb7e3450204bb117ca2301c1769a9b76dc2':
Fix a warning in if_indextoname.c.
ec67cded1d2969b5ba21028f0dd1560827947f3d 02-Jul-2014 Elliott Hughes <enh@google.com> Quiten warnings in fts.c.

Also bring us closer to upstream. Sadly the Linux and BSD dirent
structs don't match, so we'll never be completely in sync (and I don't
think we can hide the difference with macro trickery).

Change-Id: Ief4275856116cd1d5b5e0f9166db1ead9439515c
ionic/fts.c
e9975987900e5713c5b8b13e1817a243e92f79d9 02-Jul-2014 Elliott Hughes <enh@google.com> Merge "Quiten warnings in semaphore.c."
95d3cd0b85724d3702cfb71942f9aa0a5ee27c74 02-Jul-2014 Elliott Hughes <enh@google.com> Quiten warnings in semaphore.c.

Change-Id: I30aff82174f789ab407d2282c07e6207123d4d5b
ionic/semaphore.c
ff7d2d0920a6977c2d837a02b127a3f2bd30a73f 01-Jul-2014 Elliott Hughes <enh@google.com> am 56d0f8ca: am f573a52c: Merge "Silence time64.c build warnings."

* commit '56d0f8ca50900edca67e24cfdcfb33824551b0c2':
Silence time64.c build warnings.
12bf3bcdeeaa0dcdc7a4f4e4d11bc2fc3bf6bd7a 01-Jul-2014 Dmitriy Ivanov <dimitry@google.com> Write message to stderr on __libc_fatal()

Change-Id: Ia8d6e256768fa51786d0139d3f3b6e9e4bebe027
ionic/libc_logging.cpp
49eb7613068297a1f2181ad39a24f27cd87d89b1 01-Jul-2014 Elliott Hughes <enh@google.com> Fix a warning in if_indextoname.c.

Change-Id: Ib6afe2a5452022f5c98ec28fd110d6b910dccdad
ionic/if_indextoname.c
42a5a177e99ee2ba37e041cabbbc8175ed5c5dc5 02-Jul-2014 Dan Albert <danalbert@google.com> Merge "Revert "Revert "Prevent symbols from libgcc from being reexported."""
f1be48d4c28285034666d79c6ddbfc68e3205790 01-Jul-2014 Christopher Ferris <cferris@google.com> am 4ba40564: am 4ec3bc83: Merge "Add optimized stpcpy."

* commit '4ba40564c62bbd6ac52e53aad003bb424f1e8f10':
Add optimized stpcpy.
b18a1c3d195ac7bc2affc713d06050d0503c1b22 01-Jul-2014 Nick Kralevich <nnk@google.com> am e844f27a: am bcf77b5d: Merge "add CLOEXEC to various DNS related code"

* commit 'e844f27a05b32b7bf2fd68b1bd69e450040c1e24':
add CLOEXEC to various DNS related code
dd9efcbab631a823d67c71a36e17c15ebd8fe502 01-Jul-2014 Elliott Hughes <enh@google.com> am c5f1504e: am 6cdab387: Merge "Restore <nsswitch.h> which is BSD API, not private."

* commit 'c5f1504e3db3a39bb951bf01e2d0d758ca93cc44':
Restore <nsswitch.h> which is BSD API, not private.
4ec3bc83c632132bda915d00b5bc716dc6ab8dd8 01-Jul-2014 Christopher Ferris <cferris@google.com> Merge "Add optimized stpcpy."
bcf77b5dfff2c93187c42c613ada6d2b97bb02d4 01-Jul-2014 Nick Kralevich <nnk@google.com> Merge "add CLOEXEC to various DNS related code"
a3117041035c72b843d7b59a0d1b33f70caad368 30-Jun-2014 Elliott Hughes <enh@google.com> Restore <nsswitch.h> which is BSD API, not private.

Also make nsdispatch non-hidden. Firefox uses it.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1030899
Change-Id: Iaccc1ec813d196ec91ac475fcc4ae9dca756861d
ns/include/nsswitch.h
ns/net/nsdispatch.c
nclude/nsswitch.h
753eb7f07e7736ba3bd73b2653cbfb8863da2278 28-Jun-2014 Christopher Ferris <cferris@google.com> Add optimized stpcpy.

Change-Id: Ifed38f92a54fef4488fd0ed26a1569059a054574
rch-arm64/arm64.mk
rch-arm64/denver64/denver64.mk
rch-arm64/generic-neon/generic-neon.mk
rch-arm64/generic/bionic/stpcpy.S
rch-arm64/generic/bionic/strcpy.S
rch-arm64/generic/bionic/string_copy.S
rch-arm64/generic/generic.mk
71ee128e0cec0a5f43fb40fef81231a5d446d76f 30-Jun-2014 Elliott Hughes <enh@google.com> am e1047515: am f72c56d6: Merge "Switch to upstream NetBSD nsap_addr.c."

* commit 'e104751566da6e8ef340926781d5ef120bf1d801':
Switch to upstream NetBSD nsap_addr.c.
a210cae724313604f8cbd49cc6deab1be5239083 30-Jun-2014 Elliott Hughes <enh@google.com> Switch to upstream NetBSD nsap_addr.c.

These symbols should be public (and Firefox uses them), and we'd also probably
rather have the upstream thread-safe implementation.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1030899
Change-Id: I2a5888fbb3198546848398f576fd2195ff3fe00c
ndroid.mk
ns/inet/nsap_addr.c
pstream-netbsd/lib/libc/include/resolv_mt.h
pstream-netbsd/lib/libc/inet/nsap_addr.c
pstream-netbsd/lib/libc/resolv/mtctxres.c
1781ed7774671d5a750839650b9582ff0abbcf42 30-Jun-2014 Nick Kralevich <nnk@google.com> add CLOEXEC to various DNS related code

Occasionally file descriptors seem to be leaking across execs
from DNS related calls. Set close-on-execute for the various
sockets / file to prevent file descriptor leakage.

Change-Id: I4724b47bc7236f40c29518a6075598a9bba48b0a
ns/gethnamaddr.c
ns/net/getaddrinfo.c
ns/resolv/res_init.c
ns/resolv/res_send.c
066eb0b06d51e7ccbaea92e11de9c747314b03d6 01-Jul-2014 Elliott Hughes <enh@google.com> Silence time64.c build warnings.

Change-Id: Ibc5672480ee5e72eedf2bc29e420315b5346b0df
ionic/time64.c
29642e8ec6b136fe63dbc6aa34d75816b4bbc0e6 28-Jun-2014 Christopher Ferris <cferris@google.com> am d1bf0706: am 2e249c2e: Merge "Add optimized 64 bit strcpy."

* commit 'd1bf0706425d7ee4b6fd99fbda7653b788c1eb6f':
Add optimized 64 bit strcpy.
26c69d643840e71b41cf8511bd7d15147eb1af93 27-Jun-2014 Elliott Hughes <enh@google.com> am 5d4cb156: am ec97c3f0: Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."

* commit '5d4cb15610e91c99b062589e6297d423ed2e1176':
asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9.
35cf5c59b99994dad3572ffce7cb120e1aab34a2 27-Jun-2014 Christopher Ferris <cferris@google.com> am 627a8096: am a4a28d90: Merge "Add optimized neon strchr implementation based on newlib"

* commit '627a8096ea34a4dfe790a1a85617136e58e0ba4a':
Add optimized neon strchr implementation based on newlib
ec97c3f0246680c77a2f9d72e0f1600f799e1754 27-Jun-2014 Elliott Hughes <enh@google.com> Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."
2e249c2e7a1bc2290d34c77d48206e97b8b883b6 28-Jun-2014 Christopher Ferris <cferris@google.com> Merge "Add optimized 64 bit strcpy."
77561bfe0b83b32d5c5bfc0c97bacae9f4204b34 27-Jun-2014 Christopher Ferris <cferris@google.com> Add optimized 64 bit strcpy.

Change-Id: I4ac12735a53c3ae9336b148ce694fe6c63613139
rch-arm64/arm64.mk
rch-arm64/denver64/denver64.mk
rch-arm64/generic-neon/generic-neon.mk
rch-arm64/generic/bionic/strcpy.S
rch-arm64/generic/generic.mk
12c0274d9cdab4469bcdac865ad40b6e76525df7 27-Jun-2014 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Add optimized neon strchr implementation based on newlib

Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: I276ff0f879e733a1115456247e1342b9c5a09015
rch-arm64/arm64.mk
rch-arm64/denver64/denver64.mk
rch-arm64/generic-neon/generic-neon.mk
rch-arm64/generic/bionic/strchr.S
rch-arm64/generic/generic.mk
93e7b9f3eaf19aee6eac24b095982f5e25313535 26-Jun-2014 Raghu Gandham <raghu.gandham@imgtec.com> asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9.

Change-Id: Ie36b68d1260a656056f66a67750232a7da78c61f
Signed-off-by: Steve Ellcey <steve.ellcey@imgtec.com>
nclude/signal.h
f9ebc87c2c9fb66873fbfd83192d42b9df990144 25-Jun-2014 Elliott Hughes <enh@google.com> am e3ee7819: am ba4ebf78: Merge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings."

* commit 'e3ee7819378096fcc207262704dafea54101b712':
Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings.
00fb5f97be5d6d8da10dbaf047004917b9f8c7e4 25-Jun-2014 Elliott Hughes <enh@google.com> Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings.

Code written for glibc can be sloppy about these types on LP64 and
get away with it. It's probably better for our users if these types
are identical rather than just being the same size.

Change-Id: I3dd116d80569d2d101342a552c55f4a18884025b
nclude/sys/types.h
671ffdbf0ee28be094fc1d44933706d6bfbf88e7 25-Jun-2014 Elliott Hughes <enh@google.com> am 19fe877e: am d59ed678: Merge "Add splice, tee, and vmsplice."

* commit '19fe877ec35b7ff7d356d6f4020e77886fff89e2':
Add splice, tee, and vmsplice.
3f525d41c2acde2ae3309cf839d83d7f41ab2fe6 25-Jun-2014 Elliott Hughes <enh@google.com> Add splice, tee, and vmsplice.

Change-Id: I5f43380b88d776a8bb607b47dbbc5db5a2fe6163
YSCALLS.TXT
rch-arm/syscalls/splice.S
rch-arm/syscalls/tee.S
rch-arm/syscalls/vmsplice.S
rch-arm64/syscalls/splice.S
rch-arm64/syscalls/tee.S
rch-arm64/syscalls/vmsplice.S
rch-mips/syscalls/splice.S
rch-mips/syscalls/tee.S
rch-mips/syscalls/vmsplice.S
rch-mips64/syscalls/splice.S
rch-mips64/syscalls/tee.S
rch-mips64/syscalls/vmsplice.S
rch-x86/syscalls/splice.S
rch-x86/syscalls/tee.S
rch-x86/syscalls/vmsplice.S
rch-x86_64/syscalls/splice.S
rch-x86_64/syscalls/tee.S
rch-x86_64/syscalls/vmsplice.S
nclude/fcntl.h
8a41df652147e5283a1dec103276578432e632ad 25-Jun-2014 Elliott Hughes <enh@google.com> am cc9acb8d: am 52f9b051: Merge "Sync to current upstream arc4random."

* commit 'cc9acb8d7b10304e2cb215b471dc9f9636de47f8':
Sync to current upstream arc4random.
256f07ec5cce5b508b8ecf63fdbda8c4e66bee8c 24-Jun-2014 Elliott Hughes <enh@google.com> am 1411afd6: am 598f4b3a: Merge "Fix getpid caching across a clone."

* commit '1411afd6d18ee363b96c8e4b20561d5e946abfbf':
Fix getpid caching across a clone.
52f9b051c8bcb3d723b023a74d7d89ee45cf754c 24-Jun-2014 Elliott Hughes <enh@google.com> Merge "Sync to current upstream arc4random."
0468feb28696751efcddada8de69a622afffdba8 21-Jun-2014 Elliott Hughes <enh@google.com> Sync to current upstream arc4random.

This is actually revision 1.33, which is no longer the latest, but it's
as close to head as we can currently reasonably get. I've also switched
to the OpenBSD getentropy_linux.c implementation of getentropy, lightly
modified to try to report an error on failure.

Bug: 14499627
Change-Id: Ia7c561184b1f366c9bf66f248aa60f0d53535fcb
ndroid.mk
ionic/arc4random.c
ionic/thread_atexit.cpp
ionic/thread_private.cpp
nclude/stdlib.h
rivate/thread_private.h
pstream-openbsd/lib/libc/crypt/chacha_private.h
05509541af0f75139506a10df4d809fb52027b94 24-Jun-2014 Calin Juravle <calin@google.com> am b52d7e7b: am 63fa660b: Merge "Prefix cmsg_nxthdr with "__"."

* commit 'b52d7e7b6ebfac476a1f9506a1a8b2999797ef15':
Prefix cmsg_nxthdr with "__".
598f4b3ac1be3c6ef3af613ac4b0694841e165fe 24-Jun-2014 Elliott Hughes <enh@google.com> Merge "Fix getpid caching across a clone."
63fa660b52f1e9717f0a2105d4861a4b48c330b1 24-Jun-2014 Calin Juravle <calin@google.com> Merge "Prefix cmsg_nxthdr with "__"."
096b4eb752aa7a5392875cb2f2faf0d67c676ac1 19-Jun-2014 Calin Juravle <calin@google.com> Prefix cmsg_nxthdr with "__".

This brings us on par with glibc.

To avoid breaking clients, temporary keep cmsg_nxthdr until the next NDK
refresh.

Bug: 15822452
Change-Id: I24c24e68c31f4f2b8f3d2df7acd575cb75174173
ionic/cmsg_nxthdr.cpp
nclude/sys/socket.h
71f9b34fbeef00f3bd34364dadad41bff60b6b1d 24-Jun-2014 Dan Albert <danalbert@google.com> Revert "Revert "Prevent symbols from libgcc from being reexported.""

This reverts commit 4e4e1a5d78ff6dd9394b9b116c012046da409e99.

Change-Id: I8e78c3a59598e052e02965dd37b3fba8f567eed9
ndroid.mk
fa9e16efaf0e885f6044e725eb759ef6de10f7ef 24-Jun-2014 Elliott Hughes <enh@google.com> Fix getpid caching across a clone.

If you make clone, fork, or vfork system calls directly, you're still
on your own, but we now do the right thing for the clone wrapper.
With this implementation, children lose the getpid caching, but we've
no reason to think that that covers any significant use cases.

Bug: 15387103
Change-Id: Icfab6b63c708fea830960742ec92aeba8ce7680d
ionic/clone.cpp
15a75decbffaf4d79ac1ef240df6640089a2a7c1 23-Jun-2014 Dan Albert <danalbert@google.com> am af8046a9: am 66a805b9: Merge "Revert "Prevent symbols from libgcc from being reexported.""

* commit 'af8046a9f9ee4d341047dfff156077d7e7a559db':
Revert "Prevent symbols from libgcc from being reexported."
4e4e1a5d78ff6dd9394b9b116c012046da409e99 23-Jun-2014 Dan Albert <danalbert@google.com> Revert "Prevent symbols from libgcc from being reexported."

This reverts commit 65e80cf62200085f72c1c081aea2d6e9b800cde2.

Change-Id: I5f94b123f73db8d0b03cd71a5cffa0662776a017
ndroid.mk
66a805b91e53ae89d029d31f9e8b385bc79ac04a 23-Jun-2014 Dan Albert <danalbert@google.com> Merge "Revert "Prevent symbols from libgcc from being reexported.""
ff1917e08df149698ef56441736cd51efd5e8052 23-Jun-2014 Dan Albert <danalbert@google.com> am 203ec23c: am 559f3cb5: Merge "Use __builtin_*_chk for bcopy/bzero."

* commit '203ec23c4b92d76b6bc2597d7d07b7e01e52d83e':
Use __builtin_*_chk for bcopy/bzero.
0163222d182068b792723bd48f4d3bc4aa655326 21-Jun-2014 Dan Albert <danalbert@google.com> am b5e050d2: am 54e9dc02: Merge "Prevent symbols from libgcc from being reexported."

* commit 'b5e050d2f98d7a196ac85ffae42ebc057985a664':
Prevent symbols from libgcc from being reexported.
509cf86c807f67285e3bd800dd3fb5a3c15a90c8 21-Jun-2014 Dan Albert <danalbert@google.com> am 4b62f0d8: am 0d7415fb: Merge "Remove SHA1 from LP64 in favor of libcrypto."

* commit '4b62f0d809e6a29366f8bbc987b4091b0fb94863':
Remove SHA1 from LP64 in favor of libcrypto.
65e80cf62200085f72c1c081aea2d6e9b800cde2 19-Jun-2014 Dan Albert <danalbert@google.com> Prevent symbols from libgcc from being reexported.

Since this was not done earlier, there are binary compatibility concerns
that prevent us from being able to apply this to LP32.

Bug: 11156955
Change-Id: Ie717c3ae4b81c749548a45a993c834e109700b27
ndroid.mk
92f979725f738b1aefd53e9df361a36e85b2d680 21-Jun-2014 Christopher Ferris <cferris@google.com> am 6131798e: am ac86f994: Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"

* commit '6131798e574d85200053d93bc2673ab5a0f715fe':
[MIPS64] Regenerate mips kernel headers with fixed tool
4a96c1b216ada52cdd41a59bc0a354cffacd98ab 21-Jun-2014 Christopher Ferris <cferris@google.com> am 40b85d34: am eee5f173: Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"

* commit '40b85d34e0f87bdb0ede4c36d6389a7af9c6548c':
[MIPS64] Adjust kernel/tools for mips32,mips64 headers
8e34804df81b283439b29b98671aa36e994b2e62 21-Jun-2014 Elliott Hughes <enh@google.com> am 3e2ea6ba: am fb0a3622: Merge "Cache getpid."

* commit '3e2ea6ba22092ab23f4836d68eec2528f6f88ed1':
Cache getpid.
0d7415fb225573c37ff9e880957cd2044dd658ce 21-Jun-2014 Dan Albert <danalbert@google.com> Merge "Remove SHA1 from LP64 in favor of libcrypto."
ac86f99405707aa099e11d97cd68bfe011cf7a32 21-Jun-2014 Christopher Ferris <cferris@google.com> Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"
2300332596f181c8b5c19b6d912c645161cf1486 20-Jun-2014 Duane Sand <duane.sand@imgtec.com> [MIPS64] Regenerate mips kernel headers with fixed tool

Change-Id: I530891123cba78edbea4aa8af88390213711ab16
ernel/uapi/asm-mips/asm/fcntl.h
ernel/uapi/asm-mips/asm/msgbuf.h
ernel/uapi/asm-mips/asm/resource.h
ernel/uapi/asm-mips/asm/siginfo.h
ernel/uapi/asm-mips/asm/types.h
a69eaec4d48e978751356b2e8fd989d5e23a34db 19-Jun-2014 Duane Sand <duane.sand@imgtec.com> [MIPS64] Adjust kernel/tools for mips32,mips64 headers

Define CONFIG_32BIT as _ABIO32 rather than as 1;
it needs to be undefined for calls from mips64.
We need defined(CONFIG_32BIT) == !defined(CONFIG_64BIT),
and get that via defined(_ABIO32) == !defined(__LP64__).

Define CONFIG_CPU_LITTLE_ENDIAN to get correctly-placed
struct msqid64_ds fillers on ipc calls from mips32.
Without this, big-endian fillers were erroneously used.
This bug exists in prior mips32 Android releases.

Define __SANE_USERSPACE_TYPES__ to use int_ll64.h
rather than int_ll64.h on mips64.
This depends on external/kernel-headers patch
https://android-review.googlesource.com/#/c/98915/
http://patchwork.linux-mips.org/patch/6890/

Change-Id: If65fa80746533723cdf46eebe95733bea7ce24ba
ernel/tools/defaults.py
eee5f173d1e55c1fe35ef664b6eb0aa3eeab942d 21-Jun-2014 Christopher Ferris <cferris@google.com> Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"
8ca440089f37a11260a8a765acf50fb38fa08da4 22-Jun-2014 Dan Albert <danalbert@google.com> Use __builtin_*_chk for bcopy/bzero.

Replacing memmove/memset with their builtin check equivalents fixes an
implicit definition warning when only including strings.h.

Change-Id: I74f03b9506ea37f5c2f9c11498e379a70998b430
nclude/strings.h
fb0a3622f79bb0a31dd4d0e2f9cea990075ef129 20-Jun-2014 Elliott Hughes <enh@google.com> Merge "Cache getpid."
7086ad6919feb2415c6027163f5c63323bcca27c 20-Jun-2014 Elliott Hughes <enh@google.com> Cache getpid.

In practice, with this implementation we never need to make a system call.
We get the main thread's tid (which is the same as our pid) back from
the set_tid_address system call we have to make during initialization.
A new pthread will have the same pid as its parent, and a fork child's
main (and only) thread will have a pid equal to its tid, which we get for
free from the kernel before clone returns.

The only time we'd actually have to make a getpid system call now is if
we take a signal during fork and the signal handler calls getpid. (That,
or we call getpid in the dynamic linker while it's still dealing with its
own relocations and hasn't even set up the main thread yet.)

Bug: 15387103
Change-Id: I6d4718ed0a5c912fc75b5f738c49a023dbed5189
ndroid.mk
YSCALLS.TXT
rch-arm/syscalls/__getpid.S
rch-arm/syscalls/getpid.S
rch-arm64/syscalls/__getpid.S
rch-arm64/syscalls/getpid.S
rch-mips/syscalls/__getpid.S
rch-mips/syscalls/getpid.S
rch-mips64/syscalls/__getpid.S
rch-mips64/syscalls/getpid.S
rch-x86/syscalls/__getpid.S
rch-x86/syscalls/getpid.S
rch-x86_64/syscalls/__getpid.S
rch-x86_64/syscalls/getpid.S
ionic/fork.cpp
ionic/getpid.cpp
ionic/libc_init_common.cpp
ionic/pthread_create.cpp
ionic/pthread_internal.h
d5706a1a84070a76fd2747c0b68ebfc06c4ac81a 20-Jun-2014 Elliott Hughes <enh@google.com> am 87170203: am e58055f0: Merge "Expose tzname, daylight, and timezone."

* commit '8717020375529de8b6027b9040c34246e9a97f9d':
Expose tzname, daylight, and timezone.
dc042c64d14aa3988d9412ed307c21220c0cf700 20-Jun-2014 Elliott Hughes <enh@google.com> am 9d963b40: am d1bf3778: Merge "Build tzcode with hidden visibility."

* commit '9d963b406b9e2ac98a820b868c99be91a0f5842d':
Build tzcode with hidden visibility.
06366724d572ef005f5bc0ddd8ad46794cbfad3b 20-Jun-2014 Elliott Hughes <enh@google.com> Expose tzname, daylight, and timezone.

These were accidentally hidden.

Bug: 11156955
Change-Id: I380f00bdafa547aea13d4634f3de9ec6f0b50a6f
nclude/time.h
dbb4328da3e7653b07f7f3151d31e378a5293890 19-Jun-2014 Elliott Hughes <enh@google.com> am abd03d34: am 29e3a0e3: Merge "Fix arm64 localtime.c build."

* commit 'abd03d348c13b5d5301702151e0729f6a491092f':
Fix arm64 localtime.c build.
15dcc6f4cbe6f0729372b8b5633872dcfa756ae8 19-Jun-2014 Elliott Hughes <enh@google.com> am ef0273e1: am 477b45b8: Merge "Build tzcode with -Werror."

* commit 'ef0273e130e171523e256efc2f077dbccca50ad6':
Build tzcode with -Werror.
d10db8261949e4d84b65f5c369153d0ca86ab22c 19-Jun-2014 Elliott Hughes <enh@google.com> Build tzcode with hidden visibility.

Bug: 11156955
Change-Id: Ib98d837b56cbbdfd01687cb3054fe3103eec0da9
ndroid.mk
nclude/time.h
nclude/wchar.h
rivate/bionic_time.h
zcode/localtime.c
zcode/strftime.c
2cb752664bbde379c20931fa330563d775b60033 19-Jun-2014 Elliott Hughes <enh@google.com> Fix arm64 localtime.c build.

I'm sick of having so many different compilers.

Change-Id: I9088c38df2504e2b827d0ce5ba0fa551ae48f8f9
zcode/localtime.c
a2e7dc7cef278dcbe2445004b09140c1ee6de17b 19-Jun-2014 Elliott Hughes <enh@google.com> am 442a0b1c: am 942fa486: Merge "Update localtime.c."

* commit '442a0b1ca3a4a1ae0ddc022991bc25f8df92b23f':
Update localtime.c.
66802993d59a6d2f9616e3c73721724e4255c169 19-Jun-2014 Christopher Ferris <cferris@google.com> am fa817e64: am 5c864766: Merge "add 64-bit bionic implementation for denver arch"

* commit 'fa817e64e9a422b6c9380b81597cf8bf8d44849f':
add 64-bit bionic implementation for denver arch
3b46eaa80c55be6125ca1222c38d01153ada05d0 19-Jun-2014 Dan Albert <danalbert@google.com> am 6eeb6176: am 0df59bd3: Merge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""

* commit '6eeb61767d367258bb5709265769a3a931090529':
Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."
715242fd0f69e73a6aca19e32b8979fa0f384788 19-Jun-2014 Dan Albert <danalbert@google.com> Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."

This reverts commit dd4ad5c463c9bd479e8acf81227708717aafe204.

Change-Id: If3c9771825e460ce68604082f4feb0ca783e56c6
nclude/ctype.h
nclude/sys/cdefs_elf.h
pstream-openbsd/android/include/openbsd-compat.h
15d0e2a1c1a240c2bead226acd31befbc7a21246 19-Jun-2014 Christopher Ferris <cferris@google.com> am 79cd486d: am 0b09153c: Merge "Move common macros into bionic_macros.h."

* commit '79cd486d54edd1fbaf6b33872f5c35e273d3c324':
Move common macros into bionic_macros.h.
0df59bd3a5aed6c90dbac80f2c85968af52730d6 19-Jun-2014 Dan Albert <danalbert@google.com> Merge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
ee5b17b479ef912d0097040e44c54dfc81ac7baa 18-Jun-2014 Dan Albert <danalbert@google.com> am 9fbcc435: am a5fe7b89: Merge "Hide _tolower_tab_ and _toupper_tab_ on LP64."

* commit '9fbcc435dc8ab7d82653230c810e3071c5b5cc06':
Hide _tolower_tab_ and _toupper_tab_ on LP64.
65e8bca62496b8ab8b0fb901caa809352e47fe53 18-Jun-2014 Dan Albert <danalbert@google.com> am 9ac80645: am 49d5399b: Merge "Hide __atexit and remove __atexit_invalid."

* commit '9ac80645542e03559ecee6524d87791b1b1f5fd7':
Hide __atexit and remove __atexit_invalid.
dd4ad5c463c9bd479e8acf81227708717aafe204 18-Jun-2014 Dan Albert <danalbert@google.com> Hide _tolower_tab_ and _toupper_tab_ on LP64.

We can't hide them on LP32 because they appeared in NDK headers.

Bug: 11156955
Change-Id: I22bf5a0f4d330c04b49565bc598cd0568128d4fc
nclude/ctype.h
nclude/sys/cdefs_elf.h
pstream-openbsd/android/include/openbsd-compat.h
a5fe7b89528d8a03063a3579e971c901a2fc6f32 18-Jun-2014 Dan Albert <danalbert@google.com> Merge "Hide _tolower_tab_ and _toupper_tab_ on LP64."
1cd8f57cbc645730cf52412df681c8a8f3d2643d 18-Jun-2014 Dan Albert <danalbert@google.com> am b29a7f1d: am ef82c28d: Merge "Hide declaration of gets(3) for C11 and later."

* commit 'b29a7f1d29a1183c1f1a67433f36ae09cf1eee89':
Hide declaration of gets(3) for C11 and later.
3bb25acb4672875abe2ad06ddfacb1ca07c1cb60 18-Jun-2014 Dan Albert <danalbert@google.com> am b86ffd8d: am 1ef3ba2b: Merge "Revert "Hide declaration of gets(3) for C11 and later.""

* commit 'b86ffd8d82c177b393e6ed3199ee94331776afc7':
Revert "Hide declaration of gets(3) for C11 and later."
7cd4e725615678f5f70cbddc88a1ec7c1e41bbb1 18-Jun-2014 Dan Albert <danalbert@google.com> am 285a1c13: am 185c399c: Merge "Hide declaration of gets(3) for C11 and later."

* commit '285a1c13482f64813dd8f5dd54b479199c0f2569':
Hide declaration of gets(3) for C11 and later.
9635046e53e14ff44348853a9cacdffd444b35ae 18-Jun-2014 Dan Albert <danalbert@google.com> Hide declaration of gets(3) for C11 and later.

gets(3) was removed from C11.

This reverts commit 1291680c2a0c23b2163198d27e00261ca206298b.

Bug: 14500800
Change-Id: I5e5146bdbb80f2be818a17f287b112bab37d1f6d
nclude/stdio.h
8a72b6187fef090f9247c9ef4d1961c05bc79af6 17-Jun-2014 Elliott Hughes <enh@google.com> am 775b2a0d: am 4ac22649: Merge "Add <linux/tty.h> to libc/include/sys/ioctl.h"

* commit '775b2a0d9ca8ba17f9f443b203536c9879bd519c':
Add <linux/tty.h> to libc/include/sys/ioctl.h
5f564540a953a670925e058dabc521f68ffb997c 19-Jun-2014 Elliott Hughes <enh@google.com> Build tzcode with -Werror.

Parts of this are just getting us in sync with upstream, but the
'const' stuff is our own mess. We should kill the *_tz functions
and lose this difference from upstream.

Change-Id: I17d26534ed3f54667143d78147a8c53be56d7b33
ndroid.mk
zcode/localtime.c
zcode/private.h
zcode/strftime.c
942fa486f669da8bb5db724d5c4fdc93b4fb65d9 19-Jun-2014 Elliott Hughes <enh@google.com> Merge "Update localtime.c."
906eb9999b39edc0d09cd19ae94523e92ed5ad2e 19-Jun-2014 Elliott Hughes <enh@google.com> Update localtime.c.

This brings us closer to upstream's ToT localtime.c; our main interest
being their alternative fix for the stack usage we addressed in commit
8a8b0c9bfcd80c67154ed2aca1e60d815c822acb.

Bug: 14468519
Change-Id: Ic28600115afda7f3158d91255edf422678bac082
zcode/localtime.c
5c8647665c7fa84f50f75a18f7455c8f9c927c39 19-Jun-2014 Christopher Ferris <cferris@google.com> Merge "add 64-bit bionic implementation for denver arch"
0b09153c12915c6d17434cf9fed2389f6fe4e713 18-Jun-2014 Christopher Ferris <cferris@google.com> Merge "Move common macros into bionic_macros.h."
03eebcb6e8762e668a0d3af6bb303cccb88c5b81 13-Jun-2014 Christopher Ferris <cferris@google.com> Move common macros into bionic_macros.h.

Bug: 15590152
Change-Id: I730636613ef3653f68c5ab1d43b53beaf8e0dc25
ionic/jemalloc_wrapper.cpp
ionic/malloc_debug_check.cpp
ionic/malloc_debug_leak.cpp
ionic/malloc_debug_qemu.cpp
ionic/pthread_create.cpp
ionic/system_properties.cpp
rivate/bionic_macros.h
rivate/bionic_tls.h
11f715c62ee1464065560a2b78f0c20995e17e3b 18-Jun-2014 Dan Albert <danalbert@google.com> Hide __atexit and remove __atexit_invalid.

Bug: 11156955
Change-Id: I8c72edee8ecb92b75a282384277253bae19f7455
tdlib/atexit.c
tdlib/atexit.h
1ef3ba2b4fd2408cdd78828ec2930ce31ce8cee7 18-Jun-2014 Dan Albert <danalbert@google.com> Merge "Revert "Hide declaration of gets(3) for C11 and later.""
1291680c2a0c23b2163198d27e00261ca206298b 18-Jun-2014 Dan Albert <danalbert@google.com> Revert "Hide declaration of gets(3) for C11 and later."

Breaks stlport. checkbuild lied to me?

This reverts commit c0ce5908277a9bf18628946629dba4277e9a2281.

Change-Id: I72fb21aba7eaea96a7c3208236fd03411527fa5e
nclude/stdio.h
c0ce5908277a9bf18628946629dba4277e9a2281 18-Jun-2014 Dan Albert <danalbert@google.com> Hide declaration of gets(3) for C11 and later.

gets(3) was removed from C11.

Change-Id: I4040a8a6c6d5d2a86878e8a80ca67964fbbb82a8
nclude/stdio.h
4ac22649441339d0a81e0fc6428ac7f1867ffe6f 17-Jun-2014 Elliott Hughes <enh@google.com> Merge "Add <linux/tty.h> to libc/include/sys/ioctl.h"
185c399c581f867ad288737b5f824a1fda1f6aaf 18-Jun-2014 Dan Albert <danalbert@google.com> Merge "Hide declaration of gets(3) for C11 and later."
49b7175138bb35d921fca449f1fd263005e70332 17-Jun-2014 Christopher Ferris <cferris@google.com> am d61729c0: am b656410a: Merge "Use a separate config.h for config like defines."

* commit 'd61729c0a55ce139c57cbf526cbfd3e448e3d3f1':
Use a separate config.h for config like defines.
b656410a73c4dfa2a3f8deba0a673080320f8605 17-Jun-2014 Christopher Ferris <cferris@google.com> Merge "Use a separate config.h for config like defines."
636196438180fd37027bf7b7119a436169b6923e 17-Jun-2014 Christopher Ferris <cferris@google.com> Use a separate config.h for config like defines.

This allows an easier way to share config parameters between unit tests
and the bionic code.

It also fixes a problem where the 32 bit bionic tests based on glibc, or
the cts list executable did not have the pvalloc,valloc tests.

Change-Id: Ib47942cb8a278252faa7498a6ef23e9578db544f
ionic/malloc_debug_common.h
rivate/bionic_config.h
c92354b66d28c78e144325e8a1b4e0836fbbeac0 17-Jun-2014 Christopher Ferris <cferris@google.com> am 6589ba15: am d10d3acd: Merge "Move jemalloc due to whole_static_library bug."

* commit '6589ba1561fd97785a0eb5c2eb8cc7d41a5b83e1':
Move jemalloc due to whole_static_library bug.
c82c0b7e072491da4818e7de37411fbb2055fce1 17-Jun-2014 Dan Albert <danalbert@google.com> Remove SHA1 from LP64 in favor of libcrypto.

Keep the symbols around on LP32 for binary compatibility.

Bug: 11156955
Change-Id: I379a7e0fa3092e9a70daeafcbcb2aacfc314031a
ndroid.mk
rch-arm/arm.mk
rch-mips/mips.mk
rch-x86/x86.mk
nclude/sha1.h
nclude/sys/sha1.h
pstream-netbsd/android/include/sys/sha1.h
c4978a564688d2488d69f6529d864f950095a7bc 17-Jun-2014 Dan Albert <danalbert@google.com> am 7a11b7a6: am a217a0cd: Merge "libc: Fix \'index\' symbol export."

* commit '7a11b7a674805f8373fd9f126ee46721ccab8eeb':
libc: Fix 'index' symbol export.
f3fc2fe72c182d0a7370b56be7ebce07c4ea7c26 17-Jun-2014 Dan Albert <danalbert@google.com> am c732859d: am 4fb0d4fb: Merge "Revert "Revert "Remove ftime from bionic LP64"""

* commit 'c732859d241a182dc0a9c8b2a2bca9ec5926cd39':
Revert "Revert "Remove ftime from bionic LP64""
15d00e2989d94d378a8b99a04116d0cf4b023930 17-Jun-2014 Dan Albert <danalbert@google.com> am f49791fd: am 9a3ad98f: Merge "Removes getdtablesize(3) from LP64."

* commit 'f49791fd8767a3b09fe70febc9142da45c4398f1':
Removes getdtablesize(3) from LP64.
b618aa818d8d3f373b333dee9ab685c2c6b7f88c 16-Jun-2014 Elliott Hughes <enh@google.com> am fe6e646c: Update NOTICE files.

* commit 'fe6e646cb79fe15d7815fdb9c92cc66be56ab1d4':
Update NOTICE files.
ac6467587e864d199377f14281da4641f979a68a 05-Jun-2014 Dan Albert <danalbert@google.com> Revert "Revert "Remove ftime from bionic LP64""

This reverts commit 0921204660b9597de795065d0350a787035ad589.

Change-Id: I749af8d7d429cda9f9d09a75bd30df54e6b1dd65
ndroid.mk
ionic/ftime.c
ionic/ndk_cruft.cpp
nclude/sys/timeb.h
fe6e646cb79fe15d7815fdb9c92cc66be56ab1d4 16-Jun-2014 Elliott Hughes <enh@google.com> Update NOTICE files.

Change-Id: I459caf48ba861372a4d0bc75f98a9cb4acc20fd5
OTICE
462abab12b074c62c0999859e65d5a32ebb41951 14-Jun-2014 Dan Albert <danalbert@google.com> Removes getdtablesize(3) from LP64.

getdtablesize(3) was removed fro POSIX 2004. Keep the symbol around in LP32 for
binary compatibility, but remove the declaration from unistd.h.

Bug: 13935372
Change-Id: I1f96cd290bf9176f922dad58bd5a7ab2cae7ef0f
ndroid.mk
ionic/getdtablesize.c
ionic/ndk_cruft.cpp
nclude/unistd.h
3a37576d4b9714989b0618f6d1a2d2b2df77ed2b 17-Jun-2014 Christopher Ferris <cferris@google.com> Move jemalloc due to whole_static_library bug.

Rename jemalloc.cpp to jemalloc_wrapper.cpp to avoid problems with
the libc library having two jemalloc.o files that clobber each other.

Change-Id: I9a2d966dbf414b1367ee0ef1f0d73fca6f25b518
ndroid.mk
ionic/jemalloc.cpp
ionic/jemalloc_wrapper.cpp
891dedb935b50f1abb39eedfe33049a1e49283cb 13-Jun-2014 David 'Digit' Turner <digit@google.com> libc: Fix 'index' symbol export.

The C library didn't export the 'index' symbol, but its C++ name-mangling
instead, which broke the ABI and prevented some applications from loading
properly.

The main reason was that the implementation under bionic/index.cpp relied
on the declaration to specify that the function has C linkage.

However, the declaration for index() was removed from both <string.h>
and <strings.h> in a recent patch, which made the compiler think it was
ok to compile the function with C++ linkage instead!

This patch does the following:

- Move index() definition to bionic/ndk_cruft.cpp and ensure it uses
C linkage.

Note that this removes index() from the 64-bit library entirely, this
is intentional and will break source compatibility. Simply replacing
an index() call with the equivalent strchr() should be enough to fix
this in third-party code.

- Remove bionic/index.cpp from the tree and build files.

- Remove x86 assembly implementation from arch-x86/ to avoid conflict
with the one in ndk_cruft.cpp

BUG=15606653

Change-Id: I816b589f69c8f8a6511f6be6195d20cf1c4e8123
rch-arm/arm.mk
rch-mips/mips.mk
rch-x86/atom/atom.mk
rch-x86/atom/string/sse2-index-atom.S
rch-x86/generic/generic.mk
rch-x86/silvermont/silvermont.mk
ionic/index.cpp
ionic/ndk_cruft.cpp
ca24f7dcfad913fff385edde744b0cedaa029118 14-Jun-2014 Dan Albert <danalbert@google.com> am 38ebfc09: am 72dc1c22: Merge "Revert "Backing this one out since the counterpart needs to be sent upstream.""

* commit '38ebfc09ea610687d028db5f0a7b8f6789932288':
Revert "Backing this one out since the counterpart needs to be sent upstream."
758f56d368858c85ccd01126b386667d34166392 14-Jun-2014 Dan Albert <danalbert@google.com> am 54c61d57: am b84783ec: Merge "Backing this one out since the counterpart needs to be sent upstream."

* commit '54c61d5715715ac7f1c6a4f7a53f981e09dc7134':
Backing this one out since the counterpart needs to be sent upstream.
dd45ea3c08c1b40cdda8f1a299720a69176f8cf5 14-Jun-2014 Dan Albert <danalbert@google.com> am 263fe685: am 65b1c90a: Merge "Hides valloc(3)/pvalloc(3) on LP64."

* commit '263fe68548f430d532517056963cb5de6863b9cc':
Hides valloc(3)/pvalloc(3) on LP64.
4ef9bbb01da94fce562650fd59d69cccb1999f60 14-Jun-2014 Dan Albert <danalbert@google.com> am 080c820d: am b725e762: Merge "Removes wait3(2) from LP64."

* commit '080c820d3f4506f5ef2c2ccc90c0197342b33472':
Removes wait3(2) from LP64.
0af830d29c6f24428650d0eda2a5ae12a44aa930 14-Jun-2014 Dan Albert <danalbert@google.com> am 0021dcef: am f87ac523: Merge "Remove ioprio_get(2) and ioprio_set(2) from LP64."

* commit '0021dcef7214823824555d9d694a59e2f4aba45d':
Remove ioprio_get(2) and ioprio_set(2) from LP64.
1f29fd72c88dd38298654ffe9fc5c0bc73a8871a 13-Jun-2014 Elliott Hughes <enh@google.com> am 7e6f6965: am 1e7ae47d: Merge "Bring our "libresolv" stuff in line with glibc."

* commit '7e6f6965982183ebae357e61e7bad55b91e97cc9':
Bring our "libresolv" stuff in line with glibc.
edf7d7a723fa005220769f8916917b6fbf632524 13-Jun-2014 Elliott Hughes <enh@google.com> am f005d976: am 15330331: Merge "Upgrade to tzdata2014e."

* commit 'f005d9769096d92a31d3b4377d29fcc251a07c87':
Upgrade to tzdata2014e.
773b85eff8f123389e9dc75eea9df0a977ebe132 13-Jun-2014 Elliott Hughes <enh@google.com> am a335c869: am 0f690d9e: Merge "Fix x86-64 libvpx build."

* commit 'a335c869748b133c661cc1efff3028984ee9f7aa':
Fix x86-64 libvpx build.
0069f310662c1ec7013f841a278a492432d66425 05-Jun-2014 Qiming Shi <qiming.shi@intel.com> Add <linux/tty.h> to libc/include/sys/ioctl.h

This is the change to export the tty ldisc definitions (like N_TTY)
from Linux uapi kernel header. So bionic is compatbile with glibc
which has its own tty ldisc definition exported through ioctl.h

Change-Id: I44e4c7cc2eba31549e9c9c75f74961a949d4a696
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Yin, Fengwei <fengwei.yin@intel.com>
nclude/sys/ioctl.h
62e50ea8deebffca75d6ecfeac3279880de4f60b 13-Jun-2014 Elliott Hughes <enh@google.com> am 294cae0f: am 1aaed87f: Merge "Somewhere, the declaration of _resolv_delete_cache_for_net went missing."

* commit '294cae0f18ceae96e1a5f8b42ae9fd8064b98746':
Somewhere, the declaration of _resolv_delete_cache_for_net went missing.
ec93f16302d1cb7cd6d4c8a20bb0e49766c1158a 13-Jun-2014 Christopher Ferris <cferris@google.com> am 9552809d: am 2ba734d8: Merge "Fix %u format that should have been %zu."

* commit '9552809d30a6f1ac54af8c8e9bcb616bd4da6c93':
Fix %u format that should have been %zu.
48691a0bb4aeb131d02ab6240459cb076e08073d 13-Jun-2014 Elliott Hughes <enh@google.com> am eb917428: am ff17671b: Merge "Add a hack to <stdlib.h> until we can fix libvpx."

* commit 'eb91742861607539fa88ae6d962597dde00ff860':
Add a hack to <stdlib.h> until we can fix libvpx.
bbc485c8920343fca48725cd9dac6f7ad0404daf 13-Jun-2014 Elliott Hughes <enh@google.com> am cc24144e: am 5d25d548: Merge "Remove __memcmp16 from bionic."

* commit 'cc24144e5b431d5eb7d688a7f8f32c743c6469e0':
Remove __memcmp16 from bionic.
b38018f78605228db3fdebe2f5263904c7418eae 13-Jun-2014 Elliott Hughes <enh@google.com> am c189362d: am 564222e3: Merge "Use default hidden visibility to build libc_dns."

* commit 'c189362d879520243cc9e1ba65b9828165efa159':
Use default hidden visibility to build libc_dns.
658150d431cd12f9782633d0269bf90e58651674 13-Jun-2014 Christopher Ferris <cferris@google.com> am d92ba899: am 29ddd78c: Merge "Put all allocation functions into dispatch table."

* commit 'd92ba899450953e5ec9259f826c1790fc09004f7':
Put all allocation functions into dispatch table.
78ad3cd2eb83274cd13c72bb90f7a41d7d3f6882 13-Jun-2014 Elliott Hughes <enh@google.com> am d13ff0f0: am 346fa721: Merge "Get the full set of PRNG functions in <stdlib.h>"

* commit 'd13ff0f0b3c228753b11ac55015618978b49ada3':
Get the full set of PRNG functions in <stdlib.h>
addd6a2f1d11ce1fb6dfe9915f31f7419a755b59 13-Jun-2014 Elliott Hughes <enh@google.com> Upgrade to tzdata2014e.

From the release notes:

Changes affecting near-future time stamps

Egypt's 2014 Ramadan-based transitions are June 26 and July 31 at 24:00.
(Thanks to Imed Chihi.) Guess that from 2015 on Egypt will temporarily
switch to standard time at 24:00 the last Thursday before Ramadan, and
back to DST at 00:00 the first Friday after Ramadan.

Similarly, Morocco's are June 28 at 03:00 and August 2 at 02:00. (Thanks
to Milamber Space Network.) Guess that from 2015 on Morocco will
temporarily switch to standard time at 03:00 the last Saturday before
Ramadan, and back to DST at 02:00 the first Saturday after Ramadan.

Changes affecting past time stamps

The abbreviation "MSM" (Moscow Midsummer Time) is now used instead of
"MSD" for Moscow's double daylight time in summer 1921. Also, a typo
"VLASST" has been repaired to be "VLAST" for Vladivostok summer time
in 1991. (Thanks to Hank W. for reporting the problems.)

Change-Id: Iaca5e8c2d572559b464b10d24f4315405e413ada
oneinfo/tzdata
e61919ad11fc0ca6749ee4d6855bc8b2c316a8f9 13-Jun-2014 Elliott Hughes <enh@google.com> Fix x86-64 libvpx build.

This is now fixed upstream, but we need to wait for it to come back down
via chromium...

Bug: 15598056
Change-Id: I08f1be4296c391cfc1616a5ff0815be14071594a
nclude/stdlib.h
2ba734d8cd370d9cdb544f4d3afecc9a13e35116 13-Jun-2014 Christopher Ferris <cferris@google.com> Merge "Fix %u format that should have been %zu."
580b6e09febc967b5039ef5d148be883089d0eff 13-Jun-2014 Christopher Ferris <cferris@google.com> Fix %u format that should have been %zu.

Change-Id: Icedacf6783d6b0cf4783c838b3c4622d2e67f073
ionic/malloc_debug_qemu.cpp
a403780538ac9d1a260e064df6599663f8cc4166 10-Jun-2014 Christopher Ferris <cferris@google.com> Put all allocation functions into dispatch table.

Implement these new functions for all of the debug malloc types.

Fix a number of bugs in the debug malloc functions related to overflow
conditions.
Fix a bug in dlpvalloc due to an overflow condition.

Fix various other bugs in the debug malloc functions.

Add new tests for malloc functions.

Bug: 11225066

Change-Id: Idf50f389603e2157645565bc15cd9365eec2e9dd
ionic/malloc_debug_check.cpp
ionic/malloc_debug_common.cpp
ionic/malloc_debug_common.h
ionic/malloc_debug_leak.cpp
ionic/malloc_debug_qemu.cpp
pstream-dlmalloc/malloc.c
29ddd78c21b15117bc7d4fc196f3a503f3aab3e2 13-Jun-2014 Christopher Ferris <cferris@google.com> Merge "Put all allocation functions into dispatch table."
8e204200648be4293edac89c4ab92e03c3b7613f 12-Jun-2014 Dan Albert <danalbert@google.com> am fde37008: am 37b845f9: Merge "Remove declaration for putw(3)/getw(3)."

* commit 'fde37008e514d408ba8075144a1903c1509707e8':
Remove declaration for putw(3)/getw(3).
fcaa13e3546625f6ce44253f1eee2b1c02c8d468 12-Jun-2014 Elliott Hughes <enh@google.com> am e1c47a2e: am d242aff4: Merge "Fix most of the tzcode warnings."

* commit 'e1c47a2e87985d339ef5a85dbf637c42736b0ba7':
Fix most of the tzcode warnings.
0ef7a8fd31a7ee9571c54c17e1f42cba4cfb44ec 17-Mar-2014 Shu Zhang <chazhang@nvidia.com> add 64-bit bionic implementation for denver arch

Add 64-bit bionic implementation for denver. memcpy/memset are
denver-specific optimized. Use generic version of other routines.

Change-Id: I44a830e07b82b2986001d73d1540b4080aaa839b
rch-arm64/arm64.mk
rch-arm64/denver64/bionic/memcpy.S
rch-arm64/denver64/bionic/memset.S
rch-arm64/denver64/denver64.mk
72dc1c22dc6a92dea925398c9e3880364ab29c1c 14-Jun-2014 Dan Albert <danalbert@google.com> Merge "Revert "Backing this one out since the counterpart needs to be sent upstream.""
e5fdaa4f9d102461a4d8a865e6ca84666893b9e7 14-Jun-2014 Dan Albert <danalbert@google.com> Revert "Backing this one out since the counterpart needs to be sent upstream."

This reverts commit a04d2bc28e7d7fcaf34ad71e4a6608a13cf84197.

Change-Id: I1b49165ca5d4bafdba7948818256a6167a363aca
ionic/malloc_debug_common.cpp
ionic/malloc_debug_common.h
nclude/malloc.h
a04d2bc28e7d7fcaf34ad71e4a6608a13cf84197 14-Jun-2014 Dan Albert <danalbert@google.com> Backing this one out since the counterpart needs to be sent upstream.

This reverts commit 5ee320dd35fafc11eaf90c62198e08c6670e35b4.

Change-Id: I1a9c6b06c3aca595f01c629f7649be743dc48e77
ionic/malloc_debug_common.cpp
ionic/malloc_debug_common.h
nclude/malloc.h
5ee320dd35fafc11eaf90c62198e08c6670e35b4 12-Jun-2014 Dan Albert <danalbert@google.com> Hides valloc(3)/pvalloc(3) on LP64.

These were removed from POSIX 2004. Hides the header declarations for all
targets, and hides the symbols for LP64.

Bug: 13935372
Change-Id: Id592f67e9b7051517a05f536e1373b30162e669c
ionic/malloc_debug_common.cpp
ionic/malloc_debug_common.h
nclude/malloc.h
b84783ecaa71f9450152f8d9b5f97e1b07f05ef6 14-Jun-2014 Dan Albert <danalbert@google.com> Merge "Backing this one out since the counterpart needs to be sent upstream."
5d25d5480ab1e02d8f1e39f5936a3180e84a842c 13-Jun-2014 Elliott Hughes <enh@google.com> Merge "Remove __memcmp16 from bionic."
24614b4729a4c8665193f5793b93019b37f779b1 13-Jun-2014 Elliott Hughes <enh@google.com> Remove __memcmp16 from bionic.

Change-Id: I2486d667d96c8900dd368d855f37c1327161efb7
rch-arm/arm.mk
rch-arm/bionic/memcmp16.S
rch-arm64/arm64.mk
rch-mips/bionic/memcmp16.S
rch-mips/mips.mk
rch-mips64/bionic/memcmp16.S
rch-mips64/mips64.mk
rch-x86/atom/atom.mk
rch-x86/atom/string/ssse3-memcmp16-atom.S
rch-x86/generic/generic.mk
rch-x86/silvermont/silvermont.mk
rch-x86_64/x86_64.mk
ionic/__memcmp16.cpp
564222e3384eb1c649bc75650deb847c40ec7da3 13-Jun-2014 Elliott Hughes <enh@google.com> Merge "Use default hidden visibility to build libc_dns."
8563802b04347951d8878747a830987e5ca145f5 16-May-2014 Elliott Hughes <enh@google.com> Use default hidden visibility to build libc_dns.

Bug: 11156955
Change-Id: Ia443705f5fbee0681039d4480abc89850968f475
ndroid.mk
ns/include/resolv_netid.h
nclude/netdb.h
nclude/resolv.h
37b845f9e410e326f24fa8c820774d92eafa4dd3 12-Jun-2014 Dan Albert <danalbert@google.com> Merge "Remove declaration for putw(3)/getw(3)."
65b1c90a32036cbb06ff610fbae545b65ae8b72d 14-Jun-2014 Dan Albert <danalbert@google.com> Merge "Hides valloc(3)/pvalloc(3) on LP64."
b725e7627f0e35d0c7acb1c09fe3cb89b0a4d481 14-Jun-2014 Dan Albert <danalbert@google.com> Merge "Removes wait3(2) from LP64."
8229ae46f4fb165a18da4dca1be74c4c099c3ee7 14-Jun-2014 Dan Albert <danalbert@google.com> Removes wait3(2) from LP64.

wait3(2) was removed from POSIX 2004. Keep the symbol around in LP32 for binary
compatibility, but remove the declaration in sys/wait.h.

Bug: 13935372
Change-Id: Ic715fce6781aae43b4ac6d745dc6d1e6b9914e71
ionic/ndk_cruft.cpp
ionic/wait.cpp
nclude/sys/wait.h
f87ac523a1aa02490d67330e74180c8ac2d78420 13-Jun-2014 Dan Albert <danalbert@google.com> Merge "Remove ioprio_get(2) and ioprio_set(2) from LP64."
607341e226912d95d03216483bdcef6f8d96f8b4 13-Jun-2014 Dan Albert <danalbert@google.com> Remove ioprio_get(2) and ioprio_set(2) from LP64.

Bug: 11156955
Change-Id: I07b596d85e4bd6347d488d1a92c8d0a00b5ef3b3
YSCALLS.TXT
rch-arm/syscalls/ioprio_get.S
rch-arm/syscalls/ioprio_set.S
rch-arm64/syscalls/ioprio_get.S
rch-arm64/syscalls/ioprio_set.S
rch-mips/syscalls/ioprio_get.S
rch-mips/syscalls/ioprio_set.S
rch-mips64/syscalls/ioprio_get.S
rch-mips64/syscalls/ioprio_set.S
rch-x86/syscalls/ioprio_get.S
rch-x86/syscalls/ioprio_set.S
rch-x86_64/syscalls/ioprio_get.S
rch-x86_64/syscalls/ioprio_set.S
1e7ae47d40aad100fa16731418ac8af7b9919da7 13-Jun-2014 Elliott Hughes <enh@google.com> Merge "Bring our "libresolv" stuff in line with glibc."
e8e453439fa87d9fccf03006cc4dac76acadf44c 13-Jun-2014 Elliott Hughes <enh@google.com> Bring our "libresolv" stuff in line with glibc.

Despite the name, most of resolv_private.h is actually in glibc; it's just
that there it's tucked away in libresolv whereas we have it in libc.

Change-Id: Ibcf6603f1141ffd2661cee0bffa83052d4f9e549
ns/include/resolv_private.h
ools/check-symbols-glibc.py
7f2d4c21cc7b7f27a5163f5a6d5bc724116a8cde 13-Jun-2014 Elliott Hughes <enh@google.com> Somewhere, the declaration of _resolv_delete_cache_for_net went missing.

I couldn't work out where this went missing from "git log", but it became
important with the switch to hidden visibility.

Change-Id: I921f81e36642a2c65c3ec85dc9b5b87c5d977a5b
ns/include/resolv_netid.h
ff17671bc630d294903aa2827b76156590b09629 13-Jun-2014 Elliott Hughes <enh@google.com> Merge "Add a hack to <stdlib.h> until we can fix libvpx."
3fb5097a7eec40404760c304b36c8b657b374cab 13-Jun-2014 Elliott Hughes <enh@google.com> Add a hack to <stdlib.h> until we can fix libvpx.

libvpx should probably change its assembler to refer to lrand48 directly,
because that will work on old and new versions of Android. This keeps things
building until that happens.

Bug: 15598056
Change-Id: I4a1f59e710a083b9f9a707ceeb9ca0a28141a954
nclude/stdlib.h
346fa721ca20e481a624930425d823d452e11dfe 12-Jun-2014 Elliott Hughes <enh@google.com> Merge "Get the full set of PRNG functions in <stdlib.h>"
a0beeeabbc8735bc830544cbbb1d920122b8d958 12-Jun-2014 Elliott Hughes <enh@google.com> Get the full set of PRNG functions in <stdlib.h>

Bug: https://code.google.com/p/android/issues/detail?id=58888
Change-Id: I435250bdae302e8bd7e29977d0fde7b9afbfca5e
ndroid.mk
nclude/stdlib.h
pstream-netbsd/common/lib/libc/stdlib/random.c
pstream-netbsd/lib/libc/stdlib/rand.c
pstream-netbsd/lib/libc/stdlib/rand_r.c
ea13c54b17b557fa818eff80af535a86782a430d 12-Jun-2014 Elliott Hughes <enh@google.com> am e02086a6: am 2c02d005: Merge "Add __pure2 to a few more functions, most notably gettid and pthread_self."

* commit 'e02086a6dc789b427c817b39a6adb9c50db8f70d':
Add __pure2 to a few more functions, most notably gettid and pthread_self.
cb7048138a3cbe275ecb39ee2f5dc1909524ed78 11-Jun-2014 Dan Albert <danalbert@google.com> am 6f7f1caa: am 48082a0a: Merge "Remove declarations related to cuserid(3)."

* commit '6f7f1caa1dc14c3f8b522653d20aa5075b7203f2':
Remove declarations related to cuserid(3).
8e613cf342b369f7985135dbe11ebdbf8c736157 11-Jun-2014 Dan Albert <danalbert@google.com> Remove declaration for putw(3)/getw(3).

These were both removed from POSIX 2004, and we don't define an
implementation for getw(3). Keep the definition of put(3) on LP32 for
binary compatibility.

Bug: 13935372
Change-Id: Iba384b45093ac6d2d7c2d81f7980cd7701dd6f56
ndroid.mk
rch-arm/arm.mk
rch-mips/mips.mk
rch-x86/x86.mk
nclude/stdio.h
4880b0a820d083708c34c3427a292017fe745308 11-Jun-2014 Dan Albert <danalbert@google.com> am abf16559: am 440bd6bc: Merge "Replaces vfork() implementation with fork()"

* commit 'abf16559d31c49d52fba6f42a3d7b4566de0493b':
Replaces vfork() implementation with fork()
617573af9f8c44841a4c134a3841683518339fa6 11-Jun-2014 Elliott Hughes <enh@google.com> am b94b1bc0: am 80664231: Merge "Revert "Temporarily expose dlmalloc_usable_size.""

* commit 'b94b1bc0342744d351db8f7720dfec8bd2279784':
Revert "Temporarily expose dlmalloc_usable_size."
5204a9e8ca1ca7304db9998dcf3fc5a2d6087662 12-Jun-2014 Elliott Hughes <enh@google.com> Fix most of the tzcode warnings.

There's one left, but that's not fixed upstream yet.

Change-Id: Iba920cb7b156357c7f5e8220eb55ff1637ff48a1
zcode/localtime.c
4e863b2f21fd52c63a4b14c23669d0116bc4fcf5 11-Jun-2014 Elliott Hughes <enh@google.com> am df8a09b1: am 2b8246fa: Merge "Hide rand48 implementation details."

* commit 'df8a09b132573b021850fe41ed23ec6684d9b329':
Hide rand48 implementation details.
f1771794af6d24f00d10363f11182855839494a4 11-Jun-2014 Elliott Hughes <enh@google.com> am 228b33e9: am bdcab25e: Merge "Hide non-standard syslog API."

* commit '228b33e90c34a1392e77b4a9100210233a390ad0':
Hide non-standard syslog API.
f2a131cf4e44e00ebae2dd87841755cba00770c1 11-Jun-2014 Elliott Hughes <enh@google.com> am 97fbf8e7: am 87d4233c: Merge "Remove the MD5 implementation that was only used by toolbox."

* commit '97fbf8e746ca6e90f890a43d759a16901882c93a':
Remove the MD5 implementation that was only used by toolbox.
cd32219c5b3c402c99d3ad7d1997d42b5f04015e 11-Jun-2014 Dan Albert <danalbert@google.com> Remove declarations related to cuserid(3).

cuserid(3) was removed from POSIX 2004, and we don't have an
implementation anyway.

Bug: 13935372
Change-Id: I7ac7cde931ba802d0d5b917c22f5116618b21d2f
nclude/stdio.h
80664231b8a17fc6a1bf2f4881c9353a47b74ab6 11-Jun-2014 Elliott Hughes <enh@google.com> Merge "Revert "Temporarily expose dlmalloc_usable_size.""
2c02d0057c93bfa6db4b30d8646baeb55d076062 12-Jun-2014 Elliott Hughes <enh@google.com> Merge "Add __pure2 to a few more functions, most notably gettid and pthread_self."
b27a840f4b520bfa095db99b0a2e5205634b0003 11-Jun-2014 Elliott Hughes <enh@google.com> Add __pure2 to a few more functions, most notably gettid and pthread_self.

Change-Id: I7eee9f26f45130038af09d8285782b07f70a996f
nclude/errno.h
nclude/pthread.h
nclude/stdlib.h
nclude/unistd.h
440bd6bcc308f78b32fcbc4a3ba312dd1343559b 11-Jun-2014 Dan Albert <danalbert@google.com> Merge "Replaces vfork() implementation with fork()"
210331d9762037afb9b5ed8413079c6f65872df9 06-Jun-2014 Dan Albert <danalbert@google.com> Replaces vfork() implementation with fork()

vfork() was removed from POSIX 2008, so this replaces its implementation
with a call to fork().

Bug: 13935372
Change-Id: I6d99ac9e52a2efc5ee9bda1cab908774b830cedc
ndroid.mk
YSCALLS.TXT
rch-arm/syscalls/vfork.S
rch-arm64/arm64.mk
rch-arm64/bionic/vfork.S
rch-mips/bionic/vfork.S
rch-mips/mips.mk
rch-mips64/bionic/vfork.S
rch-mips64/mips64.mk
rch-x86/bionic/vfork.S
rch-x86/x86.mk
rch-x86_64/bionic/vfork.S
rch-x86_64/x86_64.mk
ionic/vfork.cpp
809093bc21d8a6f7d7f8c31a7821f3112d1134ce 10-Jun-2014 Elliott Hughes <enh@google.com> Hide rand48 implementation details.

Bug: 11156955
Change-Id: I130272286989487dc22e246fb4ffbee5230225c4
pstream-netbsd/android/include/rand48.h
a382a792a456fe2710dd3a7be623180ed85a8dce 10-Jun-2014 Elliott Hughes <enh@google.com> Hide non-standard syslog API.

The definitions are still available on LP32 for binary compatibility, but
they're gone on LP64, and the declarations are gone everywhere.

We should probably just make syslog(3) log to the regular Android log,
but that's a job for another day.

Bug: 11156955
Change-Id: I74a98c92f7922ea733549ec6d37c6fa8b7014860
nclude/syslog.h
nistd/syslog.c
87d4233c7224201b1199179b11c5c5f854ab36a3 10-Jun-2014 Elliott Hughes <enh@google.com> Merge "Remove the MD5 implementation that was only used by toolbox."
67401638a92abd52e5896183e851b1b097da07ac 10-Jun-2014 Elliott Hughes <enh@google.com> Remove the MD5 implementation that was only used by toolbox.

I've already moved toolbox over to openssl.

Change-Id: Ia75fba5b5e3335a975b97787f653bf4df78e1b4e
ndroid.mk
ionic/md5.c
ionic/md5.h
4e33504927c7bd48664098f94b49d5e06463f707 09-Jun-2014 Elliott Hughes <enh@google.com> am 1dcb8471: am 36ed5971: Merge "AArch64: Remove Frame Record from ARM64 syscalls"

* commit '1dcb84712c2dad520eb49e283bff06ae47a6c1b1':
AArch64: Remove Frame Record from ARM64 syscalls
602b4e482ce7bfa768a4c84baffc3051eca52346 07-Jun-2014 Serban Constantinescu <serban.constantinescu@arm.com> AArch64: Remove Frame Record from ARM64 syscalls

This patch removes the frame record created on svc calls.

Change-Id: I67cf926ba59540e824fb9749d30538e332df7c1e
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
rch-arm64/bionic/__bionic_clone.S
rch-arm64/bionic/syscall.S
rch-arm64/syscalls/__accept4.S
rch-arm64/syscalls/__brk.S
rch-arm64/syscalls/__connect.S
rch-arm64/syscalls/__epoll_pwait.S
rch-arm64/syscalls/__exit.S
rch-arm64/syscalls/__getcpu.S
rch-arm64/syscalls/__getcwd.S
rch-arm64/syscalls/__getdents64.S
rch-arm64/syscalls/__getpriority.S
rch-arm64/syscalls/__ioctl.S
rch-arm64/syscalls/__openat.S
rch-arm64/syscalls/__ppoll.S
rch-arm64/syscalls/__pselect6.S
rch-arm64/syscalls/__ptrace.S
rch-arm64/syscalls/__reboot.S
rch-arm64/syscalls/__rt_sigaction.S
rch-arm64/syscalls/__rt_sigpending.S
rch-arm64/syscalls/__rt_sigprocmask.S
rch-arm64/syscalls/__rt_sigsuspend.S
rch-arm64/syscalls/__rt_sigtimedwait.S
rch-arm64/syscalls/__sched_getaffinity.S
rch-arm64/syscalls/__set_tid_address.S
rch-arm64/syscalls/__signalfd4.S
rch-arm64/syscalls/__socket.S
rch-arm64/syscalls/__timer_create.S
rch-arm64/syscalls/__timer_delete.S
rch-arm64/syscalls/__timer_getoverrun.S
rch-arm64/syscalls/__timer_gettime.S
rch-arm64/syscalls/__timer_settime.S
rch-arm64/syscalls/__waitid.S
rch-arm64/syscalls/_exit.S
rch-arm64/syscalls/acct.S
rch-arm64/syscalls/bind.S
rch-arm64/syscalls/capget.S
rch-arm64/syscalls/capset.S
rch-arm64/syscalls/chdir.S
rch-arm64/syscalls/chroot.S
rch-arm64/syscalls/clock_getres.S
rch-arm64/syscalls/clock_gettime.S
rch-arm64/syscalls/clock_nanosleep.S
rch-arm64/syscalls/clock_settime.S
rch-arm64/syscalls/close.S
rch-arm64/syscalls/delete_module.S
rch-arm64/syscalls/dup.S
rch-arm64/syscalls/dup3.S
rch-arm64/syscalls/epoll_create1.S
rch-arm64/syscalls/epoll_ctl.S
rch-arm64/syscalls/eventfd.S
rch-arm64/syscalls/execve.S
rch-arm64/syscalls/faccessat.S
rch-arm64/syscalls/fallocate.S
rch-arm64/syscalls/fchdir.S
rch-arm64/syscalls/fchmod.S
rch-arm64/syscalls/fchmodat.S
rch-arm64/syscalls/fchown.S
rch-arm64/syscalls/fchownat.S
rch-arm64/syscalls/fcntl.S
rch-arm64/syscalls/fdatasync.S
rch-arm64/syscalls/fgetxattr.S
rch-arm64/syscalls/flistxattr.S
rch-arm64/syscalls/flock.S
rch-arm64/syscalls/fremovexattr.S
rch-arm64/syscalls/fsetxattr.S
rch-arm64/syscalls/fstat64.S
rch-arm64/syscalls/fstatat64.S
rch-arm64/syscalls/fstatfs64.S
rch-arm64/syscalls/fsync.S
rch-arm64/syscalls/ftruncate.S
rch-arm64/syscalls/getegid.S
rch-arm64/syscalls/geteuid.S
rch-arm64/syscalls/getgid.S
rch-arm64/syscalls/getgroups.S
rch-arm64/syscalls/getitimer.S
rch-arm64/syscalls/getpeername.S
rch-arm64/syscalls/getpgid.S
rch-arm64/syscalls/getpid.S
rch-arm64/syscalls/getppid.S
rch-arm64/syscalls/getresgid.S
rch-arm64/syscalls/getresuid.S
rch-arm64/syscalls/getrlimit.S
rch-arm64/syscalls/getrusage.S
rch-arm64/syscalls/getsid.S
rch-arm64/syscalls/getsockname.S
rch-arm64/syscalls/getsockopt.S
rch-arm64/syscalls/gettimeofday.S
rch-arm64/syscalls/getuid.S
rch-arm64/syscalls/getxattr.S
rch-arm64/syscalls/init_module.S
rch-arm64/syscalls/inotify_add_watch.S
rch-arm64/syscalls/inotify_init1.S
rch-arm64/syscalls/inotify_rm_watch.S
rch-arm64/syscalls/ioprio_get.S
rch-arm64/syscalls/ioprio_set.S
rch-arm64/syscalls/kill.S
rch-arm64/syscalls/klogctl.S
rch-arm64/syscalls/lgetxattr.S
rch-arm64/syscalls/linkat.S
rch-arm64/syscalls/listen.S
rch-arm64/syscalls/listxattr.S
rch-arm64/syscalls/llistxattr.S
rch-arm64/syscalls/lremovexattr.S
rch-arm64/syscalls/lseek.S
rch-arm64/syscalls/lsetxattr.S
rch-arm64/syscalls/madvise.S
rch-arm64/syscalls/mincore.S
rch-arm64/syscalls/mkdirat.S
rch-arm64/syscalls/mknodat.S
rch-arm64/syscalls/mlock.S
rch-arm64/syscalls/mlockall.S
rch-arm64/syscalls/mmap.S
rch-arm64/syscalls/mount.S
rch-arm64/syscalls/mprotect.S
rch-arm64/syscalls/mremap.S
rch-arm64/syscalls/msync.S
rch-arm64/syscalls/munlock.S
rch-arm64/syscalls/munlockall.S
rch-arm64/syscalls/munmap.S
rch-arm64/syscalls/nanosleep.S
rch-arm64/syscalls/personality.S
rch-arm64/syscalls/pipe2.S
rch-arm64/syscalls/prctl.S
rch-arm64/syscalls/pread64.S
rch-arm64/syscalls/prlimit64.S
rch-arm64/syscalls/pwrite64.S
rch-arm64/syscalls/read.S
rch-arm64/syscalls/readahead.S
rch-arm64/syscalls/readlinkat.S
rch-arm64/syscalls/readv.S
rch-arm64/syscalls/recvfrom.S
rch-arm64/syscalls/recvmmsg.S
rch-arm64/syscalls/recvmsg.S
rch-arm64/syscalls/removexattr.S
rch-arm64/syscalls/renameat.S
rch-arm64/syscalls/sched_get_priority_max.S
rch-arm64/syscalls/sched_get_priority_min.S
rch-arm64/syscalls/sched_getparam.S
rch-arm64/syscalls/sched_getscheduler.S
rch-arm64/syscalls/sched_rr_get_interval.S
rch-arm64/syscalls/sched_setaffinity.S
rch-arm64/syscalls/sched_setparam.S
rch-arm64/syscalls/sched_setscheduler.S
rch-arm64/syscalls/sched_yield.S
rch-arm64/syscalls/sendfile.S
rch-arm64/syscalls/sendmmsg.S
rch-arm64/syscalls/sendmsg.S
rch-arm64/syscalls/sendto.S
rch-arm64/syscalls/setgid.S
rch-arm64/syscalls/setgroups.S
rch-arm64/syscalls/setitimer.S
rch-arm64/syscalls/setns.S
rch-arm64/syscalls/setpgid.S
rch-arm64/syscalls/setpriority.S
rch-arm64/syscalls/setregid.S
rch-arm64/syscalls/setresgid.S
rch-arm64/syscalls/setresuid.S
rch-arm64/syscalls/setreuid.S
rch-arm64/syscalls/setrlimit.S
rch-arm64/syscalls/setsid.S
rch-arm64/syscalls/setsockopt.S
rch-arm64/syscalls/settimeofday.S
rch-arm64/syscalls/setuid.S
rch-arm64/syscalls/setxattr.S
rch-arm64/syscalls/shutdown.S
rch-arm64/syscalls/sigaltstack.S
rch-arm64/syscalls/socketpair.S
rch-arm64/syscalls/statfs64.S
rch-arm64/syscalls/swapoff.S
rch-arm64/syscalls/swapon.S
rch-arm64/syscalls/symlinkat.S
rch-arm64/syscalls/sync.S
rch-arm64/syscalls/sysinfo.S
rch-arm64/syscalls/tgkill.S
rch-arm64/syscalls/timerfd_create.S
rch-arm64/syscalls/timerfd_gettime.S
rch-arm64/syscalls/timerfd_settime.S
rch-arm64/syscalls/times.S
rch-arm64/syscalls/truncate.S
rch-arm64/syscalls/umask.S
rch-arm64/syscalls/umount2.S
rch-arm64/syscalls/uname.S
rch-arm64/syscalls/unlinkat.S
rch-arm64/syscalls/unshare.S
rch-arm64/syscalls/utimensat.S
rch-arm64/syscalls/wait4.S
rch-arm64/syscalls/write.S
rch-arm64/syscalls/writev.S
ools/gensyscalls.py
47907ba49bb7d89196f2388b51853803531cf9c3 07-Jun-2014 Elliott Hughes <enh@google.com> am 3b1e9bf3: am e18c2714: Merge "Add the missing issetugid binary compatibility stub."

* commit '3b1e9bf3e9bec519a75031dda231cdbfbac53005':
Add the missing issetugid binary compatibility stub.
44ac8af8ed126c6060d0d3e7405672f26e29faf1 07-Jun-2014 Elliott Hughes <enh@google.com> am 20811f9e: am 19718f0c: Merge "Rewrite and hide longjmperror."

* commit '20811f9e87b86ba7171b9c9480a9212d787c732e':
Rewrite and hide longjmperror.
bffbfeed7a595dcbe5843a77d84c409a0225b4e1 07-Jun-2014 Elliott Hughes <enh@google.com> Add the missing issetugid binary compatibility stub.

Bug: 14569474
Change-Id: I3bedc1a0acf356af76424ceaf62ae7e85239f617
ionic/ndk_cruft.cpp
19718f0cd605f55df26823c67b62ceab6fe99a00 07-Jun-2014 Elliott Hughes <enh@google.com> Merge "Rewrite and hide longjmperror."
28f321aa0fb28df089b693d828a77717f7e39957 07-Jun-2014 Christopher Ferris <cferris@google.com> am 1b8163f5: am 1cada9b3: Merge "Remove unused scripts."

* commit '1b8163f5e686bc2405731d529c684c06bae65f17':
Remove unused scripts.
47ba295b0679148970bbffc9b76a3651efea9502 07-Jun-2014 Elliott Hughes <enh@google.com> Rewrite and hide longjmperror.

This shouldn't be public API, isn't supported on x86/x86_64, and it's
unlikely anyone would have actually seen the message before anyway.
Using __libc_fatal makes it much more likely to be seen.

Bug: 11156955
Change-Id: Icf7f654b22a7dacd89668b60c11e5705c7215c08
ndroid.mk
ionic/assert.cpp
nclude/setjmp.h
pstream-netbsd/lib/libc/gen/setjmperr.c
3b9da0f99a6629d5283844922327711c985c78eb 06-Jun-2014 Elliott Hughes <enh@google.com> Fix the printf family for non-ASCII.

The bug here turned out to be that we hadn't increased the constant
corresponding to the maximum number of bytes in a character to match
our new implementation, so any character requiring more than a byte
in UTF-8 would break our printf family.

Bug: 15439554

(cherry picked from commit 69f05d291d848de654c72e5278de8ca06fbf5d2f)

Change-Id: Ia5467e22ccb022e8d118de82291916050656147e
nclude/limits.h
nclude/stdlib.h
53495dad3a658d1b76ae63cd0c978c2278686c2f 07-Jun-2014 Elliott Hughes <enh@google.com> am afd4df20: am 6fa47ca4: Merge "Fix ndk_cruft.cpp __getdents64 build failure."

* commit 'afd4df20c99e52be84d1cac2108c18619f32b5f2':
Fix ndk_cruft.cpp __getdents64 build failure.
12e98b459d14eb6ab445165599402658c90b9b22 07-Jun-2014 Elliott Hughes <enh@google.com> am 655dba09: am 1c60f808: Merge "Rename __bionic_clone_entry to __start_thread."

* commit '655dba09c72ceb5852dae296cef49cbad6b1053f':
Rename __bionic_clone_entry to __start_thread.
449e4aa0a817505d531c9efac48f957125f1d0d4 07-Jun-2014 Elliott Hughes <enh@google.com> am e932f5b5: am 087b3cfa: Merge "Add a few more C11 functions to the whitelist."

* commit 'e932f5b5d89fcffe1c2e9e68eac4e9092f24719e':
Add a few more C11 functions to the whitelist.
3f508b3fc09630f36c895f7e2daee558796ea962 07-Jun-2014 Elliott Hughes <enh@google.com> am 132a66be: am 3e0e7eea: Merge "Remove getdents from bionic."

* commit '132a66be4692840b13b3a6d6fb93d6e7965003c5':
Remove getdents from bionic.
4ff5aa3568208be9a1451419b6f861323c76b674 07-Jun-2014 Christopher Ferris <cferris@google.com> am 5261fd2c: am b837767a: Merge "Update kernel header generation docs."

* commit '5261fd2cacc8a53643089cab9fbbeb8142f98dea':
Update kernel header generation docs.
ab39aba70e04940637fe1db3a4ef1d1aafd7b976 07-Jun-2014 Christopher Ferris <cferris@google.com> Remove unused scripts.

Change-Id: I3391d6c903f710b45e62bcf01058cf3ad9abe399
ernel/tools/find_headers.py
ernel/tools/find_users.py
6fa47ca484aa37b0a2a5734a9def32973d110cc6 07-Jun-2014 Elliott Hughes <enh@google.com> Merge "Fix ndk_cruft.cpp __getdents64 build failure."
1c60f8080acaf0f1794689886e94e54d15d43a7b 07-Jun-2014 Elliott Hughes <enh@google.com> Merge "Rename __bionic_clone_entry to __start_thread."
d1ead2af8bf2f6bb801da272e3778f89efefe613 07-Jun-2014 Elliott Hughes <enh@google.com> Fix ndk_cruft.cpp __getdents64 build failure.

Change-Id: Ia463113da0575b36b5a9935d8d45e7bd2c801357
ionic/dirent.cpp
ionic/ndk_cruft.cpp
f6b1d439ccbc34f8dec0d0c949f566f82786fa5b 07-Jun-2014 Elliott Hughes <enh@google.com> Add a few more C11 functions to the whitelist.

Change-Id: Ie2e767910d7cc8a78c05e29960cf4ab52a59fe9d
ools/check-symbols-glibc.py
ebc8cd117a562f387c52ed4e1aeba0fb21f33194 07-Jun-2014 Elliott Hughes <enh@google.com> Rename __bionic_clone_entry to __start_thread.

This seems a bit less obscure.

Change-Id: I7dc528c253b73c861694f67556ad8f919bf92136
rch-arm/bionic/__bionic_clone.S
rch-arm64/bionic/__bionic_clone.S
rch-mips/bionic/__bionic_clone.S
rch-mips64/bionic/__bionic_clone.S
rch-x86/bionic/__bionic_clone.S
rch-x86_64/bionic/__bionic_clone.S
ionic/clone.cpp
3e0e7eea490d2080d0290a1e2709e98d8fcf0ebf 07-Jun-2014 Elliott Hughes <enh@google.com> Merge "Remove getdents from bionic."
b837767a63dfc65653448cf732090d7d0b270080 07-Jun-2014 Christopher Ferris <cferris@google.com> Merge "Update kernel header generation docs."
3d5cb30d23cfc6a72f01c00246e69a2c614c8228 06-Jun-2014 Elliott Hughes <enh@google.com> Remove getdents from bionic.

Bug: 11156955
Change-Id: I6c306989801be552d85fba8a50dcdc79282fb9d2
YSCALLS.TXT
rch-arm/syscalls/__getdents64.S
rch-arm/syscalls/getdents.S
rch-arm64/syscalls/__getdents64.S
rch-arm64/syscalls/getdents.S
rch-mips/syscalls/__getdents64.S
rch-mips/syscalls/getdents.S
rch-mips64/bionic/getdents.cpp
rch-mips64/mips64.mk
rch-mips64/syscalls/__getdents.S
rch-x86/syscalls/__getdents64.S
rch-x86/syscalls/getdents.S
rch-x86_64/syscalls/__getdents64.S
rch-x86_64/syscalls/getdents.S
ionic/dirent.cpp
ionic/ndk_cruft.cpp
nclude/dirent.h
08b60747fe99623f3ae6d5f351a4c08c7b020207 05-Jun-2014 Christopher Ferris <cferris@google.com> Update kernel header generation docs.

Also move the description of the cleanup data to the cleanup script.

Bug: 15433575
Change-Id: I21e2cbbfab55da483af1bbe36bbe59126b518e3c
ernel/README.TXT
ernel/tools/clean_header.py
5f409720ec6bcf9ec6e9874dbb9ffd77d7061554 06-Jun-2014 Elliott Hughes <enh@google.com> Merge "Use __libc_fatal() for failed malloc in new" into lmp-preview-dev
acc2f79ed7881178c203b1f7cea31596d42ca6cd 31-May-2014 Dan Albert <danalbert@google.com> Use __libc_fatal() for failed malloc in new

This way we can print a useful message to the log isntead of just dying
mysteriously.

(cherry picked from commit 989725940e765f0065b2bc06b881cde864b62595)

Bug: 13564922
Change-Id: I704e1263ec1e7556808348b821a20bacc934eb4a
ionic/new.cpp
d45b2e508441db1085973f90afaf30c85fb088c1 06-Jun-2014 Elliott Hughes <enh@google.com> am fd0de89e: am c3bdc792: Merge "Fix the printf family for non-ASCII."

* commit 'fd0de89e4cd46de5f3439a7112c4dd25d62ec392':
Fix the printf family for non-ASCII.
c3bdc792be78d788663ff9b5e019b4af852dc6f7 06-Jun-2014 Elliott Hughes <enh@google.com> Merge "Fix the printf family for non-ASCII."
bd7a892c300a2c257bd7422f56325c575765b09a 05-Jun-2014 Elliott Hughes <enh@google.com> Fix unwinding through x86-64 __bionic_clone.

x86-64 needs these CFI directives to stop unwinding here.
I've also cleaned up the assembler a little, and made x86 and x86-64
a little more alike.

Bug: 15195760

(cherry picked from commit aeb3016f8132689d1b49d30056005b667e3d2d0e)

Change-Id: I511fe238b1ef1a1c16aef735f93bbee9accb0689
rch-x86/bionic/__bionic_clone.S
rch-x86_64/bionic/__bionic_clone.S
69f05d291d848de654c72e5278de8ca06fbf5d2f 06-Jun-2014 Elliott Hughes <enh@google.com> Fix the printf family for non-ASCII.

The bug here turned out to be that we hadn't increased the constant
corresponding to the maximum number of bytes in a character to match
our new implementation, so any character requiring more than a byte
in UTF-8 would break our printf family.

Bug: 15439554
Change-Id: I693e5e6eb11c640b5886e848502908ec5fff53b1
nclude/limits.h
nclude/stdlib.h
aa8979269be0c07e241f35912e52f7e97f2b4fd1 06-Jun-2014 Elliott Hughes <enh@google.com> am 6db22710: am e2a54ca8: Merge "Remove unnecessary instructions from x86/x86_64 syscalls."

* commit '6db22710ce11766cc88f55f1e3c48d3167d5eb4c':
Remove unnecessary instructions from x86/x86_64 syscalls.
15a0456d0b7618554ed3d49287e77b6d43a2812a 06-Jun-2014 Elliott Hughes <enh@google.com> Remove unnecessary instructions from x86/x86_64 syscalls.

__set_errno returns -1 exactly so that callers don't need to bother.
The other architectures were already taking advantage of this, but
no one had ever fixed x86 and x86_64.

Change-Id: Ie131494be664f6c4a1bbf8c61bbbed58eac56122
rch-x86/bionic/__bionic_clone.S
rch-x86/bionic/syscall.S
rch-x86/bionic/vfork.S
rch-x86/syscalls/__accept4.S
rch-x86/syscalls/__brk.S
rch-x86/syscalls/__connect.S
rch-x86/syscalls/__epoll_pwait.S
rch-x86/syscalls/__exit.S
rch-x86/syscalls/__fcntl64.S
rch-x86/syscalls/__fstatfs64.S
rch-x86/syscalls/__getcpu.S
rch-x86/syscalls/__getcwd.S
rch-x86/syscalls/__getpriority.S
rch-x86/syscalls/__ioctl.S
rch-x86/syscalls/__llseek.S
rch-x86/syscalls/__mmap2.S
rch-x86/syscalls/__openat.S
rch-x86/syscalls/__ppoll.S
rch-x86/syscalls/__pselect6.S
rch-x86/syscalls/__ptrace.S
rch-x86/syscalls/__reboot.S
rch-x86/syscalls/__rt_sigaction.S
rch-x86/syscalls/__rt_sigpending.S
rch-x86/syscalls/__rt_sigprocmask.S
rch-x86/syscalls/__rt_sigsuspend.S
rch-x86/syscalls/__rt_sigtimedwait.S
rch-x86/syscalls/__sched_getaffinity.S
rch-x86/syscalls/__set_thread_area.S
rch-x86/syscalls/__set_tid_address.S
rch-x86/syscalls/__sigaction.S
rch-x86/syscalls/__signalfd4.S
rch-x86/syscalls/__socket.S
rch-x86/syscalls/__statfs64.S
rch-x86/syscalls/__timer_create.S
rch-x86/syscalls/__timer_delete.S
rch-x86/syscalls/__timer_getoverrun.S
rch-x86/syscalls/__timer_gettime.S
rch-x86/syscalls/__timer_settime.S
rch-x86/syscalls/__waitid.S
rch-x86/syscalls/_exit.S
rch-x86/syscalls/acct.S
rch-x86/syscalls/bind.S
rch-x86/syscalls/capget.S
rch-x86/syscalls/capset.S
rch-x86/syscalls/chdir.S
rch-x86/syscalls/chroot.S
rch-x86/syscalls/clock_getres.S
rch-x86/syscalls/clock_gettime.S
rch-x86/syscalls/clock_nanosleep.S
rch-x86/syscalls/clock_settime.S
rch-x86/syscalls/close.S
rch-x86/syscalls/delete_module.S
rch-x86/syscalls/dup.S
rch-x86/syscalls/dup3.S
rch-x86/syscalls/epoll_create1.S
rch-x86/syscalls/epoll_ctl.S
rch-x86/syscalls/eventfd.S
rch-x86/syscalls/execve.S
rch-x86/syscalls/faccessat.S
rch-x86/syscalls/fallocate64.S
rch-x86/syscalls/fchdir.S
rch-x86/syscalls/fchmod.S
rch-x86/syscalls/fchmodat.S
rch-x86/syscalls/fchown.S
rch-x86/syscalls/fchownat.S
rch-x86/syscalls/fdatasync.S
rch-x86/syscalls/fgetxattr.S
rch-x86/syscalls/flistxattr.S
rch-x86/syscalls/flock.S
rch-x86/syscalls/fremovexattr.S
rch-x86/syscalls/fsetxattr.S
rch-x86/syscalls/fstat64.S
rch-x86/syscalls/fstatat64.S
rch-x86/syscalls/fsync.S
rch-x86/syscalls/ftruncate.S
rch-x86/syscalls/ftruncate64.S
rch-x86/syscalls/getdents.S
rch-x86/syscalls/getegid.S
rch-x86/syscalls/geteuid.S
rch-x86/syscalls/getgid.S
rch-x86/syscalls/getgroups.S
rch-x86/syscalls/getitimer.S
rch-x86/syscalls/getpeername.S
rch-x86/syscalls/getpgid.S
rch-x86/syscalls/getpid.S
rch-x86/syscalls/getppid.S
rch-x86/syscalls/getresgid.S
rch-x86/syscalls/getresuid.S
rch-x86/syscalls/getrlimit.S
rch-x86/syscalls/getrusage.S
rch-x86/syscalls/getsid.S
rch-x86/syscalls/getsockname.S
rch-x86/syscalls/getsockopt.S
rch-x86/syscalls/gettimeofday.S
rch-x86/syscalls/getuid.S
rch-x86/syscalls/getxattr.S
rch-x86/syscalls/init_module.S
rch-x86/syscalls/inotify_add_watch.S
rch-x86/syscalls/inotify_init1.S
rch-x86/syscalls/inotify_rm_watch.S
rch-x86/syscalls/ioprio_get.S
rch-x86/syscalls/ioprio_set.S
rch-x86/syscalls/kill.S
rch-x86/syscalls/klogctl.S
rch-x86/syscalls/lgetxattr.S
rch-x86/syscalls/linkat.S
rch-x86/syscalls/listen.S
rch-x86/syscalls/listxattr.S
rch-x86/syscalls/llistxattr.S
rch-x86/syscalls/lremovexattr.S
rch-x86/syscalls/lseek.S
rch-x86/syscalls/lsetxattr.S
rch-x86/syscalls/madvise.S
rch-x86/syscalls/mincore.S
rch-x86/syscalls/mkdirat.S
rch-x86/syscalls/mknodat.S
rch-x86/syscalls/mlock.S
rch-x86/syscalls/mlockall.S
rch-x86/syscalls/mount.S
rch-x86/syscalls/mprotect.S
rch-x86/syscalls/mremap.S
rch-x86/syscalls/msync.S
rch-x86/syscalls/munlock.S
rch-x86/syscalls/munlockall.S
rch-x86/syscalls/munmap.S
rch-x86/syscalls/nanosleep.S
rch-x86/syscalls/personality.S
rch-x86/syscalls/pipe2.S
rch-x86/syscalls/prctl.S
rch-x86/syscalls/pread64.S
rch-x86/syscalls/prlimit64.S
rch-x86/syscalls/pwrite64.S
rch-x86/syscalls/read.S
rch-x86/syscalls/readahead.S
rch-x86/syscalls/readlinkat.S
rch-x86/syscalls/readv.S
rch-x86/syscalls/recvfrom.S
rch-x86/syscalls/recvmmsg.S
rch-x86/syscalls/recvmsg.S
rch-x86/syscalls/removexattr.S
rch-x86/syscalls/renameat.S
rch-x86/syscalls/sched_get_priority_max.S
rch-x86/syscalls/sched_get_priority_min.S
rch-x86/syscalls/sched_getparam.S
rch-x86/syscalls/sched_getscheduler.S
rch-x86/syscalls/sched_rr_get_interval.S
rch-x86/syscalls/sched_setaffinity.S
rch-x86/syscalls/sched_setparam.S
rch-x86/syscalls/sched_setscheduler.S
rch-x86/syscalls/sched_yield.S
rch-x86/syscalls/sendfile.S
rch-x86/syscalls/sendfile64.S
rch-x86/syscalls/sendmmsg.S
rch-x86/syscalls/sendmsg.S
rch-x86/syscalls/sendto.S
rch-x86/syscalls/setgid.S
rch-x86/syscalls/setgroups.S
rch-x86/syscalls/setitimer.S
rch-x86/syscalls/setns.S
rch-x86/syscalls/setpgid.S
rch-x86/syscalls/setpriority.S
rch-x86/syscalls/setregid.S
rch-x86/syscalls/setresgid.S
rch-x86/syscalls/setresuid.S
rch-x86/syscalls/setreuid.S
rch-x86/syscalls/setrlimit.S
rch-x86/syscalls/setsid.S
rch-x86/syscalls/setsockopt.S
rch-x86/syscalls/settimeofday.S
rch-x86/syscalls/setuid.S
rch-x86/syscalls/setxattr.S
rch-x86/syscalls/shutdown.S
rch-x86/syscalls/sigaltstack.S
rch-x86/syscalls/socketpair.S
rch-x86/syscalls/swapoff.S
rch-x86/syscalls/swapon.S
rch-x86/syscalls/symlinkat.S
rch-x86/syscalls/sync.S
rch-x86/syscalls/sysinfo.S
rch-x86/syscalls/tgkill.S
rch-x86/syscalls/timerfd_create.S
rch-x86/syscalls/timerfd_gettime.S
rch-x86/syscalls/timerfd_settime.S
rch-x86/syscalls/times.S
rch-x86/syscalls/truncate.S
rch-x86/syscalls/truncate64.S
rch-x86/syscalls/umask.S
rch-x86/syscalls/umount2.S
rch-x86/syscalls/uname.S
rch-x86/syscalls/unlinkat.S
rch-x86/syscalls/unshare.S
rch-x86/syscalls/utimensat.S
rch-x86/syscalls/wait4.S
rch-x86/syscalls/write.S
rch-x86/syscalls/writev.S
rch-x86_64/bionic/__bionic_clone.S
rch-x86_64/bionic/syscall.S
rch-x86_64/bionic/vfork.S
rch-x86_64/syscalls/__accept4.S
rch-x86_64/syscalls/__arch_prctl.S
rch-x86_64/syscalls/__brk.S
rch-x86_64/syscalls/__connect.S
rch-x86_64/syscalls/__epoll_pwait.S
rch-x86_64/syscalls/__exit.S
rch-x86_64/syscalls/__getcpu.S
rch-x86_64/syscalls/__getcwd.S
rch-x86_64/syscalls/__getpriority.S
rch-x86_64/syscalls/__ioctl.S
rch-x86_64/syscalls/__openat.S
rch-x86_64/syscalls/__ppoll.S
rch-x86_64/syscalls/__pselect6.S
rch-x86_64/syscalls/__ptrace.S
rch-x86_64/syscalls/__reboot.S
rch-x86_64/syscalls/__rt_sigaction.S
rch-x86_64/syscalls/__rt_sigpending.S
rch-x86_64/syscalls/__rt_sigprocmask.S
rch-x86_64/syscalls/__rt_sigsuspend.S
rch-x86_64/syscalls/__rt_sigtimedwait.S
rch-x86_64/syscalls/__sched_getaffinity.S
rch-x86_64/syscalls/__set_tid_address.S
rch-x86_64/syscalls/__signalfd4.S
rch-x86_64/syscalls/__socket.S
rch-x86_64/syscalls/__timer_create.S
rch-x86_64/syscalls/__timer_delete.S
rch-x86_64/syscalls/__timer_getoverrun.S
rch-x86_64/syscalls/__timer_gettime.S
rch-x86_64/syscalls/__timer_settime.S
rch-x86_64/syscalls/__waitid.S
rch-x86_64/syscalls/_exit.S
rch-x86_64/syscalls/acct.S
rch-x86_64/syscalls/bind.S
rch-x86_64/syscalls/capget.S
rch-x86_64/syscalls/capset.S
rch-x86_64/syscalls/chdir.S
rch-x86_64/syscalls/chroot.S
rch-x86_64/syscalls/clock_getres.S
rch-x86_64/syscalls/clock_gettime.S
rch-x86_64/syscalls/clock_nanosleep.S
rch-x86_64/syscalls/clock_settime.S
rch-x86_64/syscalls/close.S
rch-x86_64/syscalls/delete_module.S
rch-x86_64/syscalls/dup.S
rch-x86_64/syscalls/dup3.S
rch-x86_64/syscalls/epoll_create1.S
rch-x86_64/syscalls/epoll_ctl.S
rch-x86_64/syscalls/eventfd.S
rch-x86_64/syscalls/execve.S
rch-x86_64/syscalls/faccessat.S
rch-x86_64/syscalls/fallocate.S
rch-x86_64/syscalls/fchdir.S
rch-x86_64/syscalls/fchmod.S
rch-x86_64/syscalls/fchmodat.S
rch-x86_64/syscalls/fchown.S
rch-x86_64/syscalls/fchownat.S
rch-x86_64/syscalls/fcntl.S
rch-x86_64/syscalls/fdatasync.S
rch-x86_64/syscalls/fgetxattr.S
rch-x86_64/syscalls/flistxattr.S
rch-x86_64/syscalls/flock.S
rch-x86_64/syscalls/fremovexattr.S
rch-x86_64/syscalls/fsetxattr.S
rch-x86_64/syscalls/fstat64.S
rch-x86_64/syscalls/fstatat64.S
rch-x86_64/syscalls/fstatfs64.S
rch-x86_64/syscalls/fsync.S
rch-x86_64/syscalls/ftruncate.S
rch-x86_64/syscalls/getdents.S
rch-x86_64/syscalls/getegid.S
rch-x86_64/syscalls/geteuid.S
rch-x86_64/syscalls/getgid.S
rch-x86_64/syscalls/getgroups.S
rch-x86_64/syscalls/getitimer.S
rch-x86_64/syscalls/getpeername.S
rch-x86_64/syscalls/getpgid.S
rch-x86_64/syscalls/getpid.S
rch-x86_64/syscalls/getppid.S
rch-x86_64/syscalls/getresgid.S
rch-x86_64/syscalls/getresuid.S
rch-x86_64/syscalls/getrlimit.S
rch-x86_64/syscalls/getrusage.S
rch-x86_64/syscalls/getsid.S
rch-x86_64/syscalls/getsockname.S
rch-x86_64/syscalls/getsockopt.S
rch-x86_64/syscalls/gettimeofday.S
rch-x86_64/syscalls/getuid.S
rch-x86_64/syscalls/getxattr.S
rch-x86_64/syscalls/init_module.S
rch-x86_64/syscalls/inotify_add_watch.S
rch-x86_64/syscalls/inotify_init1.S
rch-x86_64/syscalls/inotify_rm_watch.S
rch-x86_64/syscalls/ioprio_get.S
rch-x86_64/syscalls/ioprio_set.S
rch-x86_64/syscalls/kill.S
rch-x86_64/syscalls/klogctl.S
rch-x86_64/syscalls/lgetxattr.S
rch-x86_64/syscalls/linkat.S
rch-x86_64/syscalls/listen.S
rch-x86_64/syscalls/listxattr.S
rch-x86_64/syscalls/llistxattr.S
rch-x86_64/syscalls/lremovexattr.S
rch-x86_64/syscalls/lseek.S
rch-x86_64/syscalls/lsetxattr.S
rch-x86_64/syscalls/madvise.S
rch-x86_64/syscalls/mincore.S
rch-x86_64/syscalls/mkdirat.S
rch-x86_64/syscalls/mknodat.S
rch-x86_64/syscalls/mlock.S
rch-x86_64/syscalls/mlockall.S
rch-x86_64/syscalls/mmap.S
rch-x86_64/syscalls/mount.S
rch-x86_64/syscalls/mprotect.S
rch-x86_64/syscalls/mremap.S
rch-x86_64/syscalls/msync.S
rch-x86_64/syscalls/munlock.S
rch-x86_64/syscalls/munlockall.S
rch-x86_64/syscalls/munmap.S
rch-x86_64/syscalls/nanosleep.S
rch-x86_64/syscalls/personality.S
rch-x86_64/syscalls/pipe2.S
rch-x86_64/syscalls/prctl.S
rch-x86_64/syscalls/pread64.S
rch-x86_64/syscalls/prlimit64.S
rch-x86_64/syscalls/pwrite64.S
rch-x86_64/syscalls/read.S
rch-x86_64/syscalls/readahead.S
rch-x86_64/syscalls/readlinkat.S
rch-x86_64/syscalls/readv.S
rch-x86_64/syscalls/recvfrom.S
rch-x86_64/syscalls/recvmmsg.S
rch-x86_64/syscalls/recvmsg.S
rch-x86_64/syscalls/removexattr.S
rch-x86_64/syscalls/renameat.S
rch-x86_64/syscalls/sched_get_priority_max.S
rch-x86_64/syscalls/sched_get_priority_min.S
rch-x86_64/syscalls/sched_getparam.S
rch-x86_64/syscalls/sched_getscheduler.S
rch-x86_64/syscalls/sched_rr_get_interval.S
rch-x86_64/syscalls/sched_setaffinity.S
rch-x86_64/syscalls/sched_setparam.S
rch-x86_64/syscalls/sched_setscheduler.S
rch-x86_64/syscalls/sched_yield.S
rch-x86_64/syscalls/sendfile.S
rch-x86_64/syscalls/sendmmsg.S
rch-x86_64/syscalls/sendmsg.S
rch-x86_64/syscalls/sendto.S
rch-x86_64/syscalls/setgid.S
rch-x86_64/syscalls/setgroups.S
rch-x86_64/syscalls/setitimer.S
rch-x86_64/syscalls/setns.S
rch-x86_64/syscalls/setpgid.S
rch-x86_64/syscalls/setpriority.S
rch-x86_64/syscalls/setregid.S
rch-x86_64/syscalls/setresgid.S
rch-x86_64/syscalls/setresuid.S
rch-x86_64/syscalls/setreuid.S
rch-x86_64/syscalls/setrlimit.S
rch-x86_64/syscalls/setsid.S
rch-x86_64/syscalls/setsockopt.S
rch-x86_64/syscalls/settimeofday.S
rch-x86_64/syscalls/setuid.S
rch-x86_64/syscalls/setxattr.S
rch-x86_64/syscalls/shutdown.S
rch-x86_64/syscalls/sigaltstack.S
rch-x86_64/syscalls/socketpair.S
rch-x86_64/syscalls/statfs64.S
rch-x86_64/syscalls/swapoff.S
rch-x86_64/syscalls/swapon.S
rch-x86_64/syscalls/symlinkat.S
rch-x86_64/syscalls/sync.S
rch-x86_64/syscalls/sysinfo.S
rch-x86_64/syscalls/tgkill.S
rch-x86_64/syscalls/timerfd_create.S
rch-x86_64/syscalls/timerfd_gettime.S
rch-x86_64/syscalls/timerfd_settime.S
rch-x86_64/syscalls/times.S
rch-x86_64/syscalls/truncate.S
rch-x86_64/syscalls/umask.S
rch-x86_64/syscalls/umount2.S
rch-x86_64/syscalls/uname.S
rch-x86_64/syscalls/unlinkat.S
rch-x86_64/syscalls/unshare.S
rch-x86_64/syscalls/utimensat.S
rch-x86_64/syscalls/wait4.S
rch-x86_64/syscalls/write.S
rch-x86_64/syscalls/writev.S
ools/gensyscalls.py
76166f85e22d21dfd58ea5538ed1f1053b678e78 06-Jun-2014 Elliott Hughes <enh@google.com> am a271b977: am 50b79530: Merge "Fix unwinding through x86-64 __bionic_clone."

* commit 'a271b97773e16974cb59b6636546641a14b0fe68':
Fix unwinding through x86-64 __bionic_clone.
50b79530c6fea6d47d54edf6f351dcbd7d87ab6a 06-Jun-2014 Elliott Hughes <enh@google.com> Merge "Fix unwinding through x86-64 __bionic_clone."
aeb3016f8132689d1b49d30056005b667e3d2d0e 05-Jun-2014 Elliott Hughes <enh@google.com> Fix unwinding through x86-64 __bionic_clone.

x86-64 needs these CFI directives to stop unwinding here.
I've also cleaned up the assembler a little, and made x86 and x86-64
a little more alike.

Bug: 15195760
Change-Id: I40f92c007843c29c933bb6876fe2b4611e1b946b
rch-x86/bionic/__bionic_clone.S
rch-x86_64/bionic/__bionic_clone.S
c99f9845fbd049c787ac68df9d1b8751a2a9202c 05-Jun-2014 Dan Albert <danalbert@google.com> am 802d4cab: am 9c101eb9: Merge "Removes index() from bionic."

* commit '802d4cabf37fc0008db3d7d265e18a0b6112ddb6':
Removes index() from bionic.
9c101eb9d12a87c9b68fce9052751df75e36d172 05-Jun-2014 Dan Albert <danalbert@google.com> Merge "Removes index() from bionic."
72240e7b6298f15cf3690813b17ef6dd59fb14d2 05-Jun-2014 Christopher Ferris <cferris@google.com> am 675a41f5: am 8ac8278b: Merge "Fix for slm-tuned memmove (both 32- and 64-bit)."

* commit '675a41f56eb65b91d8f3c39304869b6ae64fa983':
Fix for slm-tuned memmove (both 32- and 64-bit).
48089efd92950124cf3627d073332d92f0940b90 05-Jun-2014 Dan Albert <danalbert@google.com> am a66c43ea: am 431aa4dc: Merge "Remove bsd_signal and sysv_signal from bionic LP64."

* commit 'a66c43eab073aae5e1e5754c476a5c39ece6930b':
Remove bsd_signal and sysv_signal from bionic LP64.
fce861498c8c4720c6ad2475a73bb4c3e55d6948 26-May-2014 Varvara Rainchik <varvara.rainchik@intel.com> Fix for slm-tuned memmove (both 32- and 64-bit).

Introduce a test for memmove that catches a fault.
Fix both 32- and 64-bit versions of slm-tuned memmove.

Change-Id: Ib416def2610a0972e32c3b9b6055b54967643dc3
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
rch-x86/silvermont/string/sse2-memmove-slm.S
rch-x86_64/string/sse2-memmove-slm.S
40fca0f08b1eb87e283d6f634d9759ed3161f517 04-Jun-2014 Dan Albert <danalbert@google.com> Removes index() from bionic.

This function has been removed from POSIX.

Unfortunately, we can't leave #define index(a, b) strchr((a), (b)) in its place
because defining a preprocessor macro for index() breaks a whole lot of code.

Bug: 13935372
Change-Id: Ifda348acde06da61c12e7ee2f8fe6950a3174dd1
rch-arm64/arm64.mk
rch-mips64/mips64.mk
rch-x86_64/x86_64.mk
nclude/string.h
nclude/strings.h
205dd7d9b3ba314ef8601e4613823c2d62a0605b 04-Jun-2014 Dan Albert <danalbert@google.com> Remove bsd_signal and sysv_signal from bionic LP64.

bsd_signal was removed in POSIX 2008, sysv_signal was never POSIX.

Bug: 13935372
Change-Id: I7688e5cc317247ff075dcf99b598f515fb4f15c4
ionic/ndk_cruft.cpp
ionic/signal.cpp
nclude/signal.h
a6bd78a30a4989123b670c7edaed319971f140f8 05-Jun-2014 Elliott Hughes <enh@google.com> am 3cd4b783: am 8aabecf3: Merge "Hide __libc_fini."

* commit '3cd4b783fb7b0c0172934faef21792356fdf3385':
Hide __libc_fini.
6d9b463b721423766162093addf08b85f1cd4244 05-Jun-2014 Dan Albert <danalbert@google.com> am 60d57baf: am 76812041: Merge "Revert "Remove ftime from bionic LP64""

* commit '60d57baf5718f5d18dff4059b2f59f9d9b63dc0a':
Revert "Remove ftime from bionic LP64"
768120416ba465b8dcac21737f7d4451df962406 05-Jun-2014 Dan Albert <danalbert@google.com> Merge "Revert "Remove ftime from bionic LP64""
0921204660b9597de795065d0350a787035ad589 05-Jun-2014 Dan Albert <danalbert@google.com> Revert "Remove ftime from bionic LP64"

Breaking some build... will look in to it later.

This reverts commit 26d6799bbe170b0955f564974b584c1471efdca1.

Change-Id: I35fa770221be3a181bd37c6c3dce1bf37a69a4a1
ndroid.mk
ionic/ftime.c
ionic/ndk_cruft.cpp
nclude/sys/timeb.h
8e89ed2e873bc0eb03c9ceba811927e78cd5829e 05-Jun-2014 Dan Albert <danalbert@google.com> am 3d7fd883: am 428581fb: Merge "Remove ftime from bionic LP64"

* commit '3d7fd8836474497e2745e98df30e0fea6f4d4723':
Remove ftime from bionic LP64
428581fb4532d4369aece3e42906e27e634af050 05-Jun-2014 Dan Albert <danalbert@google.com> Merge "Remove ftime from bionic LP64"
31fee71b432bc61f96c6a63a6a4e9dbcefb0cfb0 05-Jun-2014 Elliott Hughes <enh@google.com> am a4edb723: am 37229f2a: Merge "Temporarily expose dlmalloc_usable_size."

* commit 'a4edb7235084cdf62149310fcb1653596f680948':
Temporarily expose dlmalloc_usable_size.
1f29665f1507f866da4fc4c0ee094c22d6181966 05-Jun-2014 Elliott Hughes <enh@google.com> Hide __libc_fini.

Bug: 11156955
Change-Id: Id5af3540c6ec4d9ef969d62a230144fe8bb76b0b
ionic/libc_init_common.h
26d6799bbe170b0955f564974b584c1471efdca1 05-Jun-2014 Dan Albert <danalbert@google.com> Remove ftime from bionic LP64

Bug: 13935372
Change-Id: I5dd31147143b23a090a3b75b846dc5354e599121
ndroid.mk
ionic/ftime.c
ionic/ndk_cruft.cpp
nclude/sys/timeb.h
67c437b2315a0b01ca4031192879f8eba966b1a7 05-Jun-2014 Elliott Hughes <enh@google.com> Revert "Temporarily expose dlmalloc_usable_size."

This reverts commit 6403cc48707b67b3400bdaf720f3e4777a1b48de.

Change-Id: Id1ce4088be1e6c83271c6317eb3e5f7fc11c7b95
ionic/dlmalloc.h
6403cc48707b67b3400bdaf720f3e4777a1b48de 05-Jun-2014 Elliott Hughes <enh@google.com> Temporarily expose dlmalloc_usable_size.

Bug: 15425694
Change-Id: I47e1ca598817359260c372fec8072e76886054f0
ionic/dlmalloc.h
c5a17834c438e5c26d61fdb9ca6872cf9e5df129 05-Jun-2014 Elliott Hughes <enh@google.com> am 02255f26: am 53e3bbab: Merge "Temporary fix for asan_malloc_linux.cc build failure."

* commit '02255f267448f88f16f3ddeaf5c701ab01a17c4b':
Temporary fix for asan_malloc_linux.cc build failure.
14442bb22955f704091f23e670ed9f8bdcda1ce9 05-Jun-2014 Elliott Hughes <enh@google.com> Temporary fix for asan_malloc_linux.cc build failure.

Bug: 15432753
Change-Id: I02a3a2c826e6d01e6809c51588a9670dcd179123
ionic/malloc_debug_common.cpp
aca22284fce2f08838d89bb4c4ff9e0481218df2 04-Jun-2014 Elliott Hughes <enh@google.com> am b27cb268: am 38732aa9: Merge "Fix debug malloc."

* commit 'b27cb268c0c1424c71d64b8a713983257d4de7ee':
Fix debug malloc.
ab86296461a4741da5c2d399d000992df7b61f51 04-Jun-2014 Dan Albert <danalbert@google.com> am ea5c19c4: am 623dce3b: Merge "Removes wcswcs from bionic for LP64."

* commit 'ea5c19c4cf82eb97a0ee90d6e9c7dfe0c709e2fb':
Removes wcswcs from bionic for LP64.
38732aa9ea28b54d55c46b6b1f9367cb8fa147f1 04-Jun-2014 Elliott Hughes <enh@google.com> Merge "Fix debug malloc."
8e52e8fe83632c667521c1c8e4f640e94c09baed 04-Jun-2014 Elliott Hughes <enh@google.com> Fix debug malloc.

Previously the dynamically-loaded part of the debug malloc implementation
wanted to access hidden symbols in libc itself.

Bug: 15426546
Change-Id: I6a366ef626854d1af1d705ca24842817b1c02a19
ionic/malloc_debug_check.cpp
ionic/malloc_debug_common.cpp
ionic/malloc_debug_common.h
ionic/malloc_debug_leak.cpp
ionic/malloc_debug_qemu.cpp
001f8f041bf21c53d4a0b919ef2c859b047bac0a 04-Jun-2014 Dan Albert <danalbert@google.com> Removes wcswcs from bionic for LP64.

Bug: 13935372
Change-Id: I0deb15e769da4fa81bb65a87f3c86db5163a5796
ndroid.mk
ionic/ndk_cruft.cpp
nclude/wchar.h
pstream-openbsd/lib/libc/string/wcswcs.c
5406127ca07eee1107f4d45a7c05938081326ccc 04-Jun-2014 Elliott Hughes <enh@google.com> am 8c5d3170: am e120cba3: Merge "Cherrypick upstream OpenBSD\'s vfwprintf.c revision 1.11."

* commit '8c5d3170411e00c8f0cc126d84e4b08e6a1223d1':
Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11.
bb87e9a823d845cc0fc42b22bccbbc281b831176 04-Jun-2014 Dan Albert <danalbert@google.com> am 4855a97e: am 452e0913: Merge "Adds functionality specified by uchar.h"

* commit '4855a97ed06500de7515e2984d9f44cae7bf756a':
Adds functionality specified by uchar.h
e120cba31df5249b720579312e799bd1c65f8e3d 04-Jun-2014 Elliott Hughes <enh@google.com> Merge "Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11."
452e09130010b641904e7411e0c539590a654022 04-Jun-2014 Dan Albert <danalbert@google.com> Merge "Adds functionality specified by uchar.h"
be8df2e7445968d503a59a0a15c9612a8fb991df 04-Jun-2014 Elliott Hughes <enh@google.com> Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11.

revision 1.11
date: 2014/06/04 07:45:25; author: stsp; state: Exp; lines: +1 -7; commitid:
zJPRH5RUO224FmQu;
Remove assigned but unused local variables and macro from vfwprintf().
Found by Elliott @ google
ok mpi@

Change-Id: I716edc0c4d736a484a5317942de8e87bd8c6fd26
ndroid.mk
pstream-openbsd/lib/libc/stdio/vfwprintf.c
7a7f9952c12b216fbf91fc4cdbb97045e8861115 02-Jun-2014 Dan Albert <danalbert@google.com> Adds functionality specified by uchar.h

mbrtoc32 and c32rtomb get their implementations from mbrtowc and wcrtomb. The
wc functions now simply call the c32 functions.

Bug: 14646575
Change-Id: I49d4b95fed0f9d790260c996c4d0f8bfd1686324
ndroid.mk
ionic/c16rtomb.cpp
ionic/c32rtomb.cpp
ionic/mbrtoc16.cpp
ionic/mbrtoc32.cpp
ionic/mbstate.cpp
ionic/wchar.cpp
nclude/uchar.h
rivate/bionic_mbstate.h
27e3e3300c4bc57c241ebd52c3cd870832f10b3a 04-Jun-2014 Elliott Hughes <enh@google.com> am 9a2aba17: am 38ed337c: Merge "Hide dlmalloc symbols."

* commit '9a2aba176a8b315207c728132591eea57f6b4d53':
Hide dlmalloc symbols.
38ed337c1343af1aa55487777ed80de6b0d33638 04-Jun-2014 Elliott Hughes <enh@google.com> Merge "Hide dlmalloc symbols."
9b5235d74e794d29fa912fe95ca3d5ec488dd371 04-Jun-2014 Elliott Hughes <enh@google.com> Hide dlmalloc symbols.

We need to leave dlmalloc_trim and dlmalloc_inspect_all exposed for
the VM, but if we're seriously looking at other malloc implementations,
that's something we're going to have to fix.

Bug: 11156955
Change-Id: If85156c280044f1616c09a3c50ba674aaf0e8d3a
ndroid.mk
ionic/dlmalloc.c
ionic/dlmalloc.h
651dde33e4ad959b49dd9ef3a65f0ef818a8f663 04-Jun-2014 Dan Albert <danalbert@google.com> am d90ded5a: am c3801894: Merge "Removes bcopy and bzero from bionic."

* commit 'd90ded5a911d5c37da49fb6179cf4ff5b9d48cb3':
Removes bcopy and bzero from bionic.
c380189410b66dcaca5936b2fabceab4c492dd53 04-Jun-2014 Dan Albert <danalbert@google.com> Merge "Removes bcopy and bzero from bionic."
ce9ce28e5d760e32ab6c894dfaf7b8dad6de7ff6 03-Jun-2014 Dan Albert <danalbert@google.com> Removes bcopy and bzero from bionic.

These symbols are still defined for LP32 for binary compatibility, but
the declarations have been replaced with the POSIX recommended #defines.

Bug: 13935372
Change-Id: Ief7e6ca012db374588ba5839f11e8f3a13a20467
rch-arm64/generic/bionic/bcopy.S
rch-arm64/generic/bionic/bzero.S
rch-arm64/generic/generic.mk
rch-mips64/bionic/bzero.S
rch-mips64/mips64.mk
rch-x86_64/string/sse2-bcopy-slm.S
rch-x86_64/string/sse2-bzero-slm.S
rch-x86_64/x86_64.mk
ionic/memmove.c
nclude/strings.h
ad5342a0c04fa981008c27400028e0d20399add7 04-Jun-2014 Elliott Hughes <enh@google.com> am 5bf90caa: am 3dbc2fe3: Merge "Work around "error: variable \'uio\' set but not used"."

* commit '5bf90caa78425c0053d35186b91a1c4936ccb149':
Work around "error: variable 'uio' set but not used".
b239d3fa27333923a63c9d781b64df13d94f3e3c 04-Jun-2014 Elliott Hughes <enh@google.com> am 85981760: am be15d16b: Merge "Turn on -Wunused and fix the mistakes it uncovers."

* commit '859817602d24d5c4868ed8b7d0cc69e5d3babfc6':
Turn on -Wunused and fix the mistakes it uncovers.
b082645ccbac14e5c2ee2c55b22a0e635c3eae03 04-Jun-2014 Elliott Hughes <enh@google.com> Work around "error: variable 'uio' set but not used".

I've sent the real fix upstream, and will merge that when they commit it.

Change-Id: I75e5cab87026f8990c585d364dd178753d727e2a
ndroid.mk
430cf1a6c32471ada4dad028acbfcc032da01fd3 03-Jun-2014 Elliott Hughes <enh@google.com> DO NOT MERGE fdprintf backward compatibility shim.

Fixes LP64 build.

Change-Id: Ic76005cd1f5a55344ea8ee3d070d25631d011037
ionic/ndk_cruft.cpp
nclude/stdio.h
d286796fce1e6fff407b719a53eb2afbeb96c327 04-Jun-2014 Elliott Hughes <enh@google.com> Turn on -Wunused and fix the mistakes it uncovers.

Change-Id: I023d2d8b547fbc21d4124bb7510d42b06a0dc501
ndroid.mk
ionic/libc_init_dynamic.cpp
ionic/libc_init_static.cpp
0d78bdaf65c49f83550485fd8a3b6fd5e5d195d6 03-Jun-2014 Paul Jensen <pauljensen@google.com> Merge "Make host resolver call __connect() rather than connect() so mark isn't cleared."
109c5a81d4b8eda9c332d8246a4b9c672a139bb1 03-Jun-2014 Dan Albert <danalbert@google.com> am 6e587086: am 2f9400b6: Merge "Use __libc_fatal() for failed malloc in new"

* commit '6e5870865e11f38ac9fcdf39c6097f1e39af9234':
Use __libc_fatal() for failed malloc in new
2f9400b679ffe08f7190781e64edda5edf0f7297 03-Jun-2014 Dan Albert <danalbert@google.com> Merge "Use __libc_fatal() for failed malloc in new"
989725940e765f0065b2bc06b881cde864b62595 31-May-2014 Dan Albert <danalbert@google.com> Use __libc_fatal() for failed malloc in new

This way we can print a useful message to the log isntead of just dying
mysteriously.

Change-Id: Ib660c2fd8ce8bb9aa0d0bb634ae08c645d3901e5
ionic/new.cpp
4832a0961dc891ef69177c9cf0c3e3ba5dd7b69d 30-May-2014 Elliott Hughes <enh@google.com> DO NOT MERGE Fix lmp-preview-dev after bionic merge.

Other projects in lmp-preview-dev are out of date, and it's easier to patch
bionic than to fix all of them.

(cherry picked from commit a856c6f543c71f6778cdb9b39f6049ae8b2c4e53)

Change-Id: Id8fbdf35eb55150579f85b7bdddb5d68d3012218
nclude/stdio.h
nclude/sys/atomics.h
87f0392320e2896e70cee9cf78e33ee6f5899574 02-Jun-2014 Elliott Hughes <enh@google.com> am 016074f6: am 987bd5c6: am 2deef73f: Merge "Avoid a system call in \'gettid\'."

* commit '016074f6beec46fa2140e2cabd11ade488776402':
Avoid a system call in 'gettid'.
5d9a7ba0dc9c24ed4e4efa9cac0e796fd524b308 31-May-2014 Elliott Hughes <enh@google.com> Avoid a system call in 'gettid'.

System calls can be pretty slow. This is mako, which has one of our
lowest latencies:

iterations ns/op
BM_unistd_getpid 10000000 209
BM_unistd_gettid 200000000 8

Bug: 15297299 (kernel panic from too many gettid calls)
Bug: 15315766 (excessive gettid overhead in liblogd)
Change-Id: I49656c0fc5b5d092390264a59e4f2c0d8a8b1aeb
ndroid.mk
YSCALLS.TXT
rch-arm/syscalls/gettid.S
rch-arm64/syscalls/gettid.S
rch-mips/syscalls/gettid.S
rch-mips64/syscalls/gettid.S
rch-x86/syscalls/gettid.S
rch-x86_64/syscalls/gettid.S
ionic/gettid.cpp
468c292262510056ca2208017642922428592c50 31-May-2014 Elliott Hughes <enh@google.com> am df2e70f3: am d3f2a204: am 7a5732bd: Merge "Add some missing __noreturn attributes."

* commit 'df2e70f39036cab8bcbf8c238f39b21f83b32d8d':
Add some missing __noreturn attributes.
6203e7b853a587fbd70cea2e58b63ae38a71a13e 30-May-2014 Elliott Hughes <enh@google.com> Add some missing __noreturn attributes.

This is more honest, and lets us remove a hack.

Change-Id: I309f064743ded5248573ccafc379f78d417db08d
ionic/clone.cpp
ionic/pthread_exit.cpp
4a7cae7a4525adfdb2536d4b0a79d06f156b21b9 30-May-2014 Elliott Hughes <enh@google.com> am 8db7b4b5: am f306c414: am 3a3b27e0: Merge "x86: stop unwinding past __bionic_clone."

* commit '8db7b4b54ca28f6c80115c43a83323f562d275b7':
x86: stop unwinding past __bionic_clone.
ee9d5bdd950bb05549bddc614c3c5ce9d10a5b08 30-May-2014 Elliott Hughes <enh@google.com> x86: stop unwinding past __bionic_clone.

The apparent "previous" frame is on another thread's stack.

Bug: 14270816
Bug: 15195760
Change-Id: I884f370e116203c5fa3b05a75fb8f356537261c4
rch-x86/bionic/__bionic_clone.S
31ad03761d35ce5bff48cc1cb3764816727ac1f0 29-May-2014 Paul Jensen <pauljensen@google.com> Make host resolver call __connect() rather than connect() so mark isn't cleared.

Calling connect() will erase the mark set by the host resolver code because the
explicitlySelected bit of the Fwmark isn't set. It's by design that the
explicitlySelected bit isn't set as this facilitates falling through to other
routing rules if the selected network doesn't provide a route to the DNS server
as may be the case with VPNs.

Change-Id: I60ba7c754194ead97df3ac6a6c5b3db1f446dac8
ns/include/resolv_private.h
ns/net/getaddrinfo.c
ns/resolv/res_send.c
2779dc737343610b1e5337664145b9f6dfb686a0 30-May-2014 Christopher Ferris <cferris@google.com> am 1a3a9d4d: am e4068e33: am 94170742: Merge "Fix x86 cfi directives for syscalls."

* commit '1a3a9d4d99557021a77d2d903775adabb24560f4':
Fix x86 cfi directives for syscalls.
15b91e92a0bb4a15b4f2258bea332f4a67fa94d7 30-May-2014 Christopher Ferris <cferris@google.com> Fix x86 cfi directives for syscalls.

The syscall generation always used 4 bytes for each push cfi directive.
However, the first push should always use an offset of 8 bytes, each
subsequent push after that is only 4 bytes though.

Change-Id: Ibaabd107f399ef67010b9a08213783957c2f74a9
rch-x86/syscalls/__accept4.S
rch-x86/syscalls/__brk.S
rch-x86/syscalls/__connect.S
rch-x86/syscalls/__epoll_pwait.S
rch-x86/syscalls/__exit.S
rch-x86/syscalls/__fcntl64.S
rch-x86/syscalls/__fstatfs64.S
rch-x86/syscalls/__getcpu.S
rch-x86/syscalls/__getcwd.S
rch-x86/syscalls/__getpriority.S
rch-x86/syscalls/__ioctl.S
rch-x86/syscalls/__llseek.S
rch-x86/syscalls/__mmap2.S
rch-x86/syscalls/__openat.S
rch-x86/syscalls/__ppoll.S
rch-x86/syscalls/__pselect6.S
rch-x86/syscalls/__ptrace.S
rch-x86/syscalls/__reboot.S
rch-x86/syscalls/__rt_sigaction.S
rch-x86/syscalls/__rt_sigpending.S
rch-x86/syscalls/__rt_sigprocmask.S
rch-x86/syscalls/__rt_sigsuspend.S
rch-x86/syscalls/__rt_sigtimedwait.S
rch-x86/syscalls/__sched_getaffinity.S
rch-x86/syscalls/__set_thread_area.S
rch-x86/syscalls/__set_tid_address.S
rch-x86/syscalls/__sigaction.S
rch-x86/syscalls/__signalfd4.S
rch-x86/syscalls/__socket.S
rch-x86/syscalls/__statfs64.S
rch-x86/syscalls/__timer_create.S
rch-x86/syscalls/__timer_delete.S
rch-x86/syscalls/__timer_getoverrun.S
rch-x86/syscalls/__timer_gettime.S
rch-x86/syscalls/__timer_settime.S
rch-x86/syscalls/__waitid.S
rch-x86/syscalls/_exit.S
rch-x86/syscalls/acct.S
rch-x86/syscalls/bind.S
rch-x86/syscalls/capget.S
rch-x86/syscalls/capset.S
rch-x86/syscalls/chdir.S
rch-x86/syscalls/chroot.S
rch-x86/syscalls/clock_getres.S
rch-x86/syscalls/clock_gettime.S
rch-x86/syscalls/clock_nanosleep.S
rch-x86/syscalls/clock_settime.S
rch-x86/syscalls/close.S
rch-x86/syscalls/delete_module.S
rch-x86/syscalls/dup.S
rch-x86/syscalls/dup3.S
rch-x86/syscalls/epoll_create1.S
rch-x86/syscalls/epoll_ctl.S
rch-x86/syscalls/eventfd.S
rch-x86/syscalls/execve.S
rch-x86/syscalls/faccessat.S
rch-x86/syscalls/fallocate64.S
rch-x86/syscalls/fchdir.S
rch-x86/syscalls/fchmod.S
rch-x86/syscalls/fchmodat.S
rch-x86/syscalls/fchown.S
rch-x86/syscalls/fchownat.S
rch-x86/syscalls/fdatasync.S
rch-x86/syscalls/fgetxattr.S
rch-x86/syscalls/flistxattr.S
rch-x86/syscalls/flock.S
rch-x86/syscalls/fremovexattr.S
rch-x86/syscalls/fsetxattr.S
rch-x86/syscalls/fstat64.S
rch-x86/syscalls/fstatat64.S
rch-x86/syscalls/fsync.S
rch-x86/syscalls/ftruncate.S
rch-x86/syscalls/ftruncate64.S
rch-x86/syscalls/getdents.S
rch-x86/syscalls/getgroups.S
rch-x86/syscalls/getitimer.S
rch-x86/syscalls/getpeername.S
rch-x86/syscalls/getpgid.S
rch-x86/syscalls/getresgid.S
rch-x86/syscalls/getresuid.S
rch-x86/syscalls/getrlimit.S
rch-x86/syscalls/getrusage.S
rch-x86/syscalls/getsid.S
rch-x86/syscalls/getsockname.S
rch-x86/syscalls/getsockopt.S
rch-x86/syscalls/gettimeofday.S
rch-x86/syscalls/getxattr.S
rch-x86/syscalls/init_module.S
rch-x86/syscalls/inotify_add_watch.S
rch-x86/syscalls/inotify_init1.S
rch-x86/syscalls/inotify_rm_watch.S
rch-x86/syscalls/ioprio_get.S
rch-x86/syscalls/ioprio_set.S
rch-x86/syscalls/kill.S
rch-x86/syscalls/klogctl.S
rch-x86/syscalls/lgetxattr.S
rch-x86/syscalls/linkat.S
rch-x86/syscalls/listen.S
rch-x86/syscalls/listxattr.S
rch-x86/syscalls/llistxattr.S
rch-x86/syscalls/lremovexattr.S
rch-x86/syscalls/lseek.S
rch-x86/syscalls/lsetxattr.S
rch-x86/syscalls/madvise.S
rch-x86/syscalls/mincore.S
rch-x86/syscalls/mkdirat.S
rch-x86/syscalls/mknodat.S
rch-x86/syscalls/mlock.S
rch-x86/syscalls/mlockall.S
rch-x86/syscalls/mount.S
rch-x86/syscalls/mprotect.S
rch-x86/syscalls/mremap.S
rch-x86/syscalls/msync.S
rch-x86/syscalls/munlock.S
rch-x86/syscalls/munmap.S
rch-x86/syscalls/nanosleep.S
rch-x86/syscalls/personality.S
rch-x86/syscalls/pipe2.S
rch-x86/syscalls/prctl.S
rch-x86/syscalls/pread64.S
rch-x86/syscalls/prlimit64.S
rch-x86/syscalls/pwrite64.S
rch-x86/syscalls/read.S
rch-x86/syscalls/readahead.S
rch-x86/syscalls/readlinkat.S
rch-x86/syscalls/readv.S
rch-x86/syscalls/recvfrom.S
rch-x86/syscalls/recvmmsg.S
rch-x86/syscalls/recvmsg.S
rch-x86/syscalls/removexattr.S
rch-x86/syscalls/renameat.S
rch-x86/syscalls/sched_get_priority_max.S
rch-x86/syscalls/sched_get_priority_min.S
rch-x86/syscalls/sched_getparam.S
rch-x86/syscalls/sched_getscheduler.S
rch-x86/syscalls/sched_rr_get_interval.S
rch-x86/syscalls/sched_setaffinity.S
rch-x86/syscalls/sched_setparam.S
rch-x86/syscalls/sched_setscheduler.S
rch-x86/syscalls/sched_yield.S
rch-x86/syscalls/sendfile.S
rch-x86/syscalls/sendfile64.S
rch-x86/syscalls/sendmmsg.S
rch-x86/syscalls/sendmsg.S
rch-x86/syscalls/sendto.S
rch-x86/syscalls/setgid.S
rch-x86/syscalls/setgroups.S
rch-x86/syscalls/setitimer.S
rch-x86/syscalls/setns.S
rch-x86/syscalls/setpgid.S
rch-x86/syscalls/setpriority.S
rch-x86/syscalls/setregid.S
rch-x86/syscalls/setresgid.S
rch-x86/syscalls/setresuid.S
rch-x86/syscalls/setreuid.S
rch-x86/syscalls/setrlimit.S
rch-x86/syscalls/setsockopt.S
rch-x86/syscalls/settimeofday.S
rch-x86/syscalls/setuid.S
rch-x86/syscalls/setxattr.S
rch-x86/syscalls/shutdown.S
rch-x86/syscalls/sigaltstack.S
rch-x86/syscalls/socketpair.S
rch-x86/syscalls/swapoff.S
rch-x86/syscalls/swapon.S
rch-x86/syscalls/symlinkat.S
rch-x86/syscalls/sync.S
rch-x86/syscalls/sysinfo.S
rch-x86/syscalls/tgkill.S
rch-x86/syscalls/timerfd_create.S
rch-x86/syscalls/timerfd_gettime.S
rch-x86/syscalls/timerfd_settime.S
rch-x86/syscalls/times.S
rch-x86/syscalls/truncate.S
rch-x86/syscalls/truncate64.S
rch-x86/syscalls/umask.S
rch-x86/syscalls/umount2.S
rch-x86/syscalls/uname.S
rch-x86/syscalls/unlinkat.S
rch-x86/syscalls/unshare.S
rch-x86/syscalls/utimensat.S
rch-x86/syscalls/wait4.S
rch-x86/syscalls/write.S
rch-x86/syscalls/writev.S
ools/gensyscalls.py
768fa1f6367423714c39b3875efc75600a8badc2 30-May-2014 Elliott Hughes <enh@google.com> am 2f97e423: am e1df1eb2: am 264d1b83: Merge "Remove issetugid."

* commit '2f97e423274793c1b47a5be2479f767fd26bbc54':
Remove issetugid.
b4e099c6f741835b11ecb6f8fd0861b1892ff182 30-May-2014 Elliott Hughes <enh@google.com> Remove issetugid.

Bug: 14569474
Change-Id: I752c77ed53c724f144f0b618443eb95e87f2929a
ndroid.mk
ionic/issetugid.c
nclude/unistd.h
pstream-openbsd/android/include/openbsd-compat.h
a6ee6ac422631a4aa199f57d364126415bc1cc18 29-May-2014 Christopher Ferris <cferris@google.com> am 4704238d: am 84d90bf5: am aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"

* commit '4704238dd27095886e273edc3902722e8f941310':
Add Aarch64 optimized bzero based on memset
aa5f32ea1c8af9776a1c26a027495954c835be55 29-May-2014 Christopher Ferris <cferris@google.com> Merge "Add Aarch64 optimized bzero based on memset"
0f20aafa252784c30d11c63a80d29093e394e8e9 29-May-2014 Elliott Hughes <enh@google.com> am 8efc3054: am dafa59b8: am 4dd0b72d: Merge "Return the actual success result from __futex."

* commit '8efc30544f5ef32395d97f41139d1906a21ca06f':
Return the actual success result from __futex.
ea1004b6b359da9c898d82d1d29429b210556cbb 29-May-2014 Christopher Ferris <cferris@google.com> am deb1ec4a: am 47150dca: am 1a57de71: Merge "Fix overflow testing in sbrk."

* commit 'deb1ec4aaa0e7f74746c97ccbc22a367640c301f':
Fix overflow testing in sbrk.
62d92e1610080cad16342f87a7fb46d8388ee4bb 19-May-2014 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Add Aarch64 optimized bzero based on memset

Change-Id: I62cf25bfe23b9d811e00af7307bbd19d89937792
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
rch-arm64/arm64.mk
rch-arm64/bionic/bzero_arm64.c
rch-arm64/generic/bionic/bzero.S
rch-arm64/generic/bionic/memset.S
rch-arm64/generic/generic.mk
4dd0b72dd36f3d9afd6bf0c184866f0d9242084f 29-May-2014 Elliott Hughes <enh@google.com> Merge "Return the actual success result from __futex."
1a57de713adfb81842cb2ebdfc051ecb9afa55f1 29-May-2014 Christopher Ferris <cferris@google.com> Merge "Fix overflow testing in sbrk."
738b0cc5e95a9a650e9621603f4dd8dd16b07568 22-May-2014 Christopher Ferris <cferris@google.com> Fix overflow testing in sbrk.

Modify the overflow testing for sbrk.

Bug: 15188366

Change-Id: Ia83f85f7c1789454d872279bd41f38f1ce6b8a34
ionic/brk.cpp
1ee46520caa1a2a47c69d58f49f4042194ec0339 29-May-2014 Elliott Hughes <enh@google.com> Return the actual success result from __futex.

futex(2) can return non-zero successes.

Bug: 15195455
Change-Id: I7818bc922a5a2df31228ff72c169320b5e69a544
rivate/bionic_futex.h
dd4489bfbe97bd03c95c7cad8554e82b7e771ed2 29-May-2014 Elliott Hughes <enh@google.com> am 4843fab2: am ad73e2f5: am ef023873: Merge "Minor style cleanup of some code I had to look at."

* commit '4843fab2ee025fae5e04d84dd687e507fc4e99f0':
Minor style cleanup of some code I had to look at.
864b9260264006787a67126588a3abe1b4eb19e5 29-May-2014 Elliott Hughes <enh@google.com> am 8a00b45d: am c3930812: am 0bdd668f: Merge "Upgrade to tzdata2014d."

* commit '8a00b45d601d6e9a5a7ab63544f66267ed1a857b':
Upgrade to tzdata2014d.
ef023873e2bbd83f4fde69fd427e04ef1eb6e769 29-May-2014 Elliott Hughes <enh@google.com> Merge "Minor style cleanup of some code I had to look at."
b7f136a01f773d0ca9b087743de836166d55a2ef 29-May-2014 Elliott Hughes <enh@google.com> Upgrade to tzdata2014d.

There are no substantive changes to the data in this release. I'm applying
this just for completeness.

Change-Id: Ibe953969cb16db4d8d1ddb7dd3c943316e6e46b4
oneinfo/tzdata
624996026b844ff2eba2283f4dc83ec363d85a11 29-May-2014 Elliott Hughes <enh@google.com> Minor style cleanup of some code I had to look at.

(It turns out that this is the only place we're saying __inline in C++.)

Change-Id: I8095e67a385087817c47caab9a621f82f8e0cfc8
ionic/pthread_mutex.cpp
49d1ce63d91d2ed7c7612964009e3c525bd57d0a 29-May-2014 Elliott Hughes <enh@google.com> am 275906e4: am 3388c7be: am fae42a83: Merge "Revert "Revert "Lose the hand-written futex assembler."""

* commit '275906e4b08062e50dbd0b1938a9a1379f577649':
Revert "Revert "Lose the hand-written futex assembler.""
fae42a837ae7f880de9561c7b3c2b18e4a531e90 29-May-2014 Elliott Hughes <enh@google.com> Merge "Revert "Revert "Lose the hand-written futex assembler."""
b30aff405a220495941f1673b0a5e66c4fa8b84c 28-May-2014 Elliott Hughes <enh@google.com> Revert "Revert "Lose the hand-written futex assembler.""

The problem with the original patch was that using syscall(3) means that
errno can be set, but pthread_create(3) was abusing the TLS errno slot as
a pthread_mutex_t for the thread startup handshake.

There was also a mistake in the check for syscall failures --- it should
have checked against -1 instead of 0 (not just because that's the default
idiom, but also here because futex(2) can legitimately return values > 0).

This patch stops abusing the TLS errno slot and adds a pthread_mutex_t to
pthread_internal_t instead. (Note that for LP64 sizeof(pthread_mutex_t) >
sizeof(uintptr_t), so we could potentially clobber other TLS slots too.)

I've also rewritten the LP32 compatibility stubs to directly reuse the
code from the .h file.

This reverts commit 75c55ff84ebfa686c7ae2cc8ee431c6a33bd46b4.

Bug: 15195455
Change-Id: I6ffb13e5cf6a35d8f59f692d94192aae9ab4593d
YSCALLS.TXT
rch-arm/arm.mk
rch-arm/bionic/futex_arm.S
rch-arm/syscalls/futex.S
rch-arm64/arm64.mk
rch-arm64/bionic/futex_arm64.S
rch-arm64/syscalls/futex.S
rch-mips/bionic/futex_mips.S
rch-mips/mips.mk
rch-mips/syscalls/futex.S
rch-mips64/bionic/futex_mips.S
rch-mips64/mips64.mk
rch-mips64/syscalls/futex.S
rch-x86/bionic/futex_x86.S
rch-x86/syscalls/futex.S
rch-x86/x86.mk
rch-x86_64/bionic/futex_x86_64.S
rch-x86_64/syscalls/futex.S
rch-x86_64/x86_64.mk
ionic/ndk_cruft.cpp
ionic/pthread_create.cpp
ionic/pthread_internal.h
rivate/bionic_futex.h
rivate/bionic_tls.h
cd4e99048a39160c3c649e115811b6009de1e75c 29-May-2014 Dan Albert <danalbert@google.com> am e4f5ae5d: am c51e9208: am dc3fb119: Merge "Updated ambiguous comment in pthread_mutex_lock."

* commit 'e4f5ae5d54865d6f61a32eeba6af846550d2a254':
Updated ambiguous comment in pthread_mutex_lock.
48c544f1c28cce2f9bb7d96ee10240e4764b3ace 29-May-2014 Christopher Ferris <cferris@google.com> am 02d1cfb3: am fa204cf0: am 8a405b02: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

* commit '02d1cfb366b461d4c64cc87fc0f48bc3eae5fd92':
Add optimized AArch64 versions of bcopy and wmemmove based on memmove
dc3fb119497382fc8d9c3b87c5ef8321141330dc 29-May-2014 Dan Albert <danalbert@google.com> Merge "Updated ambiguous comment in pthread_mutex_lock."
8a405b027a9c8b3a614016f4824a03fa252e9e1e 28-May-2014 Christopher Ferris <cferris@google.com> Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
ff03a7aaade5826e3708f6e320d0612d4cdbdb72 28-May-2014 Brigid Smith <brigidsmith@google.com> Updated ambiguous comment in pthread_mutex_lock.

The comment used the phrase "normal case" when it more specifically refers to the "recursive case," so I changed it to that.

Change-Id: I8335cce4dee933c6a463aee653b28bd986b5b5e4
ionic/pthread_mutex.cpp
dc3178707d484615f3230faadd0796b8cf334675 28-May-2014 Narayan Kamath <narayan@google.com> am adb1ec50: am 784254f2: am 52f74322: Merge "Revert "Lose the hand-written futex assembler.""

* commit 'adb1ec509e4866eab1f0a7fb8b99dd31e5d8e23f':
Revert "Lose the hand-written futex assembler."
15627c101664b8cf9b6a3c152738bd5e77a2c000 28-May-2014 Calin Juravle <calin@google.com> am c3f22810: am 7ca4d736: am 53e70fe3: Merge "Remove unnecessary padding in ucontext_t"

* commit 'c3f228103f0ff855214e0d15d51a26da7723d3b6':
Remove unnecessary padding in ucontext_t
52f74322b1d72d57146107f32ee2c76c421bf4b1 28-May-2014 Narayan Kamath <narayan@google.com> Merge "Revert "Lose the hand-written futex assembler.""
75c55ff84ebfa686c7ae2cc8ee431c6a33bd46b4 28-May-2014 Narayan Kamath <narayan@google.com> Revert "Lose the hand-written futex assembler."

This reverts commit ced906c849704f379d7191822f6d74993d4fa296.

Causes issues on art / dalvik due to a broken return value
check and other undiagnosed issues.

bug: 15195455

Change-Id: I5d6bbb389ecefb0e33a5237421a9d56d32a9317c
YSCALLS.TXT
rch-arm/arm.mk
rch-arm/bionic/futex_arm.S
rch-arm/syscalls/futex.S
rch-arm64/arm64.mk
rch-arm64/bionic/futex_arm64.S
rch-arm64/syscalls/futex.S
rch-mips/bionic/futex_mips.S
rch-mips/mips.mk
rch-mips/syscalls/futex.S
rch-mips64/bionic/futex_mips.S
rch-mips64/mips64.mk
rch-mips64/syscalls/futex.S
rch-x86/bionic/futex_x86.S
rch-x86/syscalls/futex.S
rch-x86/x86.mk
rch-x86_64/bionic/futex_x86_64.S
rch-x86_64/syscalls/futex.S
rch-x86_64/x86_64.mk
rivate/bionic_futex.h
0ba998b3c3c557e991d234da302359391da24ae8 28-May-2014 Elliott Hughes <enh@google.com> am 44445f2d: am ab4c4686: am 7fdde4a5: Merge "Expose __srefill for LP64 until we can fix the NDK."

* commit '44445f2d51e946f6ba14101058a1cc6157f2e185':
Expose __srefill for LP64 until we can fix the NDK.
bdca3802c9c9d033fbc553ed24b92ac78859a463 28-May-2014 Calin Juravle <calin@google.com> Remove unnecessary padding in ucontext_t

- removed extra padding from ucontex_t on x86, x86_64 and mips
- force ucontext_t struct to use 64 bits for the sigmask on all arches
(previsouly wrong since sigset_t on arm and x86 is only 32 bits)
- arm and arm64 continue to use padding to match glibc sigset_t

This brings Bionic on par with the kernel w.r.t ucontext padding.

Bug: 12828904
Change-Id: Ia8915ace694ecb4695603a334e697985f4c3e7aa
nclude/sys/ucontext.h
f6d2ca269603c16a3b3bd4a2306fb961a79ba92f 28-May-2014 Elliott Hughes <enh@google.com> Expose __srefill for LP64 until we can fix the NDK.

The LP64 has a duplicate copy of part of stdio, and relies
on bionic supplying this part. We should remove the hack from
the NDK, at least for LP64, and then revert this.

Bug: 15291317
Change-Id: I75e06e130188ca0aeb9d50dfe3a3e48a1d3968b7
tdio/local.h
0f1a221b3a83cd135e6228462d48c3b983329837 28-May-2014 Elliott Hughes <enh@google.com> am faf071df: am 9e3a0356: am 1454ff25: Merge "Clear the return address register in __bionic_clone."

* commit 'faf071dfcb2f6811727dfdfc70574552639b937c':
Clear the return address register in __bionic_clone.
1454ff2574f0bee9fb3646c9c6dd30443e0dbd38 28-May-2014 Elliott Hughes <enh@google.com> Merge "Clear the return address register in __bionic_clone."
e7dccdf683616347a8fa65aba02ee3e12babbcf4 28-May-2014 Elliott Hughes <enh@google.com> Clear the return address register in __bionic_clone.

The unwinder will end up on the parent thread's stack if the return
address register is not cleared.

Bug: 14270816
Bug: 15195760
Change-Id: Iebcdf5cc881cad245643bb193760de35eb7f8b19
rch-mips/bionic/__bionic_clone.S
rch-mips64/bionic/__bionic_clone.S
493b5cb6ac7a696084540a3df19cd2beb58cd386 28-May-2014 Dan Albert <danalbert@google.com> am 923619f6: am 4a542fc5: am 134911d7: Merge "Use __typeof__() instead of typeof()"

* commit '923619f6e22cc76db598c7e0331ce3d1a470943d':
Use __typeof__() instead of typeof()
a7821b7121933b361554b28a2f9455783a330591 22-May-2014 Dan Albert <danalbert@google.com> Use __typeof__() instead of typeof()

typeof() is a gcc builtin and is not always available (such as clang when
-std=c*). Both gcc and clang always expose __typeof__(), so just use that.

Change-Id: I75e2a990acc35f6f39b2c353f6548100ec03c67f
nclude/unistd.h
0ad4b216587ce15648eedd032d3f57bab0a8a817 27-May-2014 Elliott Hughes <enh@google.com> am 5264518f: am 946bc952: am 8e85b4f0: Merge "Restore __srefill for LP32."

* commit '5264518f61f506bb025b17520ae5e0f0bba9cb85':
Restore __srefill for LP32.
aa50585d961fb2b0f6943399d90ca0ec734946a3 27-May-2014 Elliott Hughes <enh@google.com> Restore __srefill for LP32.

The NDK apparently includes an android_support.a library that
refers to __srefill in its copy of the vsnprintf implementation.

Bug: 15249361
Change-Id: Ic2cf6f21290b3146c42fbe0624f5e4d54f6194b4
tdio/local.h
06b3711de3c9326ed9427eaf29af100671712a3f 26-May-2014 Elliott Hughes <enh@google.com> am ab4064bc: am 50c52f74: am b3c75a1e: Merge "Restore __srget and __swbuf for LP32."

* commit 'ab4064bc9308dca7880ecca6ee52242642dfa2a7':
Restore __srget and __swbuf for LP32.
b3c75a1e8ffbf575c2a425b34fd67ff8077da299 26-May-2014 Elliott Hughes <enh@google.com> Merge "Restore __srget and __swbuf for LP32."
23826c81d4b87c67b2b59c0bd97d1fbb548670f3 25-May-2014 Elliott Hughes <enh@google.com> am 6571b81b: am 21296dfe: am bc904896: Merge "Add C11 <stdatomic.h>."

* commit '6571b81b1f8f8ade80024a99af37fcf42514aaae':
Add C11 <stdatomic.h>.
bc904896a6f846e2648922d46324ea626ae9e1d1 25-May-2014 Elliott Hughes <enh@google.com> Merge "Add C11 <stdatomic.h>."
35d90bb6ec9799e04dacaa4b3a4984de9dc4c7f2 25-May-2014 Elliott Hughes <enh@google.com> Restore __srget and __swbuf for LP32.

Anthony King <anthonydking@slimroms.net> reports that for Grouper the
Nvidia GL blobs need access to __swbuf. This is because the old <stdio.h>
had inline getc and putc implementations that directly referred to these
symbols.

Change-Id: I11a7b5550018ecc93d8f195c99857759669b2906
tdio/local.h
d460da081302adaa65a98f0a51fd3828f663b8ef 25-May-2014 Elliott Hughes <enh@google.com> am abc68292: am 06c9662a: am 255789e4: Merge "Restore tkill for LP32."

* commit 'abc68292b48741fa646b8f16263cae3c42012dc8':
Restore tkill for LP32.
7b9626f4491f7e12c95c1ecabbd106b57b5f800e 25-May-2014 Elliott Hughes <enh@google.com> am 4d436a2f: am 85df714f: am d4f37110: Merge "Restore __futex_wake and __futex_wait for LP32."

* commit '4d436a2fdc3a847571a69c22d2cfefeef29ca9a2':
Restore __futex_wake and __futex_wait for LP32.
001707363ddee680d466c88dd330900683dadf63 24-May-2014 Anthony King <anthonydking@slimroms.net> Restore tkill for LP32.

libmono from Unity still requires tkill(2).

Change-Id: I37a1994b08086c7fedb5c78ea0dadf2d72bc1463
Signed-off-by: Anthony King <anthonydking@slimroms.net>
ionic/ndk_cruft.cpp
bd3a98c6b9850a8e55fb0e0ed9f045212c494881 25-May-2014 Elliott Hughes <enh@google.com> Restore __futex_wake and __futex_wait for LP32.

Should fix Skype:

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__futex_wake" referenced by "libsliq.so"...

Bug: 15196718
Change-Id: I8a18e18d830f0436e820cbde577121bd92710803
ionic/ndk_cruft.cpp
e6c57fcb05b0dcbfa8129bb6f7d99093f4819370 24-May-2014 Elliott Hughes <enh@google.com> Add C11 <stdatomic.h>.

Bug: 14903517
Change-Id: I631dbfdaa698cf7fea8e3b5e18a32586383e62a5
nclude/stdatomic.h
nclude/sys/cdefs.h
6f2bde344123d8503cd60f3ecd3420f39aa24eb9 23-May-2014 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Add optimized AArch64 versions of bcopy and wmemmove based on memmove

Add optimized versions of bcopy and wmemmove for AArch64 based on the
memmove implementation

Change-Id: I82fbe8a7221ce224c567ffcfed7a94a53640fca8
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
ndroid.mk
rch-arm/arm.mk
rch-arm64/arm64.mk
rch-arm64/generic/bionic/bcopy.S
rch-arm64/generic/bionic/memmove.S
rch-arm64/generic/bionic/wmemmove.S
rch-arm64/generic/generic.mk
rch-mips/mips.mk
rch-mips64/mips64.mk
rch-x86/x86.mk
rch-x86_64/x86_64.mk
18f89a699c0696998eb53bbcbadeda685db28429 24-May-2014 Christopher Ferris <cferris@google.com> am 3e9cd6ca: am 86f5d0f9: am 1c4d8301: Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""

* commit '3e9cd6ca1050d222e1ce5dbe27356162eb194f6f':
Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
d35cac4a2eb8dfbedeb97389e222ed13a627bd82 24-May-2014 Christopher Ferris <cferris@google.com> am b6481ffb: am 5c34b003: am 78c3e11e: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

* commit 'b6481ffb63820b759369da2e6836b1ecc453889f':
Add optimized AArch64 versions of bcopy and wmemmove based on memmove
a937f5246fe783110523418f6f5894ce6dc914ff 24-May-2014 Ben Cheng <bccheng@google.com> am 50049943: am 50348295: am f4985b14: Merge "Clear link register in __bionic_clone."

* commit '500499435f04b8617e0756f71a37736bdc1ef9ad':
Clear link register in __bionic_clone.
1c4d83012fea4e6d011215bef1665cf68d2ac47c 24-May-2014 Christopher Ferris <cferris@google.com> Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""
fd0ce866ce46ed62aa17dc2959a085cb3bf5755d 24-May-2014 Christopher Ferris <cferris@google.com> Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

This reverts commit 8167dd7cb98e87ffe9b40e4993c330b244ca2234.

For some reason I thought the bcopy change was bzero. The bcopy code doesn't pass our tests, so reverting until I can figure out what's wrong.

Change-Id: Id89fe959ea5105cd58dff6bba8d91a30cc4bcb07
ndroid.mk
rch-arm/arm.mk
rch-arm64/arm64.mk
rch-arm64/generic/bionic/bcopy.S
rch-arm64/generic/bionic/memmove.S
rch-arm64/generic/bionic/wmemmove.S
rch-arm64/generic/generic.mk
rch-mips/mips.mk
rch-mips64/mips64.mk
rch-x86/x86.mk
rch-x86_64/x86_64.mk
78c3e11e78e7d2643ec25e2be1cfc258aeb6d9d7 24-May-2014 Christopher Ferris <cferris@google.com> Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
8167dd7cb98e87ffe9b40e4993c330b244ca2234 23-May-2014 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Add optimized AArch64 versions of bcopy and wmemmove based on memmove

Add optimized versions of bcopy and wmemmove for AArch64 based on the
memmove implementation

Change-Id: Ie43d0ff4f8ec4edba5b4fb5ccacd941f81ac6557
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
ndroid.mk
rch-arm/arm.mk
rch-arm64/arm64.mk
rch-arm64/generic/bionic/bcopy.S
rch-arm64/generic/bionic/memmove.S
rch-arm64/generic/bionic/wmemmove.S
rch-arm64/generic/generic.mk
rch-mips/mips.mk
rch-mips64/mips64.mk
rch-x86/x86.mk
rch-x86_64/x86_64.mk
8df0fe0c74b7af819f36e37ec9b924fdd22c8ba4 24-May-2014 Ben Cheng <bccheng@google.com> Clear link register in __bionic_clone.

Since __bionic_clone uses tail-call to invoke __bionic_clone_entry,
at runtime the unwinder will reach the stack of the clone() function,
which belongs to the parent thread, if the link register is not cleared.

BUG: 14270816
Change-Id: Ia3711c87f8b619debe73748c28b9fb8691ea698e
rch-arm/bionic/__bionic_clone.S
rch-arm64/bionic/__bionic_clone.S
8adf95857bc008055d0c49efb7328795f012d2b3 24-May-2014 Elliott Hughes <enh@google.com> am 28bfc84e: am 764ebf8a: am a486632e: Merge "Remove <sys/atomics.h>."

* commit '28bfc84e42a91a4960844ea36c90dc7c936ef292':
Remove <sys/atomics.h>.
c3f909630bd299de807f8edb31eaef140d70ffed 23-May-2014 Elliott Hughes <enh@google.com> Remove <sys/atomics.h>.

Bug: 14903517
Change-Id: I6de1d9d3624922517fdc37922097abbc3b41f661
nclude/sys/atomics.h
09afdfb514d5d816afef2bce9ea4b879ac82e6d0 23-May-2014 Calin Juravle <calin@google.com> am 66aba0d8: am d2b12988: am b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"

* commit '66aba0d8b2789b3ccf74df7111b0e8b838f0e320':
Migrate pthread_rwlock implementation away from sys/atomics
bfba94aa3cb90372fcae1900620090f2b998f9e7 23-May-2014 Elliott Hughes <enh@google.com> am 8255a971: am 69068fd9: am fb9a47c7: Merge "Hide various stdio implementation details."

* commit '8255a971cc0d6d69c870f514fcf0fae1e5d3ebec':
Hide various stdio implementation details.
fc07a1e613dd97ccee200b65721697a0c018bba0 23-May-2014 Elliott Hughes <enh@google.com> am a722fdcd: am cdf15e39: am 253fa170: Merge "Lose the hand-written futex assembler."

* commit 'a722fdcdb7bcddfb5ac30ad22798da4b53988013':
Lose the hand-written futex assembler.
f25f5712f35e3a964f82535d943cccf128290ad9 23-May-2014 Elliott Hughes <enh@google.com> am 16933c6a: am 5a95dd14: am ea7dc320: Merge "Add some more BSD symbols to the list."

* commit '16933c6ae9c6b8de8e05374b5b52446f637e6071':
Add some more BSD symbols to the list.
a03e07a6256c19381f8d024e04d1e40c20ef7890 23-May-2014 Elliott Hughes <enh@google.com> am 236130cd: am 3fd88ebe: am 0f79a2f4: Merge "Cleaned up pthread rwlocks implementation."

* commit '236130cd8dab048009ab3fbbe7e24bd7dca8dfa3':
Cleaned up pthread rwlocks implementation.
c1c1992527f6fd70575a96e8d7dbfa05675b2558 23-May-2014 Elliott Hughes <enh@google.com> am 57b0f075: am bfa87e27: am ec071ac0: Merge "Remove the tkill(2) stub."

* commit '57b0f075dd66f195c6568e049a9269b9e1e8f016':
Remove the tkill(2) stub.
b26049490b3a5e054d7440b94c0082e8bfd09f0b 23-May-2014 Calin Juravle <calin@google.com> Merge "Migrate pthread_rwlock implementation away from sys/atomics"
fb9a47c740661a1c578cfc4f16180f14724cbdf5 23-May-2014 Elliott Hughes <enh@google.com> Merge "Hide various stdio implementation details."
2899de9b05f15e67966ed3d046709b48703a162a 23-May-2014 Elliott Hughes <enh@google.com> Hide various stdio implementation details.

I've left __sF exposed since that's how the OpenBSD stdin, stdout, stderr
are implemented. Other BSDs and glibc use a separate global for each instead
of an array.

Bug: 11156955
Change-Id: I9f3d2d4314a8d4a78c3197b9acd9258820c5f150
tdio/glue.h
tdio/local.h
ced906c849704f379d7191822f6d74993d4fa296 23-May-2014 Elliott Hughes <enh@google.com> Lose the hand-written futex assembler.

Also stop exporting 'futex'.

Bug: 12250341
Change-Id: Icc4fa4296cd04dfe0d1061822c69e2eb40c3433a
YSCALLS.TXT
rch-arm/arm.mk
rch-arm/bionic/futex_arm.S
rch-arm/syscalls/futex.S
rch-arm64/arm64.mk
rch-arm64/bionic/futex_arm64.S
rch-arm64/syscalls/futex.S
rch-mips/bionic/futex_mips.S
rch-mips/mips.mk
rch-mips/syscalls/futex.S
rch-mips64/bionic/futex_mips.S
rch-mips64/mips64.mk
rch-mips64/syscalls/futex.S
rch-x86/bionic/futex_x86.S
rch-x86/syscalls/futex.S
rch-x86/x86.mk
rch-x86_64/bionic/futex_x86_64.S
rch-x86_64/syscalls/futex.S
rch-x86_64/x86_64.mk
rivate/bionic_futex.h
45bf4c315d1e42fafa190b691ce98b152a5d5bf7 23-May-2014 Elliott Hughes <enh@google.com> Add some more BSD symbols to the list.

Bug: 11156955
Change-Id: I07489ec63536121dbfc372170ef5cf60a5c58948
ools/check-symbols-glibc.py
0f79a2f48788c093804c9f61a66105873eb1cb59 23-May-2014 Elliott Hughes <enh@google.com> Merge "Cleaned up pthread rwlocks implementation."
1b676ea5fba4af0f3a11ca0c31a40825f2157601 23-May-2014 Calin Juravle <calin@google.com> Migrate pthread_rwlock implementation away from sys/atomics

Bug: 8133149
Bug: 14903517
Change-Id: Ib85987f53d7aeaec12a980ccb645c4a449c48503
ionic/pthread_rwlock.cpp
92687e41bcf108957944dafa80a9bfda219bfb0f 22-May-2014 Calin Juravle <calin@google.com> Cleaned up pthread rwlocks implementation.

- used underscore_style_for_vars
- extracted time related functionality into a function
- cleaned up style
- removed unused fields from pthread_rwlock_t on LP64
- changed reservation in pthread_rwlock_t so that the size of the
structure equals glibc version

Bug: 8133149

Change-Id: I84ad3918678dc7f5e6b3db9b7e9b0899d3abe9cd
ionic/pthread_rwlock.cpp
nclude/pthread.h
6e599a904b1f033cfaf79febff686f6296089a7d 22-May-2014 Elliott Hughes <enh@google.com> Remove the tkill(2) stub.

glibc doesn't have tkill or tgkill and says "use syscall(3) instead".
I've left tgkill since it's quite widely used, but there's no reason
to have tkill as well.

Bug: 11156955
Change-Id: Ifc0af750320086f829bc9914551c172b501f3b60
YSCALLS.TXT
rch-arm/syscalls/tkill.S
rch-arm64/syscalls/tkill.S
rch-mips/syscalls/tkill.S
rch-mips64/syscalls/tkill.S
rch-x86/syscalls/tkill.S
rch-x86_64/syscalls/tkill.S
9b49321ea576a7901f96dd8634e4047b30d87341 22-May-2014 Elliott Hughes <enh@google.com> am 4cf6b531: am 8a326a17: am 4f6ed4a1: Merge "Remove unnecessary #includes of <sys/atomics.h>."

* commit '4cf6b531c2d7408ea5fa754e5b1bf4711c5fe396':
Remove unnecessary #includes of <sys/atomics.h>.
2ea60ff0b415ad5b135f498a38c4b56ea75215aa 22-May-2014 Elliott Hughes <enh@google.com> Remove unnecessary #includes of <sys/atomics.h>.

Bug: 14903517
Change-Id: I7b5bcebe58774a441da986cc02376dd88e00ea0e
ionic/pthread_cond.cpp
ionic/pthread_mutex.cpp
ionic/semaphore.c
a959644d5dd72231716036a38eaf22cf7a7e5e73 22-May-2014 Calin Juravle <calin@google.com> am 5f8626a3: am db3cda2d: am 254fa885: Merge "Switch to POSIX dprintf/vdprintf."

* commit '5f8626a3755dc397fc48c67ed36243877aea18d7':
Switch to POSIX dprintf/vdprintf.
63590a2f9515b684ba67212c0dee175a3c5ec2b9 22-May-2014 Calin Juravle <calin@google.com> am 77761e4c: am ddf52021: am d1dc009c: Merge "Add padding to mips ucontext_t."

* commit '77761e4cc8719933bf66be7894e1b3da27bd03dd':
Add padding to mips ucontext_t.
e5d8092d89b664ad3fb7a53b3f3cd47a08d8168a 22-May-2014 Calin Juravle <calin@google.com> am 3625f432: am 841a1a13: am 156c7d3d: Merge "Clean up ucontext.h TODOs."

* commit '3625f432b39c1f9a7f23d2219eb421d4478cd852':
Clean up ucontext.h TODOs.
f9aac10cf38e846c7600d8a2bac6c01ab76664a3 22-May-2014 Calin Juravle <calin@google.com> am d75b6e2e: am 6cec7775: am 17216716: Merge "Mutex-free implementation of pthread_rwlock"

* commit 'd75b6e2e478fddfbdd404d44e0d33383965b2f39':
Mutex-free implementation of pthread_rwlock
254fa8857f5d88a4140cea2ee05056eae7f102b1 22-May-2014 Calin Juravle <calin@google.com> Merge "Switch to POSIX dprintf/vdprintf."
fcac8ff97f6b6cced6546e0096cadc1039b68b5e 22-May-2014 Elliott Hughes <enh@google.com> Switch to POSIX dprintf/vdprintf.

Bug: 11156955
Change-Id: I734bd02db514367ab119a48304aae9767958e367
ndroid.mk
ionic/fdprintf.c
ionic/ndk_cruft.cpp
nclude/stdio.h
pstream-openbsd/lib/libc/stdio/dprintf.c
pstream-openbsd/lib/libc/stdio/vdprintf.c
d1dc009c56f650ae4e990b00613f1c2ff93ed3ba 22-May-2014 Calin Juravle <calin@google.com> Merge "Add padding to mips ucontext_t."
156c7d3d0ac4457a051ac7d81ff8541636e0864f 22-May-2014 Calin Juravle <calin@google.com> Merge "Clean up ucontext.h TODOs."
172167163af5412c316a8be2f29ca8622984df32 22-May-2014 Calin Juravle <calin@google.com> Merge "Mutex-free implementation of pthread_rwlock"
76f352eec12d8938101e5ae33429c72797c3aa23 19-May-2014 Calin Juravle <calin@google.com> Mutex-free implementation of pthread_rwlock

Bug: 8133149
Change-Id: Id6775010d95f2634b173daa55d87a59a3cf4131b
ionic/pthread_rwlock.cpp
nclude/pthread.h
2c525659409fb051df19db438c0d3e6b3e5e09d5 22-May-2014 Elliott Hughes <enh@google.com> am e2d7d274: am 176e71fb: am 3d4a7b02: Merge "Hide most of the private futex functions."

* commit 'e2d7d274f5c6edf38b9a27ad87178619ed6c4ab3':
Hide most of the private futex functions.
d5ed63a6a8290de88802172ce178656fbafe70c6 22-May-2014 Elliott Hughes <enh@google.com> Hide most of the private futex functions.

Also hide part of the system properties compatibility code, since
we needed to touch that to keep it building.

I'll remove __futex_syscall4 and futex in a later patch.

Bug: 11156955
Change-Id: Ibbf42414c5bb07fb9f1c4a169922844778e4eeae
rch-arm/bionic/futex_arm.S
rch-arm64/bionic/futex_arm64.S
rch-mips/bionic/futex_mips.S
rch-mips64/bionic/futex_mips.S
rch-x86/bionic/futex_x86.S
rch-x86_64/bionic/futex_x86_64.S
ionic/pthread_internals.cpp
ionic/system_properties.cpp
ionic/system_properties_compat.c
nclude/sys/atomics.h
rivate/bionic_futex.h
486396a8c9f36373987e181b5c7a31e78356c520 22-May-2014 Christopher Ferris <cferris@google.com> am 328b2b6b: am 05645db0: am f97d8713: Merge "Add cfi directives for arm64 assembler."

* commit '328b2b6bfb73ee5bded6719ac15e0a3381c1800f':
Add cfi directives for arm64 assembler.
f97d8713a265f44279819ba6b245dd81aada34da 22-May-2014 Christopher Ferris <cferris@google.com> Merge "Add cfi directives for arm64 assembler."
df22a121b2c75021585e4eea49fd3af92d579dd0 22-May-2014 Christopher Ferris <cferris@google.com> Add cfi directives for arm64 assembler.

Fix syscall generator to add cfi directives and add the directives
for all arm64 assembler.

Bug: 15138290
Change-Id: I7f0e4a16c141ac624e5276917a3a1ed45778e057
rch-arm64/bionic/__bionic_clone.S
rch-arm64/bionic/futex_arm64.S
rch-arm64/bionic/syscall.S
rch-arm64/bionic/vfork.S
rch-arm64/syscalls/__accept4.S
rch-arm64/syscalls/__brk.S
rch-arm64/syscalls/__connect.S
rch-arm64/syscalls/__epoll_pwait.S
rch-arm64/syscalls/__exit.S
rch-arm64/syscalls/__getcpu.S
rch-arm64/syscalls/__getcwd.S
rch-arm64/syscalls/__getpriority.S
rch-arm64/syscalls/__ioctl.S
rch-arm64/syscalls/__openat.S
rch-arm64/syscalls/__ppoll.S
rch-arm64/syscalls/__pselect6.S
rch-arm64/syscalls/__ptrace.S
rch-arm64/syscalls/__reboot.S
rch-arm64/syscalls/__rt_sigaction.S
rch-arm64/syscalls/__rt_sigpending.S
rch-arm64/syscalls/__rt_sigprocmask.S
rch-arm64/syscalls/__rt_sigsuspend.S
rch-arm64/syscalls/__rt_sigtimedwait.S
rch-arm64/syscalls/__sched_getaffinity.S
rch-arm64/syscalls/__set_tid_address.S
rch-arm64/syscalls/__signalfd4.S
rch-arm64/syscalls/__socket.S
rch-arm64/syscalls/__timer_create.S
rch-arm64/syscalls/__timer_delete.S
rch-arm64/syscalls/__timer_getoverrun.S
rch-arm64/syscalls/__timer_gettime.S
rch-arm64/syscalls/__timer_settime.S
rch-arm64/syscalls/__waitid.S
rch-arm64/syscalls/_exit.S
rch-arm64/syscalls/acct.S
rch-arm64/syscalls/bind.S
rch-arm64/syscalls/capget.S
rch-arm64/syscalls/capset.S
rch-arm64/syscalls/chdir.S
rch-arm64/syscalls/chroot.S
rch-arm64/syscalls/clock_getres.S
rch-arm64/syscalls/clock_gettime.S
rch-arm64/syscalls/clock_nanosleep.S
rch-arm64/syscalls/clock_settime.S
rch-arm64/syscalls/close.S
rch-arm64/syscalls/delete_module.S
rch-arm64/syscalls/dup.S
rch-arm64/syscalls/dup3.S
rch-arm64/syscalls/epoll_create1.S
rch-arm64/syscalls/epoll_ctl.S
rch-arm64/syscalls/eventfd.S
rch-arm64/syscalls/execve.S
rch-arm64/syscalls/faccessat.S
rch-arm64/syscalls/fallocate.S
rch-arm64/syscalls/fchdir.S
rch-arm64/syscalls/fchmod.S
rch-arm64/syscalls/fchmodat.S
rch-arm64/syscalls/fchown.S
rch-arm64/syscalls/fchownat.S
rch-arm64/syscalls/fcntl.S
rch-arm64/syscalls/fdatasync.S
rch-arm64/syscalls/fgetxattr.S
rch-arm64/syscalls/flistxattr.S
rch-arm64/syscalls/flock.S
rch-arm64/syscalls/fremovexattr.S
rch-arm64/syscalls/fsetxattr.S
rch-arm64/syscalls/fstat64.S
rch-arm64/syscalls/fstatat64.S
rch-arm64/syscalls/fstatfs64.S
rch-arm64/syscalls/fsync.S
rch-arm64/syscalls/ftruncate.S
rch-arm64/syscalls/futex.S
rch-arm64/syscalls/getdents.S
rch-arm64/syscalls/getegid.S
rch-arm64/syscalls/geteuid.S
rch-arm64/syscalls/getgid.S
rch-arm64/syscalls/getgroups.S
rch-arm64/syscalls/getitimer.S
rch-arm64/syscalls/getpeername.S
rch-arm64/syscalls/getpgid.S
rch-arm64/syscalls/getpid.S
rch-arm64/syscalls/getppid.S
rch-arm64/syscalls/getresgid.S
rch-arm64/syscalls/getresuid.S
rch-arm64/syscalls/getrlimit.S
rch-arm64/syscalls/getrusage.S
rch-arm64/syscalls/getsid.S
rch-arm64/syscalls/getsockname.S
rch-arm64/syscalls/getsockopt.S
rch-arm64/syscalls/gettid.S
rch-arm64/syscalls/gettimeofday.S
rch-arm64/syscalls/getuid.S
rch-arm64/syscalls/getxattr.S
rch-arm64/syscalls/init_module.S
rch-arm64/syscalls/inotify_add_watch.S
rch-arm64/syscalls/inotify_init1.S
rch-arm64/syscalls/inotify_rm_watch.S
rch-arm64/syscalls/ioprio_get.S
rch-arm64/syscalls/ioprio_set.S
rch-arm64/syscalls/kill.S
rch-arm64/syscalls/klogctl.S
rch-arm64/syscalls/lgetxattr.S
rch-arm64/syscalls/linkat.S
rch-arm64/syscalls/listen.S
rch-arm64/syscalls/listxattr.S
rch-arm64/syscalls/llistxattr.S
rch-arm64/syscalls/lremovexattr.S
rch-arm64/syscalls/lseek.S
rch-arm64/syscalls/lsetxattr.S
rch-arm64/syscalls/madvise.S
rch-arm64/syscalls/mincore.S
rch-arm64/syscalls/mkdirat.S
rch-arm64/syscalls/mknodat.S
rch-arm64/syscalls/mlock.S
rch-arm64/syscalls/mlockall.S
rch-arm64/syscalls/mmap.S
rch-arm64/syscalls/mount.S
rch-arm64/syscalls/mprotect.S
rch-arm64/syscalls/mremap.S
rch-arm64/syscalls/msync.S
rch-arm64/syscalls/munlock.S
rch-arm64/syscalls/munlockall.S
rch-arm64/syscalls/munmap.S
rch-arm64/syscalls/nanosleep.S
rch-arm64/syscalls/personality.S
rch-arm64/syscalls/pipe2.S
rch-arm64/syscalls/prctl.S
rch-arm64/syscalls/pread64.S
rch-arm64/syscalls/prlimit64.S
rch-arm64/syscalls/pwrite64.S
rch-arm64/syscalls/read.S
rch-arm64/syscalls/readahead.S
rch-arm64/syscalls/readlinkat.S
rch-arm64/syscalls/readv.S
rch-arm64/syscalls/recvfrom.S
rch-arm64/syscalls/recvmmsg.S
rch-arm64/syscalls/recvmsg.S
rch-arm64/syscalls/removexattr.S
rch-arm64/syscalls/renameat.S
rch-arm64/syscalls/sched_get_priority_max.S
rch-arm64/syscalls/sched_get_priority_min.S
rch-arm64/syscalls/sched_getparam.S
rch-arm64/syscalls/sched_getscheduler.S
rch-arm64/syscalls/sched_rr_get_interval.S
rch-arm64/syscalls/sched_setaffinity.S
rch-arm64/syscalls/sched_setparam.S
rch-arm64/syscalls/sched_setscheduler.S
rch-arm64/syscalls/sched_yield.S
rch-arm64/syscalls/sendfile.S
rch-arm64/syscalls/sendmmsg.S
rch-arm64/syscalls/sendmsg.S
rch-arm64/syscalls/sendto.S
rch-arm64/syscalls/setgid.S
rch-arm64/syscalls/setgroups.S
rch-arm64/syscalls/setitimer.S
rch-arm64/syscalls/setns.S
rch-arm64/syscalls/setpgid.S
rch-arm64/syscalls/setpriority.S
rch-arm64/syscalls/setregid.S
rch-arm64/syscalls/setresgid.S
rch-arm64/syscalls/setresuid.S
rch-arm64/syscalls/setreuid.S
rch-arm64/syscalls/setrlimit.S
rch-arm64/syscalls/setsid.S
rch-arm64/syscalls/setsockopt.S
rch-arm64/syscalls/settimeofday.S
rch-arm64/syscalls/setuid.S
rch-arm64/syscalls/setxattr.S
rch-arm64/syscalls/shutdown.S
rch-arm64/syscalls/sigaltstack.S
rch-arm64/syscalls/socketpair.S
rch-arm64/syscalls/statfs64.S
rch-arm64/syscalls/swapoff.S
rch-arm64/syscalls/swapon.S
rch-arm64/syscalls/symlinkat.S
rch-arm64/syscalls/sync.S
rch-arm64/syscalls/sysinfo.S
rch-arm64/syscalls/tgkill.S
rch-arm64/syscalls/timerfd_create.S
rch-arm64/syscalls/timerfd_gettime.S
rch-arm64/syscalls/timerfd_settime.S
rch-arm64/syscalls/times.S
rch-arm64/syscalls/tkill.S
rch-arm64/syscalls/truncate.S
rch-arm64/syscalls/umask.S
rch-arm64/syscalls/umount2.S
rch-arm64/syscalls/uname.S
rch-arm64/syscalls/unlinkat.S
rch-arm64/syscalls/unshare.S
rch-arm64/syscalls/utimensat.S
rch-arm64/syscalls/wait4.S
rch-arm64/syscalls/write.S
rch-arm64/syscalls/writev.S
ools/gensyscalls.py
0e00375a5c427268ddbe8dc54b844b28b6bbc59c 22-May-2014 Elliott Hughes <enh@google.com> am 17e44b89: am fc951aae: am bf0a4407: Merge "Remove an unnecessary instruction from arm64 __bionic_clone."

* commit '17e44b89e11286f3dcf7b35f9bb6432864ac085e':
Remove an unnecessary instruction from arm64 __bionic_clone.
bf0a440730d9659146bf1ac1c4141bae5a2f96a7 22-May-2014 Elliott Hughes <enh@google.com> Merge "Remove an unnecessary instruction from arm64 __bionic_clone."
f93f50d7eacc354361e1d5f516c0610709d40abf 22-May-2014 Elliott Hughes <enh@google.com> Remove an unnecessary instruction from arm64 __bionic_clone.

Change-Id: Ib0dd5079d10b3634901d561932259653945176ee
rch-arm64/bionic/__bionic_clone.S
63900a7110f664ebd5e0ac277cec7c519b913935 21-May-2014 Christopher Ferris <cferris@google.com> am 845e5c77: am fc11ebc5: am 3d5a4240: Merge "Fix build."

* commit '845e5c77b551b7b3079f9e6adf1f780f96729c33':
Fix build.
8d2410d33d2c4eba6319664c965a750d863c7e05 21-May-2014 Christopher Ferris <cferris@google.com> Fix build.

Change-Id: I5a35eee4074e35f459c86c7f9b1d9b0754888940
ndroid.mk
c1df57d60e15b0366f5e6745cab8fab066d217f5 21-May-2014 Christopher Ferris <cferris@google.com> am bce2357e: am c1be1ecc: am 011076b7: Merge "Support for jemalloc to replace dlmalloc."

* commit 'bce2357e42fdfb45556ec57ccb54d587e645f196':
Support for jemalloc to replace dlmalloc.
91b46134034f1e3fef8e175bab53657becf87ffb 21-May-2014 Elliott Hughes <enh@google.com> am 68396799: am c5f723ae: am c1b7f44c: Merge "Remove __syslog; we have the public klogctl API."

* commit '683967991425addf38a24024ae5503768a813b64':
Remove __syslog; we have the public klogctl API.
011076b720b0809a6b94703780e768cd7b877c68 21-May-2014 Christopher Ferris <cferris@google.com> Merge "Support for jemalloc to replace dlmalloc."
3db501139b972497e5969239b44eed665a34637d 21-May-2014 Elliott Hughes <enh@google.com> am c323b97c: am 87987df9: am daf69128: Merge "Fix x86_64 __set_tls.c build failure."

* commit 'c323b97c52297c4342dd45e329bad816f3bc5746':
Fix x86_64 __set_tls.c build failure.
c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5 21-May-2014 Elliott Hughes <enh@google.com> Merge "Remove __syslog; we have the public klogctl API."
a073b4ee0add6f7269d7840217ec8325e8057655 21-May-2014 Neil Fuller <nfuller@google.com> am 55326c4b: am b7a23959: am 76805140: Merge "Treat zero or >1 dat files as an error"

* commit '55326c4b9714cba3e7bf0e27ceea0e2b91240d6f':
Treat zero or >1 dat files as an error
ae0f8f1e48a464b227fc3b68e0817a246e73db9b 20-May-2014 Calin Juravle <calin@google.com> Add padding to mips ucontext_t.

Bug: 12828904
Change-Id: I49e7adcebf769a9c30dc43def36501260369b1ac
nclude/sys/ucontext.h
eb454522da53759ef74180b9c623206040b17df0 20-May-2014 Calin Juravle <calin@google.com> Clean up ucontext.h TODOs.

There's no need to expose gregset_t and fpregset_t when they
are not used in ucontext_t.

Bug: 12828904
Change-Id: Ieda1edf0ab18015f444c4d385fe9c41c4544017f
nclude/sys/ucontext.h
7136927d3920df90d4672a5f33f5b0785188013e 21-May-2014 Elliott Hughes <enh@google.com> Fix x86_64 __set_tls.c build failure.

Change-Id: I697b8ab4ce781d7aebeddb1391b63c653511bbcb
rch-x86_64/bionic/__set_tls.c
768051405e8d471e06447a5b7223c742022f525a 21-May-2014 Neil Fuller <nfuller@google.com> Merge "Treat zero or >1 dat files as an error"
43f37159532c1ef7218266957cc616f055b4dbac 21-May-2014 Neil Fuller <nfuller@google.com> Treat zero or >1 dat files as an error

Based on feedback from
I7efbd6f453fe2b3e71f564121ff0f64a74289d86

Change-Id: Ie131ab8475083350dc183d9f6d5ea7a0b0617c5b
ools/zoneinfo/update-tzdata.py
b8297bfdf6525c7fe7e8c2c2c3237a72d5688fb7 21-May-2014 Elliott Hughes <enh@google.com> am ee2939db: am ceed7b76: am 29f2906b: Merge "Add a few more symbols to check-symbols-glibc."

* commit 'ee2939dbf9d6574394249548e94a31575b4ada2d':
Add a few more symbols to check-symbols-glibc.
66af04b5126a43c55d1be0f442f264c6ba65daf0 21-May-2014 Elliott Hughes <enh@google.com> am a7293ddb: am 7a611f18: am 9f0a52e4: Merge "Hide __get_sp."

* commit 'a7293ddb8da94cc823ec28b851f69ef2d99a70d4':
Hide __get_sp.
802383df534b245aee3e92b792001d5dce12d0fe 21-May-2014 Elliott Hughes <enh@google.com> am f55dc413: am 0aa1fb1c: am 7471a370: Merge "Hide __set_tls."

* commit 'f55dc41303417904136902698191fd0f0fe3a061':
Hide __set_tls.
29f2906bdaf9afe816fc9196437fc07728af98bf 21-May-2014 Elliott Hughes <enh@google.com> Merge "Add a few more symbols to check-symbols-glibc."
9f0a52e4e5afc20a61230e6cbfe735606bff7e0c 21-May-2014 Elliott Hughes <enh@google.com> Merge "Hide __get_sp."
7471a3700348df588d4da35a41b38f6a88b505fd 21-May-2014 Elliott Hughes <enh@google.com> Merge "Hide __set_tls."
9e2595d7b6c246261fbbd8e35a99c2d2463fe4a8 21-May-2014 Neil Fuller <nfuller@google.com> am fa5903ed: am 3248b9d3: am 22784885: Merge "Change update-tzdata.py to update ICU data as well"

* commit 'fa5903edf32062d95a4a09f34571a640c1429eb6':
Change update-tzdata.py to update ICU data as well
227848854695fe5b6f7183fe507edf093808d8ff 21-May-2014 Neil Fuller <nfuller@google.com> Merge "Change update-tzdata.py to update ICU data as well"
46a55a4478db9e335bdc7f73ee2cf3a66fe673fd 21-May-2014 Elliott Hughes <enh@google.com> Remove __syslog; we have the public klogctl API.

Bug: 11156955
Change-Id: I5c2cc02f39f76dd32984135f5c12c10bf2853796
YSCALLS.TXT
rch-arm/syscalls/__syslog.S
rch-arm64/syscalls/__syslog.S
rch-mips/syscalls/__syslog.S
rch-mips64/syscalls/__syslog.S
rch-x86/syscalls/__syslog.S
rch-x86_64/syscalls/__syslog.S
b497c43336475ff5f0248436510a7fbeccfa96a9 21-May-2014 Elliott Hughes <enh@google.com> Add a few more symbols to check-symbols-glibc.

Bug: 11156955
Change-Id: Iee0bae6f9742eca188abc7a337371c50888a0ad6
ools/check-symbols-glibc.py
a75869f0b2528079503d2e4dd2174142ab1df904 21-May-2014 Elliott Hughes <enh@google.com> Hide __set_tls.

Bug: 11156955
Change-Id: If82c10ae412651361d09591017d1c3a411bd6f0b
rch-arm64/bionic/__set_tls.c
rch-x86/bionic/__set_tls.c
rch-x86_64/bionic/__set_tls.c
dc961faa951322831e9c8900ee371900453a1b70 21-May-2014 Elliott Hughes <enh@google.com> am 58425608: am a9e2ffd8: am 20177b9f: Merge "Remove perf_event_open."

* commit '5842560845af94c2f15a1e7186c800e0f1e6224b':
Remove perf_event_open.
c3705f641507eafc170cd7a3fe98759e781e4594 21-May-2014 Elliott Hughes <enh@google.com> Hide __get_sp.

Bug: 11156955
Change-Id: I55d8d320521e80c2085af28933a18b00cf5c714e
rch-arm/bionic/__get_sp.S
rch-arm64/bionic/__get_sp.S
rch-mips/bionic/__get_sp.S
rch-mips64/bionic/__get_sp.S
rch-x86/bionic/__get_sp.S
rch-x86_64/bionic/__get_sp.S
4e631ba5688db2fae7bbc476982055a376102146 21-May-2014 Elliott Hughes <enh@google.com> Remove perf_event_open.

This was accidentally added at a time when you couldn't add a constant
to <syscall.h> without generating an assembly stub! (You no longer need
to add the constants at all.)

Bug: 11156955
Change-Id: I053c17879138787976c744a5ecf7d30ee51dc48f
YSCALLS.TXT
rch-arm/syscalls/perf_event_open.S
rch-arm64/syscalls/perf_event_open.S
rch-mips/syscalls/perf_event_open.S
rch-mips64/syscalls/perf_event_open.S
rch-x86/syscalls/perf_event_open.S
rch-x86_64/syscalls/perf_event_open.S
72bbd423579bb971dc06cdd3c06201faf3fe95e6 08-May-2014 Christopher Ferris <cferris@google.com> Support for jemalloc to replace dlmalloc.

To use jemalloc, add MALLOC_IMPL = jemalloc in a board config file
and you get the new version automatically.

Update the pthread_create_key tests since jemalloc uses a few keys.
Add a new test to verify memalign works as expected.

Bug: 981363

Change-Id: I16eb152b291a95bd2499e90492fc6b4bd7053836
ndroid.mk
ionic/debug_mapinfo.cpp
ionic/jemalloc.cpp
ionic/jemalloc.h
ionic/malloc_debug_check.cpp
ionic/malloc_debug_common.cpp
ionic/malloc_debug_common.h
ionic/malloc_debug_leak.cpp
ionic/malloc_debug_qemu.cpp
ionic/sysconf.cpp
rivate/bionic_tls.h
223069e0e18d2ce6011fa8af1e0737c3b2323e4b 20-May-2014 Christopher Ferris <cferris@google.com> am 1a5d6435: am 78f22ecb: am afb89c2a: Merge "denver: optimize memmove"

* commit '1a5d64357968393d03c66c564066add0d589b760':
denver: optimize memmove
8151d0963981c44c3de20396a7eec92ffffae52f 20-May-2014 Dmitriy Ivanov <dimitry@google.com> am 1350ed3d: am 5277e772: am 0a8f296e: Merge "Add RTLD_NOLOAD support and some related changes."

* commit '1350ed3d5252ed2beb8eb06564660c2cc97747f9':
Add RTLD_NOLOAD support and some related changes.
afb89c2a01089bb247456634a15a58f111bb55a6 20-May-2014 Christopher Ferris <cferris@google.com> Merge "denver: optimize memmove"
6c80ccdeed9d9b30e961f68229fe8171d79c5d14 12-May-2014 Shu Zhang <chazhang@nvidia.com> denver: optimize memmove

Optimize 32-bit denver memmove with reversal memcpy.

Change-Id: Iaad0a9475248cdd7e4f50d58bea9db1b767abc88
rch-arm/arm.mk
rch-arm/cortex-a15/cortex-a15.mk
rch-arm/cortex-a9/cortex-a9.mk
rch-arm/denver/bionic/memmove.S
rch-arm/denver/denver.mk
rch-arm/generic/generic.mk
rch-arm/krait/krait.mk
0a8f296e09c34a8eb21099d2a49e70b1b2641faa 20-May-2014 Dmitriy Ivanov <dimitry@google.com> Merge "Add RTLD_NOLOAD support and some related changes."
b648a8a57ee42533a5bf127225a252f73ca2cbbc 20-May-2014 Dmitriy Ivanov <dimitry@google.com> Add RTLD_NOLOAD support and some related changes.

* Aligned RTLD_ values with glibc for lp64
* dlopen supports RTLD_NOLOAD flag
* soinfo_unload calls find_library(.., RTLD_NOLOAD)
instead of naive find_loaded_library_by_name()
* dlopen changed to add child to caller soinfo instead
of somain.

Bug: https://code.google.com/p/android/issues/detail?id=64069
Change-Id: I1a65f2c34f3e0edc6d2c41a2e408b58195feb640
nclude/dlfcn.h
7435e9e9748b5674f825155269ed65186168774b 20-May-2014 Elliott Hughes <enh@google.com> am 7bdf1e48: am da095f3c: am ce0e1b81: Merge "Add a script for finding symbols in bionic that aren\'t in glibc."

* commit '7bdf1e48ff8711f35163f95764bb1d467b205b96':
Add a script for finding symbols in bionic that aren't in glibc.
ce0e1b81cc434f613d039e7c9d9b852cca0b69ed 20-May-2014 Elliott Hughes <enh@google.com> Merge "Add a script for finding symbols in bionic that aren't in glibc."
077cbee5d129a0e18c3f8212dc3c9f709dbdd43e 20-May-2014 Calin Juravle <calin@google.com> am 995b9704: am bcd1a312: am b2b0f7e1: Merge "Add uc_regspace to arm\'s ucontext_t"

* commit '995b9704d8ba70d4d09ef0c3453d5f25ed099816':
Add uc_regspace to arm's ucontext_t
246c6880207539d01e84a6f049cd639139a0691a 16-May-2014 Neil Fuller <nfuller@google.com> Change update-tzdata.py to update ICU data as well

The update-tzdata.py tool now uses downloaded Olson data
to update ICU (*new*) at the same time as it updates Bionic
data.

Change-Id: I7efbd6f453fe2b3e71f564121ff0f64a74289d86
ools/zoneinfo/update-tzdata.py
b2b0f7e1ae0a0459b41a7732b84f58d62373e512 20-May-2014 Calin Juravle <calin@google.com> Merge "Add uc_regspace to arm's ucontext_t"
5a93e88c7f8d8ac7de39f8020c2056816deda28c 16-May-2014 Elliott Hughes <enh@google.com> Add a script for finding symbols in bionic that aren't in glibc.

Bug: 11156955
Change-Id: I9772f054f6a92b842531df084dee0ea9c28806be
ools/check-symbols-glibc.py
4cc742e9201637e4e02abf1f1f08ef4b8533603c 20-May-2014 Dan Albert <danalbert@google.com> am 60bab8a7: am d8cc98ad: am 94a9ba2b: Merge "Removes RTTI support from libc"

* commit '60bab8a7ef30f72eb26a843afc3e0bdd02d3796d':
Removes RTTI support from libc
310ecf1ae92b36f122e07b743a82eb1cf447265e 20-May-2014 Elliott Hughes <enh@google.com> am 348adca2: am be3db39e: am 948acf71: Merge "Switch back to OpenBSD inet_ntop now they\'re FORTIFY clean."

* commit '348adca20e68c42bdfbf594aaa675062d3595761':
Switch back to OpenBSD inet_ntop now they're FORTIFY clean.
7c30167b3ae7f0bbfcdef9426cfbd21815dbd767 20-May-2014 Sreeram Ramachandran <sreeram@google.com> am d70e0c88: am 54c83fee: am 9925c1a8: Merge "Mark sockets on creation (socket()) and accept4()."

* commit 'd70e0c884c19c08aa44c038dbf2f12a5b55c73fe':
Mark sockets on creation (socket()) and accept4().
94a9ba2b4a4d8be7e3520e34bfc7bd47ff7af0ce 20-May-2014 Dan Albert <danalbert@google.com> Merge "Removes RTTI support from libc"
948acf710ed9be223696288466d4f4a566169ec5 20-May-2014 Elliott Hughes <enh@google.com> Merge "Switch back to OpenBSD inet_ntop now they're FORTIFY clean."
f51d3e87671110c508f0f71d9bcb1bf54c22ca3b 20-May-2014 Elliott Hughes <enh@google.com> Switch back to OpenBSD inet_ntop now they're FORTIFY clean.

Change-Id: I04798a4966c352a8a12feebdff9646e3bad5933f
ndroid.mk
pstream-netbsd/lib/libc/inet/inet_ntop.c
pstream-openbsd/lib/libc/net/inet_ntop.c
903b78873a744d3fba187e4bd22008ba21162e51 19-May-2014 Sreeram Ramachandran <sreeram@google.com> Mark sockets on creation (socket()) and accept4().

Remove the separate syscall for accept() and implement it as accept4(..., 0).

Change-Id: Ib0b8f5d7c5013b91eae6bbc3847852eb355c7714
ndroid.mk
YSCALLS.TXT
rch-arm/syscalls/__accept.S
rch-arm/syscalls/__accept4.S
rch-arm/syscalls/__socket.S
rch-arm/syscalls/accept4.S
rch-arm/syscalls/socket.S
rch-arm64/syscalls/__accept.S
rch-arm64/syscalls/__accept4.S
rch-arm64/syscalls/__socket.S
rch-arm64/syscalls/accept4.S
rch-arm64/syscalls/socket.S
rch-mips/syscalls/__accept.S
rch-mips/syscalls/__accept4.S
rch-mips/syscalls/__socket.S
rch-mips/syscalls/accept4.S
rch-mips/syscalls/socket.S
rch-mips64/syscalls/__accept.S
rch-mips64/syscalls/__accept4.S
rch-mips64/syscalls/__socket.S
rch-mips64/syscalls/accept4.S
rch-mips64/syscalls/socket.S
rch-x86/syscalls/__accept.S
rch-x86/syscalls/__accept4.S
rch-x86/syscalls/__socket.S
rch-x86/syscalls/accept4.S
rch-x86/syscalls/socket.S
rch-x86_64/syscalls/__accept.S
rch-x86_64/syscalls/__accept4.S
rch-x86_64/syscalls/__socket.S
rch-x86_64/syscalls/accept4.S
rch-x86_64/syscalls/socket.S
ionic/NetdClient.cpp
ionic/NetdClientDispatch.cpp
ionic/accept.cpp