mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -333,6 +333,18 @@ getanswer(answer, anslen, qname, qtype)
|
||||
buflen -= 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,
|
||||
"gethostby*.getanswer: asked for \"%s %s %s\", got type \"%s\"",
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user