commit | 4e248e5a7a542067fd3f0467680eef2f92b1e195 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Wed Oct 27 11:39:52 2010 -0700 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Thu Jan 06 11:18:01 2011 -0800 |
tree | 68c61a24c94e123ab8059578a42c08c819698db5 | |
parent | f444b341768afcdb3f0934c068f3ead6bafdab78 [diff] |
DNS proxy thread in netd. New thread in the netd process which listens on the /dev/socket/dnsproxyd socket (group owned by 'inet', so only useable by apps with the INTERNET permission), and does getaddrinfo requests for other processes, caching in one place, rather than per-app. Still remaining: proper caching based on DNS-requested lengths, upping the cache size, getnameinfo, stats, flush, etc, etc. Change-Id: I1d65af7d87876e508c718656bd81217cd961e20a