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.
|
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
etservbyname.c
etservbyport.c
|
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.
|
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
sdispatch.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
etaddrinfo.c
|
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
etaddrinfo.c
|
5240b562e7e9de2f31ba70f71c394c5529aadf0f |
15-May-2014 |
Paul Jensen <pauljensen@google.com> |
Query libnetd_client for the appropriate netId for host resolution. If libnetd_client can't be found, operate as before and use the default netId potentially overriden by a more specific netId passed in to android_get*fornet(). (cherry picked from commit 559c7842cc6862568d9b5799fc0bcf74d58b596b) Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b
etaddrinfo.c
|
57a26275754730c0b1c8ec313b99cbefc10564c9 |
19-May-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Fix build breakage. Change-Id: I1835198c64c28021b81f0c790f108685a3f456c7
etaddrinfo.c
|
559c7842cc6862568d9b5799fc0bcf74d58b596b |
15-May-2014 |
Paul Jensen <pauljensen@google.com> |
Query libnetd_client for the appropriate netId for host resolution. If libnetd_client can't be found, operate as before and use the default netId potentially overriden by a more specific netId passed in to android_get*fornet(). Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b
etaddrinfo.c
|
ea9bf6788144b83cc51c454b2bfe6b980d6e947c |
14-Feb-2014 |
Szymon Jakubczak <szym@google.com> |
bionic: Replace iface with opaque netid in resolver. Replace iface cache key with netid. Replace _mark with netid. Mark sockets used to test IPv4/IPv6 support as well as sockets used to determine source address for rfc6724 sort. Remove pid/uid mappings (functionality moved to system/netd). Do not create resolv_cache when it does not exist, but rather only when DNS configuration is supplied. Clean up unused functions. Change-Id: I9ccfda2902cc0943e87c9bc346ad9a2578accdab
etaddrinfo.c
etnameinfo.c
|
205c7887add8b8c85434c35158138f16265beb28 |
14-Mar-2014 |
Elliott Hughes <enh@google.com> |
Clean up reentrancy cruft. The DNS copy of reentrant.h was unused, so remove it. The strtod implementation can use the upstream-netbsd reentrant.h and get a little closer to what was then upstream. (It's since been replaced by gdtoa, and we'll have to follow at some point, but for now this doesn't make anything any worse.) ANDROID_CHANGES is (now) only used in the DNS code, so push the -D down. The <locale.h> change prevents an LP32 hack from leaking into LP64. Change-Id: Idf30b98a59d7ca8f7c6cd6d07020b512057911ef
eentrant.h
|
f2cea021ab2c6d7d7feeb40cca098aa132605876 |
13-Mar-2014 |
Elliott Hughes <enh@google.com> |
Clean up <stdio.h> macros. Also neuter __isthreaded. We should come back to try to hide struct FILE's internals for LP64. Bug: 3453512 Bug: 3453550 Change-Id: I7e115329fb4579246a72fea367b9fc8cb6055d18
eentrant.h
|
569fb9887d00104509df79fa77d92e3cf9afe7db |
04-Mar-2014 |
Calin Juravle <calin@google.com> |
Moved nameser.h and namser_compat.h to public include dir This is part of the upstream sync (Net/Open/Free BSDs expose the nameser.h in their public headers). Change-Id: Ib063d4e50586748cc70201a8296cd90d2e48bbcf
ase64.c
etaddrinfo.c
etnameinfo.c
|
bd33537fde8e1c68fcadfd6adf77b295ada9b45f |
28-Feb-2014 |
Calin Juravle <calin@google.com> |
Renamed the misleading libc/netbsd directory to libc/dns. Bug: 13219633 Change-Id: Ide43add0b90b3081cc709a22d1ff1f59d65f1104
ase64.c
etaddrinfo.c
etnameinfo.c
etservbyname.c
etservbyport.c
etservent.c
sdispatch.c
eentrant.h
ervent.h
ervices.h
|