commit | 007e987fee7e815e0c4bc820f434a632b7a69a9d | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Wed Oct 27 11:39:52 2010 -0700 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Mon Nov 01 16:00:10 2010 -0700 |
tree | bff951d25cfb94f1016c780bb43a74fbad0f4ae1 | |
parent | b5ff9b277f256df84caf3d798ccc83b4740a1d31 [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