79ea68469f00b04fc9febe513e9ef2361b80cdd6 |
|
28-Apr-2016 |
Dimitry Ivanov <dimitry@google.com> |
Make malloc debug symbols platform-private Bug: http://b/28432442 Change-Id: I96b9cb8b57726b4e8d53069e72666cf107cdeba2 (cherry picked from commit 54548d8cf91ba2e891b2dd0d25ae5956c62ad3ef)
|
21bf06372742b0524c358502eb692a2245d64dda |
|
17-Apr-2016 |
Pierre Imai <imaipi@google.com> |
DO NOT MERGE Add new info functions to resolver for use by Netd. android_net_res_stats_get_info_for_net returns the current name servers, search domains, parameters and stats for the given network ID. android_net_res_stats_aggregate provides statistics such as errors counts from the raw stats data reported by android_net_res_stats_get_info_for_net. android_net_res_stats_get_usable_servers uses the data returned by android_net_res_stats_aggregate to determine which of the servers are considered valid or broken by the resolver. BUG: 25731675 Change-Id: I6059b68e5e8b809027a4d3135f6081588bee8a7d
|
ff8cd0e7128a775ad7d78a36a0f1036137c9be8f |
|
16-Apr-2016 |
Dimitry Ivanov <dimitry@google.com> |
Revert "Temporary move __udivdi3 back to LIBC for x86" This reverts commit bc02fb964a59983521c5f6cf80b1189434952780. Bug: http://b/26406724 Bug: http://b/26423217 Change-Id: I8e3186fc76502d6818753e5d76a7c145207ed9a3 (cherry picked from commit 9f39326a740860a0cfd472115b929bf0ab83799b)
|
d6c9b44091a8865a3b61ada247dd9abf4d6b8705 |
|
02-Feb-2016 |
Colin Cross <ccross@android.com> |
Export malloc_backtrace Bug: 27208635 (cherry picked from commit 2d4721c0c57fe2f7c1e1b40df4763a561b3cf856) Change-Id: Ida926cabb706dfd962b692ba1775da332f68488f
|
c40577f740ae4f66cdba4b2137668fb3114bb99d |
|
29-Jan-2016 |
Colin Cross <ccross@android.com> |
Export malloc_iterate and friends Export malloc_iterate, malloc_enable, and malloc_disable to be used by libmemunreachable. Bug: 27208635 (cherry picked from commit 869691c6f7691dd5bf343617aa185c32e0d3d160) Change-Id: Ifa44421a84ac3be6a57fac28c4da501febe88c28
|
0c485dae707fac45f5d8baff7da1a469e25c2261 |
|
03-Feb-2016 |
Elliott Hughes <enh@google.com> |
Add in6addr_any and in6addr_loopback symbols. Change-Id: I3a90fa448b6bd43321672ba74b84a4e9e8a67738
|
5f26c6bc91f653b61c01e2ff6e7eac4847e315a5 |
|
03-Feb-2016 |
Elliott Hughes <enh@google.com> |
Really add adjtimex(2), and add clock_adjtime(2) too. Change-Id: I81fde2ec9fdf787bb19a784ad13df92d33a4f852
|
f226ee59e0effedeabed09e2d65be7fa7499cc25 |
|
03-Feb-2016 |
Elliott Hughes <enh@google.com> |
Add fopen64/freopen64/tmpfile64 aliases. Our fopen/freopen/tmpfile are already always O_LARGEFILE, but let's add the aliases for _LARGEFILE_SOURCE compatibility. Bug: http://b/24807045 Change-Id: I5d99b3ef3c9f27ce70f13313f6a92e96c7f21f80
|
e4fa6e9cc7f894a5a85ca50249b1f6e9efd49d3a |
|
03-Feb-2016 |
Elliott Hughes <enh@google.com> |
Expose ftello64. Also add the missing test that would have caught this. Bug: http://b/24807045 Change-Id: I756a4d825595b52396b15898e3f717156fd1ba2f
|
aa2fd0fece33853e87439c6b4279291ce5d7dcd1 |
|
27-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Hide '__isthreaded' for lp64 libc.so Bug: http://b/26805673 Change-Id: I2928d68287894be9f9ae7ed1858af512d8c80a3b
|
03e65eb03bf0bfaafa797daf91e80e8308968db3 |
|
26-Jan-2016 |
Elliott Hughes <enh@google.com> |
Implement funopen64. Bug: http://b/24807045 Change-Id: I161920978161389be34b707cc6ce8e05f760d552
|
97cb4fbed2e978bde0d761106294a7920faf9db0 |
|
26-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Move android_ network functions to LIBC_PRIVATE Make following functions platform-private: android_getaddrinfofornet android_getaddrinfofornetcontext android_gethostbyaddrfornet android_gethostbynamefornet Bug: http://b/26794226 Change-Id: I0855b0b82721e4d24e918508931b4d5587fcae7d
|
5704c423c81790195161c1757ae79da188590c51 |
|
26-Jan-2016 |
Elliott Hughes <enh@google.com> |
Implement POSIX lockf. This has been requested a few times over the years. This is basically a very late rebase of https://android-review.googlesource.com/45470 which was abandoned years ago. One addition is that this version has _FILE_OFFSET_BITS=64 support. POSIX puts this in <unistd.h>. glibc also has it in <fcntl.h>. Bug: http://b/13077650 Change-Id: I5862b1dc326e326c01ad92438ecc1578d19ba739
|
9677fab88c25fd2e6f3149ad00fb8870963f0675 |
|
26-Jan-2016 |
Elliott Hughes <enh@google.com> |
Support _FILE_OFFSET_BITS=64 for most of <stdio.h>. This doesn't address funopen, but does add fgetpos/fsetpos/fseeko/ftello. Bug: http://b/24807045 Change-Id: Ibff6f00df5fb699c8e8f13b91a75caf024540b73
|
bba395492a0bb6ee72d0ad8e4d468e852392220e |
|
21-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Revert "Temporary apply LIBC version to __pthread_gettid" This reverts commit 0ef1d121b5e4845f4ef3b59ae9a1f99ceb531186. Bug: http://b/26392296 Bug: http://b/26391427 Change-Id: I7bbb555de3a43813e7623ff6ad4e17874d283eca
|
90d2daec5129fa1157886d972559475d6ab3a3c2 |
|
22-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
libc: hide fake_gmtime_r and fake_localtime_r Bug: http://b/26274444 Change-Id: Icf96a00142a287d8d3466d2545e213e605601b42
|
1a8732c2325397bca61e98b18c9c5e458b13394b |
|
22-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
libc: hide __signalfd4 symbol Bug: http://b/26274444 Change-Id: Iaa2df640cac07e2e407ca11b9701ee9e11729146
|
ed57b98758176f0cccdec16cbed524e444039fe7 |
|
16-Jan-2016 |
Elliott Hughes <enh@google.com> |
Implement if_nameindex(3)/if_freenameindex(3). This is just a subset of the recently-implemented getifaddrs(3), though if we want to handle interfaces (such as "rmnet_*") that don't have an address, we need to either expose ifaddrs_storage and keep track of which interfaces we've already seen (which is pretty messy), or refactor the netlink code so we can reuse it and just extract the information we need for if_nameindex(3). This patch goes the latter route. Also clean up if_nametoindex(3) and if_indextoname(3). Change-Id: I5ffc5df0bab62286cdda2e7af06f032c767119a8
|
e1078a939afe4b29ddb0f6ef13419395e1f0b03c |
|
13-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Revert "Move __system_property* to LIBC_PRIVATE for lp64 libc" This reverts commit ff14fb5a1f809d87125fa0d14f08d486b6bf1ea1. Bug: http://b/26497521 Change-Id: Id7131b37a31e936db0e72ef9969e1f13d2dd578f
|
6d142bcf34ffd49efaf4285bb2af63a1636706f9 |
|
08-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Move __aeabi* symbols to LIBC_N version We had these symbols incorrectly versioned as LIBC_PRIVATE in M release. This change moves __aeabi* symbols from LIBC to LIBC_N and adds __gnu_Unwind_Find_exidx to the list Bug: https://github.com/android-ndk/ndk/issues/1 Change-Id: I0b353012adeacb00ae29ea10c63b9d1cf1cadbe7
|
a352c6957132a9ee211f9fa498388b48797b2a8e |
|
05-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Temporary move __udivdi3 back to LIBC for x86 Bug: http://b/26289334 Bug: http://b/26413821 Change-Id: Ifb0eb6f16aca54cb4a9184a6394992ee57dd3408
|
bc02fb964a59983521c5f6cf80b1189434952780 |
|
05-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Temporary move __udivdi3 back to LIBC for x86 Bug: http://b/26289334 Bug: http://b/26413821 Change-Id: Ifb0eb6f16aca54cb4a9184a6394992ee57dd3408
|
76dfa6e351952e60893e236022df54a23a558b65 |
|
06-Jan-2016 |
Elliott Hughes <enh@google.com> |
Remove mktime_tz. Bug: http://b/15765976 Change-Id: Ifc8cd19ae621e611d66173ae927ef9a0445965c1
|
d90d067312ac9aaf82e272b4477f0ba71a9b0bdd |
|
06-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Export public __aeabi* symbols as LIBC_PRIVATE But keep LIBC as default version for them Bug: http://b/26391427 Bug: http://b/26410625 Change-Id: I819e354bbba482d1f983d9be15c23fcce10e5dd9
|
6134ed8b8f90a0c9a2d132021908fa4ce4633719 |
|
06-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Deprecate bzero bzero is hashdefined to memset in strings.h and it was removed from POSIX 2008. Bug: http://b/26407170 Change-Id: Ia6d54f0e314dc7f5f3fbad0e9b00344f49f77d43
|
bb5730ecdb0a340ea5f5441be819c6faa508998b |
|
05-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Move __aeabi_ which are not in libgcc.a to LIBC The following arm symbols should be exported by libc.so: __aeabi_atexit; # arm __aeabi_memclr; # arm __aeabi_memclr4; # arm __aeabi_memclr8; # arm __aeabi_memcpy; # arm __aeabi_memcpy4; # arm __aeabi_memcpy8; # arm __aeabi_memmove; # arm __aeabi_memmove4; # arm __aeabi_memmove8; # arm __aeabi_memset; # arm __aeabi_memset4; # arm __aeabi_memset8; # arm Bug: https://github.com/android-ndk/ndk/issues/1 Change-Id: I542d1ad023b8aece5dc05a28a9ca549cb51455b4
|
0ef1d121b5e4845f4ef3b59ae9a1f99ceb531186 |
|
05-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Temporary apply LIBC version to __pthread_gettid This is workaround for http://b/26391427 Bug: http://b/26391427 Change-Id: Ibf5c611cf4c04dfa595644225e6d9503089a18da
|
ff14fb5a1f809d87125fa0d14f08d486b6bf1ea1 |
|
04-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Move __system_property* to LIBC_PRIVATE for lp64 libc Bug: http://b/26367254 Change-Id: I4fc241e69444a4b5641dfdf09576fe3ce5c1169e
|
eac1d371f6cef488d51c551f37a794a2cc47165f |
|
04-Jan-2016 |
Dimitry Ivanov <dimitry@google.com> |
Move ndk-cruft symbols to LIBC_PRIVATE Bug: http://b/26385283 Change-Id: Idca71396f9de4141eefc4e1851ba92ebff1ac792
|
9cddb482b498abd134f7ccfc9933747e8bcb9cc7 |
|
04-Jan-2016 |
Elliott Hughes <enh@google.com> |
Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3)."" This reverts commit 76814a8250fd5e1502909ef5e10e4d166cc96c0e. This differs from the original in fixing the GCC -Werror build: bionic/libc/bionic/ifaddrs.cpp: In function 'void __handle_netlink_response(ifaddrs**, nlmsghdr*)': bionic/libc/bionic/ifaddrs.cpp:113:62: error: use of old-style cast [-Werror=old-style-cast] ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr)); This appears to be a GCC bug; the GCC command-line correctly uses -isystem, and manually adding #pragma GCC system_header doesn't help. So just turn the warning off for GCC for now. We won't need to worry about building with GCC soon anyway. Bug: http://b/26238832 Change-Id: I01615bd335edf11baf487b1c83a9157cd780f4a1
|
76814a8250fd5e1502909ef5e10e4d166cc96c0e |
|
22-Dec-2015 |
Yi Kong <yikong@google.com> |
Revert "Implement getifaddrs(3)/freeifaddrs(3)." Werror build broken. Revert while working on a fix. This reverts commit 0945ed5cc5921243724fed4465d20881f4891a8d. Change-Id: I67edab7a7a3b9aa673ce9d14aa95380f947838a1
|
788a2bc756fdc3dbaf0d2622ba47fccdfd8e6f01 |
|
22-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
Make some of unwanted symbols LIBC_PRIVATE Bug: http://b/26274444 Change-Id: Ic66f6519a974b72779071235c1d0dd36655fd1b9
|
5ce79b0af3c7b958d48bf0b4e14116765ffe04c8 |
|
22-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
Make symbols exported via libgcc.a LIBC_PRIVATE Bug: http://b/26298172 Change-Id: Ic16acea56624680d48c0b190fbe5a6142a3fca2b
|
0945ed5cc5921243724fed4465d20881f4891a8d |
|
19-Dec-2015 |
Elliott Hughes <enh@google.com> |
Implement getifaddrs(3)/freeifaddrs(3). Time to dust off the old libcore implementation from gingerbread and add it to bionic. Unlike the original, this actually looks at both RTM_NEWLINK and RTM_NEWADDR. Bug: http://b/26238832 Change-Id: I7bb4b432deb766065b66b9c9ff36ed68249aba82
|
bc2e88a85d5fd3e59c041a667283378c1503a16c |
|
16-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
Revert "Revert "Remove remaining ndk_cruft from LP64 platforms"" This reverts commit 23af25b747b5e7b0ca513a87b32f1f6a3cb99698. Bug: http://b/26164862 Change-Id: I201bf49530f33f8ba6a1a35b79723afb9e84c7a5
|
23af25b747b5e7b0ca513a87b32f1f6a3cb99698 |
|
15-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
Revert "Remove remaining ndk_cruft from LP64 platforms" This reverts commit b1d0a2ae7790f882d8f1ab24d7ef15e2b90c8ca2. Change-Id: I1da06be0b78a4f2a4cad7e4a19a3ee755f55a813
|
b1d0a2ae7790f882d8f1ab24d7ef15e2b90c8ca2 |
|
15-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
Remove remaining ndk_cruft from LP64 platforms This change removes endpwent, dlmalloc_inspect_all, dlmalloc_trim from lp64 libc.so. It also removed necessety of having brillo version scripts for lp64 platforms. Bug: http://b/26164862 Change-Id: I4e9b38907bb1dc410f0eb6d2f5d5944fe713da51
|
585e9598493d3b4a0e545dad35c0f361d4ad2d3e |
|
14-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
Generate libc version-script for brillo Brillo doesn't use the ndk cruft, so we need separate set of version scripts. Added new "nobrillo" tag to mark such symbols in *.map.txt files. Bug: http://b/26164862 Change-Id: Iaee1b7119f75b68c2971679fc32817e6df29fd94
|
2f019872dcac77a5d77336cbd97fe269fb4f6b5f |
|
11-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
Remove __bionic_libgcc_unwind_symbols from version script Bug: http://b/26004476 Change-Id: Iaa468de4cbcc94e88badc5cde0f4421c710c1f38
|
fe3a83a9343f0e4ff654f09ef8ffc8a773c7c105 |
|
18-Nov-2015 |
Yabin Cui <yabinc@google.com> |
Implement pthread spin. In order to run tsan unit tests, we need to support pthread spin APIs. Bug: 18623621 Bug: 25392375 Change-Id: Icbb4a74e72e467824b3715982a01600031868e29
|
e7c2fffa16eccecfd43d99516751a43776f5f609 |
|
06-Nov-2015 |
Yabin Cui <yabinc@google.com> |
Implement pthread barrier. Bug: 24341262 Change-Id: I5472549e5d7545c1c3f0bef78235f545557b9630
|
fb994f4c040da968b7271860535f07daba182069 |
|
07-Nov-2015 |
Yabin Cui <yabinc@google.com> |
Add fileno_unlocked to support thread sanitizer. Bug: 25392375 Change-Id: If3f92a0e08a53f4b59e01397e8efa307d8572349
|
4151db5f997cd91d3505ac6594bede0b50184855 |
|
29-Oct-2015 |
Elliott Hughes <enh@google.com> |
Add prlimit to LP32. Bug: http://b/24918750 Change-Id: I0151cd66ccf79a6169610de35bb9c288c0fa4917
|
e85fb580c88d5423702272ecc93856ed86c1eef6 |
|
29-Oct-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Fix LDFLAGS for arm and x86 Change-Id: I5366f4499cb4da3a51b8484ab3e4ff785f0888ab
|
284b4685246197890b4f75a9912096b8e13c62ba |
|
28-Oct-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Generate per-architecture version scripts. Bug: http://b/24767418 Change-Id: I23e49d8d30c0def3215ffbd99d09f207d9483624
|