about summary refs log tree commit diff
path: root/resolv/nss_dns
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-28 20:47:08 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-28 20:47:08 +0000
commit1bc21e7a70eb9f1f69c179bb251e612c7aecd655 (patch)
tree9ed0ab62f6a85dcae93d8239923bdb4c049c9b36 /resolv/nss_dns
parente852e889444a8bf27f3e5075d064e9922b38e7e2 (diff)
downloadglibc-1bc21e7a70eb9f1f69c179bb251e612c7aecd655.tar.gz
glibc-1bc21e7a70eb9f1f69c179bb251e612c7aecd655.tar.xz
glibc-1bc21e7a70eb9f1f69c179bb251e612c7aecd655.zip
Update.
	* resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
	warnings when DNSSEC related records are received.
	* resolv/gethnamaddr.c (getanswer): Likewise.
	Patch by Brian Wellington <bwelling@anomaly.munge.com>.
	* signal/signal.h: Add prototype for sysv_signal.

	* math/libm-test.c (tgamma_test): Remove redundant tests.
	* posix/glob.h: Add GLOB_TILDE_CHECK.
	* sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
	* posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
	* posix/globtest.sh: Re-enable test with ~ and non-existing user name.
Diffstat (limited to 'resolv/nss_dns')
-rw-r--r--resolv/nss_dns/dns-host.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
index f8345bb591..ed4be67337 100644
--- a/resolv/nss_dns/dns-host.c
+++ b/resolv/nss_dns/dns-host.c
@@ -456,6 +456,16 @@ getanswer_r (const querybuf *answer, int anslen, const char *qname, int qtype,
 	  linebuflen -= n;
 	  continue;
 	}
+      if (type == T_SIG || type == T_KEY || type == T_NXT)
+	{
+	  /* We don't support DNSSEC yet.  For now, ignore the record
+	     and send a low priority message to syslog.  */
+	  syslog (LOG_DEBUG | LOG_AUTH,
+	       "gethostby*.getanswer: asked for \"%s %s %s\", got type \"%s\"",
+		  qname, p_class (C_IN), p_type(qtype), p_type (type));
+	  cp += n;
+	  continue;
+	}
       if (type != qtype)
 	{
 	  syslog (LOG_NOTICE | LOG_AUTH,