]> git.ipfire.org Git - thirdparty/glibc.git/commit - resolv/resolv_context.h
resolv: Mirror the entire resolver configuration in struct resolv_conf
authorFlorian Weimer <fweimer@redhat.com>
Fri, 30 Jun 2017 18:19:10 +0000 (20:19 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 3 Jul 2017 19:03:21 +0000 (21:03 +0200)
commita1c4eb8794e789b5055d7ceb13b2b3231abf5e26
tree33fddb61bf0cb074a486dbe6155d0e36dd08ecaf
parent3f853f22c87f0b671c0366eb290919719fa56c0e
resolv: Mirror the entire resolver configuration in struct resolv_conf

This commit adds the remaining unchanging members (which are loaded
from /etc/resolv.conf) to struct resolv_conf.

The extended name server list is currently not used by the stub
resolver.  The switch depends on a cleanup: The _u._ext.nssocks
array stores just a single socket, and needs to be replaced with
a single socket value.

(The compatibility gethostname implementation does not use the
extended addres sort list, either.  Updating the compat code is
not worthwhile.)
ChangeLog
resolv/nss_dns/dns-host.c
resolv/res_init.c
resolv/resolv_conf.c
resolv/resolv_conf.h
resolv/resolv_context.h
resolv/tst-resolv-res_init-skeleton.c