summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fix most of the tzcode warnings.Elliott Hughes2014-06-111-7/+3
| | | | | | There's one left, but that's not fixed upstream yet. Change-Id: Iba920cb7b156357c7f5e8220eb55ff1637ff48a1
* Merge "Add __pure2 to a few more functions, most notably gettid and ↵Elliott Hughes2014-06-104-6/+6
|\ | | | | | | pthread_self."
| * Add __pure2 to a few more functions, most notably gettid and pthread_self.Elliott Hughes2014-06-114-6/+6
| | | | | | | | Change-Id: I7eee9f26f45130038af09d8285782b07f70a996f
* | Remove declarations related to cuserid(3).Dan Albert2014-06-111-2/+0
| | | | | | | | | | | | | | | | cuserid(3) was removed from POSIX 2004, and we don't have an implementation anyway. Bug: 13935372 Change-Id: I7ac7cde931ba802d0d5b917c22f5116618b21d2f
* | Merge "Replaces vfork() implementation with fork()"Dan Albert2014-06-1013-258/+8
|\ \ | |/ |/|
| * Replaces vfork() implementation with fork()Dan Albert2014-06-1013-258/+8
| | | | | | | | | | | | | | | | vfork() was removed from POSIX 2008, so this replaces its implementation with a call to fork(). Bug: 13935372 Change-Id: I6d99ac9e52a2efc5ee9bda1cab908774b830cedc
* | Merge "Revert "Temporarily expose dlmalloc_usable_size.""Elliott Hughes2014-06-101-6/+1
|\ \
| * | Revert "Temporarily expose dlmalloc_usable_size."Elliott Hughes2014-06-041-6/+1
| | | | | | | | | | | | | | | | | | This reverts commit 6403cc48707b67b3400bdaf720f3e4777a1b48de. Change-Id: Id1ce4088be1e6c83271c6317eb3e5f7fc11c7b95
* | | Hide rand48 implementation details.Elliott Hughes2014-06-091-4/+4
| | | | | | | | | | | | | | | Bug: 11156955 Change-Id: I130272286989487dc22e246fb4ffbee5230225c4
* | | Hide non-standard syslog API.Elliott Hughes2014-06-092-35/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Remove the MD5 implementation that was only used by toolbox."Elliott Hughes2014-06-093-330/+0
|\ \ \
| * | | Remove the MD5 implementation that was only used by toolbox.Elliott Hughes2014-06-093-330/+0
| | | | | | | | | | | | | | | | | | | | | | | | I've already moved toolbox over to openssl. Change-Id: Ia75fba5b5e3335a975b97787f653bf4df78e1b4e
* | | | AArch64: Remove Frame Record from ARM64 syscallsSerban Constantinescu2014-06-09189-2080/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the frame record created on svc calls. Change-Id: I67cf926ba59540e824fb9749d30538e332df7c1e Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
* | | | Add the missing issetugid binary compatibility stub.Elliott Hughes2014-06-061-0/+5
|/ / / | | | | | | | | | | | | Bug: 14569474 Change-Id: I3bedc1a0acf356af76424ceaf62ae7e85239f617
* | | Merge "Rewrite and hide longjmperror."Elliott Hughes2014-06-074-60/+4
|\ \ \
| * | | Rewrite and hide longjmperror.Elliott Hughes2014-06-064-60/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Remove unused scripts.Christopher Ferris2014-06-062-233/+0
|/ / / | | | | | | | | | Change-Id: I3391d6c903f710b45e62bcf01058cf3ad9abe399
* | | Merge "Fix ndk_cruft.cpp __getdents64 build failure."Elliott Hughes2014-06-062-2/+4
|\ \ \
| * | | Fix ndk_cruft.cpp __getdents64 build failure.Elliott Hughes2014-06-062-2/+4
| | | | | | | | | | | | | | | | Change-Id: Ia463113da0575b36b5a9935d8d45e7bd2c801357
* | | | Merge "Rename __bionic_clone_entry to __start_thread."Elliott Hughes2014-06-067-13/+13
|\ \ \ \ | |/ / / |/| | |
| * | | Rename __bionic_clone_entry to __start_thread.Elliott Hughes2014-06-067-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | This seems a bit less obscure. Change-Id: I7dc528c253b73c861694f67556ad8f919bf92136
* | | | Add a few more C11 functions to the whitelist.Elliott Hughes2014-06-061-1/+5
| | | | | | | | | | | | | | | | Change-Id: Ie2e767910d7cc8a78c05e29960cf4ab52a59fe9d
* | | | Merge "Remove getdents from bionic."Elliott Hughes2014-06-0612-142/+21
|\ \ \ \ | |/ / / |/| | |
| * | | Remove getdents from bionic.Elliott Hughes2014-06-0612-142/+21
| | | | | | | | | | | | | | | | | | | | Bug: 11156955 Change-Id: I6c306989801be552d85fba8a50dcdc79282fb9d2
* | | | Merge "Update kernel header generation docs."Christopher Ferris2014-06-062-148/+107
|\ \ \ \ | |/ / / |/| | |
| * | | Update kernel header generation docs.Christopher Ferris2014-06-062-148/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also move the description of the cleanup data to the cleanup script. Bug: 15433575 Change-Id: I21e2cbbfab55da483af1bbe36bbe59126b518e3c
* | | | Merge "Fix the printf family for non-ASCII."Elliott Hughes2014-06-062-2/+2
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix the printf family for non-ASCII.Elliott Hughes2014-06-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Remove unnecessary instructions from x86/x86_64 syscalls.Elliott Hughes2014-06-05386-388/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __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
* | | | Merge "Fix unwinding through x86-64 __bionic_clone."Elliott Hughes2014-06-052-9/+17
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix unwinding through x86-64 __bionic_clone.Elliott Hughes2014-06-052-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Removes index() from bionic."Dan Albert2014-06-055-5/+0
|\ \ \ \
| * | | | Removes index() from bionic.Dan Albert2014-06-055-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Fix for slm-tuned memmove (both 32- and 64-bit).Varvara Rainchik2014-06-052-459/+206
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Remove bsd_signal and sysv_signal from bionic LP64.Dan Albert2014-06-053-12/+19
| |/ / |/| | | | | | | | | | | | | | | | | bsd_signal was removed in POSIX 2008, sysv_signal was never POSIX. Bug: 13935372 Change-Id: I7688e5cc317247ff075dcf99b598f515fb4f15c4
* | | Hide __libc_fini.Elliott Hughes2014-06-041-3/+3
| |/ |/| | | | | | | Bug: 11156955 Change-Id: Id5af3540c6ec4d9ef969d62a230144fe8bb76b0b
* | Temporarily expose dlmalloc_usable_size.Elliott Hughes2014-06-041-1/+6
| | | | | | | | | | Bug: 15425694 Change-Id: I47e1ca598817359260c372fec8072e76886054f0
* | Temporary fix for asan_malloc_linux.cc build failure.Elliott Hughes2014-06-041-1/+2
| | | | | | | | | | Bug: 15432753 Change-Id: I02a3a2c826e6d01e6809c51588a9670dcd179123
* | Merge "Fix debug malloc."Elliott Hughes2014-06-045-207/+177
|\ \
| * | Fix debug malloc.Elliott Hughes2014-06-045-207/+177
| |/ | | | | | | | | | | | | | | Previously the dynamically-loaded part of the debug malloc implementation wanted to access hidden symbols in libc itself. Bug: 15426546 Change-Id: I6a366ef626854d1af1d705ca24842817b1c02a19
* | Removes wcswcs from bionic for LP64.Dan Albert2014-06-044-7/+5
|/ | | | | Bug: 13935372 Change-Id: I0deb15e769da4fa81bb65a87f3c86db5163a5796
* Merge "Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11."Elliott Hughes2014-06-042-8/+1
|\
| * Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11.Elliott Hughes2014-06-042-8/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Adds functionality specified by uchar.h"Dan Albert2014-06-049-193/+575
|\ \ | |/ |/|
| * Adds functionality specified by uchar.hDan Albert2014-06-049-193/+575
| | | | | | | | | | | | | | | | mbrtoc32 and c32rtomb get their implementations from mbrtowc and wcrtomb. The wc functions now simply call the c32 functions. Bug: 14646575 Change-Id: I49d4b95fed0f9d790260c996c4d0f8bfd1686324
* | Merge "Hide dlmalloc symbols."Elliott Hughes2014-06-043-16/+36
|\ \
| * | Hide dlmalloc symbols.Elliott Hughes2014-06-033-16/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Removes bcopy and bzero from bionic."Dan Albert2014-06-0410-200/+5
|\ \ \ | |/ / |/| |
| * | Removes bcopy and bzero from bionic.Dan Albert2014-06-0310-200/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Work around "error: variable 'uio' set but not used".Elliott Hughes2014-06-031-0/+1
| | | | | | | | | | | | | | | | | | I've sent the real fix upstream, and will merge that when they commit it. Change-Id: I75e5cab87026f8990c585d364dd178753d727e2a