• Home
  • History
  • Annotate
  • only in /bionic/libc/dns/include/
History log of /bionic/libc/dns/include/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
esolv_netid.h
2582f02a01cd56c56a4e6c9de4444a6ec937cc37 20-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Cleanup: Delete dead code.

Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
esolv_netid.h
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.
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
sswitch.h
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.
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.
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.
8563802b04347951d8878747a830987e5ca145f5 16-May-2014 Elliott Hughes <enh@google.com> Use default hidden visibility to build libc_dns.

Bug: 11156955
Change-Id: Ia443705f5fbee0681039d4480abc89850968f475
esolv_netid.h
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
esolv_private.h
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
esolv_netid.h
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
esolv_private.h
41d9a503716ed6f3291f4cae097dca08d459429c 08-Apr-2014 Paul Jensen <pauljensen@google.com> Add support for deleting per-network DNS resolver caches.
This is required when the possible range of NetIds is large to
prevent netd consuming excessive amounts of memory.
This required replacing the per-cache locks in favor of a single
global lock to prevent accesses to deleted caches.

Change-Id: I99d058bafea5de743e56075dbed74031da4df63f
esolv_cache.h
esolv_netid.h
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
esolv_cache.h
esolv_iface.h
esolv_netid.h
esolv_private.h
cecc036970fba8b319cca302768865677f2be094 03-Mar-2014 Calin Juravle <calin@google.com> Moved private dns header to their own dir.

Bug: 13219633
Change-Id: I3435ef7564b9ad3c7b54188a0809440993b36c9e
sswitch.h
esolv_cache.h
esolv_iface.h
esolv_private.h
esolv_static.h