OSDN Git Service

Make use of the DNS query hook in the netcontext
authorBen Schwartz <bemasc@google.com>
Mon, 24 Apr 2017 21:57:11 +0000 (17:57 -0400)
committerBen Schwartz <bemasc@google.com>
Mon, 22 May 2017 22:37:25 +0000 (18:37 -0400)
commit90a83beb4dd3a70aeb512a786e9a79bbd641f4de
tree6e8c1e3867def69f895bde71df8890ec8e6e279c
parent6e7f14d9f707c295765e119800acfa0621a347cb
Make use of the DNS query hook in the netcontext

This will allow netd to run queries over TLS:
https://android-review.googlesource.com/#/c/391513/
https://android-review.googlesource.com/#/c/380593/

Bug: 34953048
Test: Device tests pass.  No issues during manual testing.
Change-Id: I8d613322307fc40cdba59b82599eda753697278f
libc/dns/include/resolv_private.h
libc/dns/net/getaddrinfo.c
libc/dns/net/gethnamaddr.c
libc/dns/resolv/res_init.c