platform_bionic/libc/dns/resolv
Lorenzo Colitti 5089e87559 fchown DNS lookup sockets to AID_DNS.
Currently DNS lookups are all sent as UID 0. In N we added an
AID_DNS user, but we never used it. A separate UID allows us to
account for and route DNS traffic differently from other UID 0
traffic such as kernel-originated traffic.

(cherry picked from commit 5f02720c88)

Fix: 29420831
Bug: 70673901
Test: DNS lookups continue to work
Test: netd_{unit,integration}_test pass
Change-Id: Ife3ca7df45de51b92437d2cfe627fb4703b672fb
Merged-In: I1c76fac51bdd4804620fe8a8567c9a650b8734d9
2018-05-11 00:56:51 +09:00
..
herror.c Moved nameser.h and namser_compat.h to public include dir 2014-03-04 15:07:07 +00:00
res_cache.c Lay the groundwork for enabling EDNS0 in queries. 2018-03-19 08:22:07 -07:00
res_comp.c Moved nameser.h and namser_compat.h to public include dir 2014-03-04 15:07:07 +00:00
res_data.c Moved nameser.h and namser_compat.h to public include dir 2014-03-04 15:07:07 +00:00
res_debug.c Replace uses of sprintf(3) with snprintf(3). 2014-10-08 16:12:27 -07:00
res_debug.h Renamed the misleading libc/netbsd directory to libc/dns. 2014-02-28 16:31:04 +00:00
res_init.c Enable EDNS and the DO-bit if the netcontext asks 2018-03-21 07:57:14 -07:00
res_mkquery.c Pad queries when EDNS0 is enabled. 2018-04-02 15:31:30 -07:00
res_private.h Renamed the misleading libc/netbsd directory to libc/dns. 2014-02-28 16:31:04 +00:00
res_query.c Replace uses of sprintf(3) with snprintf(3). 2014-10-08 16:12:27 -07:00
res_send.c fchown DNS lookup sockets to AID_DNS. 2018-05-11 00:56:51 +09:00
res_state.c Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
res_stats.c Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00