Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind merge our changes from 9.16.33 to 9.16.37
details: https://anonhg.NetBSD.org/src/rev/bd773972164a
branches: trunk
changeset: 373233:bd773972164a
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 25 21:43:22 2023 +0000
description:
merge our changes from 9.16.33 to 9.16.37
diffstat:
external/mpl/bind/dist/bin/check/check-tool.c | 13 +-
external/mpl/bind/dist/bin/check/named-checkconf.c | 13 +-
external/mpl/bind/dist/bin/check/named-checkzone.c | 5 +-
external/mpl/bind/dist/bin/confgen/ddns-confgen.c | 5 +-
external/mpl/bind/dist/bin/delv/delv.c | 29 +-
external/mpl/bind/dist/bin/dig/dig.c | 28 +-
external/mpl/bind/dist/bin/dig/dighost.c | 41 +-
external/mpl/bind/dist/bin/dig/host.c | 23 +-
external/mpl/bind/dist/bin/dnssec/dnssec-cds.c | 17 +-
external/mpl/bind/dist/bin/dnssec/dnssec-keyfromlabel.c | 8 +-
external/mpl/bind/dist/bin/dnssec/dnssec-keygen.c | 17 +-
external/mpl/bind/dist/bin/dnssec/dnssec-revoke.c | 5 +-
external/mpl/bind/dist/bin/dnssec/dnssec-settime.c | 8 +-
external/mpl/bind/dist/bin/dnssec/dnssec-signzone.c | 92 +-
external/mpl/bind/dist/bin/dnssec/dnssectool.c | 5 +-
external/mpl/bind/dist/bin/named/bind9.xsl.h | 8 +-
external/mpl/bind/dist/bin/named/builtin.c | 5 +-
external/mpl/bind/dist/bin/named/config.c | 15 +-
external/mpl/bind/dist/bin/named/controlconf.c | 14 +-
external/mpl/bind/dist/bin/named/main.c | 150 +-
external/mpl/bind/dist/bin/named/server.c | 285 +-
external/mpl/bind/dist/bin/named/statschannel.c | 52 +-
external/mpl/bind/dist/bin/named/tsigconf.c | 5 +-
external/mpl/bind/dist/bin/named/unix/os.c | 8 +-
external/mpl/bind/dist/bin/named/zoneconf.c | 11 +-
external/mpl/bind/dist/bin/nsupdate/nsupdate.c | 20 +-
external/mpl/bind/dist/bin/pkcs11/pkcs11-keygen.c | 8 +-
external/mpl/bind/dist/bin/plugins/filter-aaaa.c | 5 +-
external/mpl/bind/dist/bin/rndc/rndc.c | 23 +-
external/mpl/bind/dist/bin/tests/cfg_test.c | 8 +-
external/mpl/bind/dist/bin/tests/optional/byaddr_test.c | 8 +-
external/mpl/bind/dist/bin/tests/optional/db_test.c | 15 +-
external/mpl/bind/dist/bin/tests/optional/name_test.c | 11 +-
external/mpl/bind/dist/bin/tests/optional/nsecify.c | 4 +-
external/mpl/bind/dist/bin/tests/optional/rbt_test.c | 5 +-
external/mpl/bind/dist/bin/tests/optional/zone_test.c | 5 +-
external/mpl/bind/dist/bin/tests/system/autosign/ns2/Xbar.+005+30676.key | 5 -
external/mpl/bind/dist/bin/tests/system/autosign/ns2/Xbar.+005+30676.private | 13 -
external/mpl/bind/dist/bin/tests/system/autosign/ns2/Xbar.+005+30804.key | 5 -
external/mpl/bind/dist/bin/tests/system/autosign/ns2/Xbar.+005+30804.private | 13 -
external/mpl/bind/dist/bin/tests/system/autosign/ns3/nsec.example.db.in | 26 -
external/mpl/bind/dist/bin/tests/system/checkconf/bad-kasp-keydir1.conf | 50 -
external/mpl/bind/dist/bin/tests/system/checkconf/bad-kasp-keydir2.conf | 48 -
external/mpl/bind/dist/bin/tests/system/checkconf/bad-kasp-keydir3.conf | 55 -
external/mpl/bind/dist/bin/tests/system/checkconf/bad-kasp-keydir4.conf | 52 -
external/mpl/bind/dist/bin/tests/system/checkconf/bad-kasp-keydir5.conf | 52 -
external/mpl/bind/dist/bin/tests/system/checkds/tests-checkds.py | 443 -
external/mpl/bind/dist/bin/tests/system/checkzone/zones/bad-tsig.db | 17 -
external/mpl/bind/dist/bin/tests/system/common/controls.conf | 22 -
external/mpl/bind/dist/bin/tests/system/delzone/clean.sh | 25 -
external/mpl/bind/dist/bin/tests/system/delzone/ns1/inlinesec.db | 26 -
external/mpl/bind/dist/bin/tests/system/delzone/ns1/named.conf | 34 -
external/mpl/bind/dist/bin/tests/system/delzone/ns2/added.db | 26 -
external/mpl/bind/dist/bin/tests/system/delzone/ns2/named.args | 1 -
external/mpl/bind/dist/bin/tests/system/delzone/ns2/named.conf | 35 -
external/mpl/bind/dist/bin/tests/system/delzone/ns2/normal.db | 26 -
external/mpl/bind/dist/bin/tests/system/delzone/setup.sh | 17 -
external/mpl/bind/dist/bin/tests/system/delzone/tests.sh | 65 -
external/mpl/bind/dist/bin/tests/system/dialup/ns1/named.conf | 40 -
external/mpl/bind/dist/bin/tests/system/dialup/ns2/named.conf | 40 -
external/mpl/bind/dist/bin/tests/system/dialup/ns3/named.conf | 40 -
external/mpl/bind/dist/bin/tests/system/dlzexternal/driver.c | 8 +-
external/mpl/bind/dist/bin/tests/system/dnssec/signer/general/Kexample.com.+005+07065.key | 1 -
external/mpl/bind/dist/bin/tests/system/dnssec/signer/general/Kexample.com.+005+07065.private | 10 -
external/mpl/bind/dist/bin/tests/system/dnssec/signer/general/Kexample.com.+005+23362.key | 1 -
external/mpl/bind/dist/bin/tests/system/dnssec/signer/general/Kexample.com.+005+23362.private | 10 -
external/mpl/bind/dist/bin/tests/system/dyndb/driver/db.c | 15 +-
external/mpl/bind/dist/bin/tests/system/feature-test.c | 20 +-
external/mpl/bind/dist/bin/tests/system/keymgr/18-nonstd-prepub/policy.conf | 20 -
external/mpl/bind/dist/bin/tests/system/keymgr/19-old-keys/policy.conf | 20 -
external/mpl/bind/dist/bin/tests/system/keymgr/policy.conf | 23 -
external/mpl/bind/dist/bin/tests/system/resolve.c | 11 +-
external/mpl/bind/dist/bin/tests/system/rpz/dnsrps.c | 5 +-
external/mpl/bind/dist/bin/tests/system/rrl/broken.conf | 46 -
external/mpl/bind/dist/bin/tests/system/rsabigexponent/bigkey.c | 6 +-
external/mpl/bind/dist/bin/tests/system/rsabigexponent/ns2/Xexample.+005+05896.key | 2 -
external/mpl/bind/dist/bin/tests/system/rsabigexponent/ns2/Xexample.+005+05896.private | 10 -
external/mpl/bind/dist/bin/tests/system/rsabigexponent/ns2/Xexample.+005+51829.key | 2 -
external/mpl/bind/dist/bin/tests/system/rsabigexponent/ns2/Xexample.+005+51829.private | 10 -
external/mpl/bind/dist/bin/tests/system/shutdown/tests-shutdown.py | 207 -
external/mpl/bind/dist/bin/tests/system/statschannel/tests-json.py | 111 -
external/mpl/bind/dist/bin/tests/system/statschannel/tests-xml.py | 140 -
external/mpl/bind/dist/bin/tests/system/stress/ns1/named.conf | 32 -
external/mpl/bind/dist/bin/tests/system/stress/ns2/named.conf | 34 -
external/mpl/bind/dist/bin/tests/system/stress/ns3/named.conf | 50 -
external/mpl/bind/dist/bin/tests/system/stress/ns4/named.conf | 35 -
external/mpl/bind/dist/bin/tests/system/tcp/tests-tcp.py | 72 -
external/mpl/bind/dist/bin/tests/system/timeouts/tests-tcp.py | 283 -
external/mpl/bind/dist/bin/tests/system/upforwd/ns3/named.conf.in | 56 -
external/mpl/bind/dist/bin/tests/system/wildcard/tests-wildcard.py | 112 -
external/mpl/bind/dist/bin/tests/wire_test.c | 5 +-
external/mpl/bind/dist/bin/tools/mdig.c | 14 +-
external/mpl/bind/dist/config.h.in | 3 +
external/mpl/bind/dist/configure | 2 +-
external/mpl/bind/dist/contrib/dlz/bin/dlzbdb/dlzbdb.c | 11 +-
external/mpl/bind/dist/contrib/dlz/drivers/dlz_bdb_driver.c | 5 +-
external/mpl/bind/dist/contrib/dlz/drivers/dlz_bdbhpt_driver.c | 5 +-
external/mpl/bind/dist/contrib/dlz/drivers/dlz_filesystem_driver.c | 20 +-
external/mpl/bind/dist/contrib/dlz/drivers/dlz_odbc_driver.c | 11 +-
external/mpl/bind/dist/contrib/dlz/drivers/dlz_postgres_driver.c | 5 +-
external/mpl/bind/dist/contrib/dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c | 8 +-
external/mpl/bind/dist/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c | 20 +-
external/mpl/bind/dist/contrib/dlz/modules/include/dlz_list.h | 16 +-
external/mpl/bind/dist/contrib/dlz/modules/ldap/dlz_ldap_dynamic.c | 5 +-
external/mpl/bind/dist/contrib/dlz/modules/mysqldyn/dlz_mysqldyn_mod.c | 11 +-
external/mpl/bind/dist/contrib/dlz/modules/perl/dlz_perl_driver.c | 37 +-
external/mpl/bind/dist/contrib/dlz/modules/sqlite3/dlz_sqlite3_dynamic.c | 18 +-
external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c | 21 +-
external/mpl/bind/dist/lib/bind9/check.c | 130 +-
external/mpl/bind/dist/lib/bind9/getaddresses.c | 5 +-
external/mpl/bind/dist/lib/dns/adb.c | 23 +-
external/mpl/bind/dist/lib/dns/badcache.c | 5 +-
external/mpl/bind/dist/lib/dns/byaddr.c | 5 +-
external/mpl/bind/dist/lib/dns/cache.c | 5 +-
external/mpl/bind/dist/lib/dns/catz.c | 62 +-
external/mpl/bind/dist/lib/dns/client.c | 10 +-
external/mpl/bind/dist/lib/dns/compress.c | 14 +-
external/mpl/bind/dist/lib/dns/db.c | 23 +-
external/mpl/bind/dist/lib/dns/diff.c | 29 +-
external/mpl/bind/dist/lib/dns/dispatch.c | 14 +-
external/mpl/bind/dist/lib/dns/dnsrps.c | 11 +-
external/mpl/bind/dist/lib/dns/dnssec.c | 59 +-
external/mpl/bind/dist/lib/dns/dst_api.c | 8 +-
external/mpl/bind/dist/lib/dns/dst_parse.c | 5 +-
external/mpl/bind/dist/lib/dns/ecdb.c | 6 +-
external/mpl/bind/dist/lib/dns/ecs.c | 5 +-
external/mpl/bind/dist/lib/dns/forward.c | 34 +-
external/mpl/bind/dist/lib/dns/gen.c | 6 +-
external/mpl/bind/dist/lib/dns/hmac_link.c | 5 +-
external/mpl/bind/dist/lib/dns/include/dns/db.h | 20 +-
external/mpl/bind/dist/lib/dns/include/dns/rdataset.h | 7 +-
external/mpl/bind/dist/lib/dns/include/dns/rdatasetiter.h | 3 +-
external/mpl/bind/dist/lib/dns/include/dns/zone.h | 5 +-
external/mpl/bind/dist/lib/dns/include/dns/zt.h | 4 +-
external/mpl/bind/dist/lib/dns/journal.c | 34 +-
external/mpl/bind/dist/lib/dns/key.c | 8 +-
external/mpl/bind/dist/lib/dns/keymgr.c | 47 +-
external/mpl/bind/dist/lib/dns/master.c | 50 +-
external/mpl/bind/dist/lib/dns/masterdump.c | 37 +-
external/mpl/bind/dist/lib/dns/message.c | 58 +-
external/mpl/bind/dist/lib/dns/name.c | 11 +-
external/mpl/bind/dist/lib/dns/ncache.c | 8 +-
external/mpl/bind/dist/lib/dns/nsec.c | 10 +-
external/mpl/bind/dist/lib/dns/nsec3.c | 27 +-
external/mpl/bind/dist/lib/dns/openssl_link.c | 5 +-
external/mpl/bind/dist/lib/dns/openssldh_link.c | 8 +-
external/mpl/bind/dist/lib/dns/opensslecdsa_link.c | 5 +-
external/mpl/bind/dist/lib/dns/openssleddsa_link.c | 8 +-
external/mpl/bind/dist/lib/dns/opensslrsa_link.c | 36 +-
external/mpl/bind/dist/lib/dns/order.c | 5 +-
external/mpl/bind/dist/lib/dns/peer.c | 8 +-
external/mpl/bind/dist/lib/dns/pkcs11rsa_link.c | 23 +-
external/mpl/bind/dist/lib/dns/private.c | 17 +-
external/mpl/bind/dist/lib/dns/rbt.c | 48 +-
external/mpl/bind/dist/lib/dns/rbtdb.c | 343 +-
external/mpl/bind/dist/lib/dns/rcode.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata.c | 26 +-
external/mpl/bind/dist/lib/dns/rdata/any_255/tsig_250.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/generic/amtrelay_260.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/generic/caa_257.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/generic/isdn_20.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/generic/key_25.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/generic/loc_29.c | 17 +-
external/mpl/bind/dist/lib/dns/rdata/generic/tkey_249.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/generic/txt_16.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/in_1/a_1.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/in_1/aaaa_28.c | 5 +-
external/mpl/bind/dist/lib/dns/rdata/in_1/svcb_64.c | 69 +-
external/mpl/bind/dist/lib/dns/rdatalist.c | 20 +-
external/mpl/bind/dist/lib/dns/rdataslab.c | 5 +-
external/mpl/bind/dist/lib/dns/request.c | 5 +-
external/mpl/bind/dist/lib/dns/resolver.c | 261 +-
external/mpl/bind/dist/lib/dns/rootns.c | 10 +-
external/mpl/bind/dist/lib/dns/rpz.c | 28 +-
external/mpl/bind/dist/lib/dns/rriterator.c | 6 +-
external/mpl/bind/dist/lib/dns/rrl.c | 20 +-
external/mpl/bind/dist/lib/dns/sdb.c | 15 +-
external/mpl/bind/dist/lib/dns/sdlz.c | 21 +-
external/mpl/bind/dist/lib/dns/ssu.c | 38 +-
external/mpl/bind/dist/lib/dns/stats.c | 17 +-
external/mpl/bind/dist/lib/dns/tests/Krsa.+005+29235.key | 5 -
external/mpl/bind/dist/lib/dns/tests/dbversion_test.c | 6 +-
external/mpl/bind/dist/lib/dns/tests/dnstest.c | 5 +-
external/mpl/bind/dist/lib/dns/tests/rdata_test.c | 42 +-
external/mpl/bind/dist/lib/dns/tests/rsa_test.c | 33 +-
external/mpl/bind/dist/lib/dns/tests/zt_test.c | 6 +-
external/mpl/bind/dist/lib/dns/tkey.c | 5 +-
external/mpl/bind/dist/lib/dns/tsig.c | 23 +-
external/mpl/bind/dist/lib/dns/update.c | 24 +-
external/mpl/bind/dist/lib/dns/validator.c | 47 +-
external/mpl/bind/dist/lib/dns/view.c | 35 +-
external/mpl/bind/dist/lib/dns/xfrin.c | 23 +-
external/mpl/bind/dist/lib/dns/zone.c | 965 ++-
external/mpl/bind/dist/lib/dns/zonekey.c | 5 +-
external/mpl/bind/dist/lib/dns/zoneverify.c | 31 +-
external/mpl/bind/dist/lib/dns/zt.c | 36 +-
external/mpl/bind/dist/lib/irs/getaddrinfo.c | 20 +-
external/mpl/bind/dist/lib/irs/getnameinfo.c | 11 +-
external/mpl/bind/dist/lib/irs/win32/resconf.c | 5 +-
external/mpl/bind/dist/lib/isc/app.c | 5 +-
external/mpl/bind/dist/lib/isc/buffer.c | 122 +-
external/mpl/bind/dist/lib/isc/heap.c | 5 +-
external/mpl/bind/dist/lib/isc/ht.c | 11 +-
external/mpl/bind/dist/lib/isc/httpd.c | 11 +-
external/mpl/bind/dist/lib/isc/include/isc/buffer.h | 122 +-
external/mpl/bind/dist/lib/isc/include/isc/list.h | 33 +-
external/mpl/bind/dist/lib/isc/include/isc/magic.h | 12 +-
external/mpl/bind/dist/lib/isc/include/isc/string.h | 7 +-
external/mpl/bind/dist/lib/isc/lex.c | 56 +-
external/mpl/bind/dist/lib/isc/log.c | 29 +-
external/mpl/bind/dist/lib/isc/mem.c | 29 +-
external/mpl/bind/dist/lib/isc/netaddr.c | 5 +-
external/mpl/bind/dist/lib/isc/netmgr/netmgr.c | 5 +-
external/mpl/bind/dist/lib/isc/netmgr/tcp.c | 23 +-
external/mpl/bind/dist/lib/isc/netmgr/tcpdns.c | 17 +-
external/mpl/bind/dist/lib/isc/netmgr/udp.c | 17 +-
external/mpl/bind/dist/lib/isc/pk11.c | 11 +-
external/mpl/bind/dist/lib/isc/radix.c | 8 +-
external/mpl/bind/dist/lib/isc/rwlock.c | 14 +-
external/mpl/bind/dist/lib/isc/siphash.c | 12 +-
external/mpl/bind/dist/lib/isc/string.c | 32 +-
external/mpl/bind/dist/lib/isc/task.c | 14 +-
external/mpl/bind/dist/lib/isc/tests/random_test.c | 5 +-
external/mpl/bind/dist/lib/isc/tests/regex_test.c | 2376 ----------
external/mpl/bind/dist/lib/isc/tests/socket_test.c | 5 +-
external/mpl/bind/dist/lib/isc/tests/task_test.c | 8 +-
external/mpl/bind/dist/lib/isc/timer.c | 5 +-
external/mpl/bind/dist/lib/isc/unix/file.c | 5 +-
external/mpl/bind/dist/lib/isc/unix/socket.c | 53 +-
external/mpl/bind/dist/lib/isc/url.c | 5 +-
external/mpl/bind/dist/lib/isc/utf8.c | 5 +-
external/mpl/bind/dist/lib/isc/win32/dir.c | 5 +-
external/mpl/bind/dist/lib/isc/win32/file.c | 11 +-
external/mpl/bind/dist/lib/isc/win32/fsaccess.c | 8 +-
external/mpl/bind/dist/lib/isc/win32/include/isc/net.h | 8 +-
external/mpl/bind/dist/lib/isc/win32/interfaceiter.c | 5 +-
external/mpl/bind/dist/lib/isc/win32/net.c | 11 +-
external/mpl/bind/dist/lib/isc/win32/ntgroups.c | 8 +-
external/mpl/bind/dist/lib/isc/win32/socket.c | 23 +-
external/mpl/bind/dist/lib/isccc/alist.c | 5 +-
external/mpl/bind/dist/lib/isccc/cc.c | 8 +-
external/mpl/bind/dist/lib/isccc/symtab.c | 14 +-
external/mpl/bind/dist/lib/isccfg/aclconf.c | 17 +-
external/mpl/bind/dist/lib/isccfg/include/isccfg/grammar.h | 4 +-
external/mpl/bind/dist/lib/isccfg/namedconf.c | 43 +-
external/mpl/bind/dist/lib/isccfg/parser.c | 124 +-
external/mpl/bind/dist/lib/isccfg/tests/duration_test.c | 111 +-
external/mpl/bind/dist/lib/ns/client.c | 21 +-
external/mpl/bind/dist/lib/ns/hooks.c | 5 +-
external/mpl/bind/dist/lib/ns/include/ns/client.h | 12 +-
external/mpl/bind/dist/lib/ns/include/ns/server.h | 3 +-
external/mpl/bind/dist/lib/ns/include/ns/stats.h | 6 +-
external/mpl/bind/dist/lib/ns/interfacemgr.c | 21 +-
external/mpl/bind/dist/lib/ns/query.c | 239 +-
external/mpl/bind/dist/lib/ns/server.c | 4 +-
external/mpl/bind/dist/lib/ns/sortlist.c | 8 +-
external/mpl/bind/dist/lib/ns/tests/nstest.c | 5 +-
external/mpl/bind/dist/lib/ns/update.c | 460 +-
external/mpl/bind/dist/lib/ns/xfrout.c | 8 +-
external/mpl/bind/include/config.h | 3 +
external/mpl/bind/include/dns/code.h | 2 +-
external/mpl/bind/include/dns/enumclass.h | 2 +-
external/mpl/bind/include/dns/enumtype.h | 2 +-
external/mpl/bind/include/dns/rdatastruct.h | 172 +-
external/mpl/bind/include/isc/stdatomic.h | 2 -
265 files changed, 3993 insertions(+), 7407 deletions(-)
diffs (truncated from 23391 to 300 lines):
diff -r 20a7f64cdb69 -r bd773972164a external/mpl/bind/dist/bin/check/check-tool.c
--- a/external/mpl/bind/dist/bin/check/check-tool.c Wed Jan 25 20:36:33 2023 +0000
+++ b/external/mpl/bind/dist/bin/check/check-tool.c Wed Jan 25 21:43:22 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: check-tool.c,v 1.8 2022/09/23 12:15:20 christos Exp $ */
+/* $NetBSD: check-tool.c,v 1.9 2023/01/25 21:43:22 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -211,7 +211,8 @@
*/
cur = ai;
while (cur != NULL && cur->ai_canonname == NULL &&
- cur->ai_next != NULL) {
+ cur->ai_next != NULL)
+ {
cur = cur->ai_next;
}
if (cur != NULL && cur->ai_canonname != NULL &&
@@ -413,7 +414,8 @@
*/
cur = ai;
while (cur != NULL && cur->ai_canonname == NULL &&
- cur->ai_next != NULL) {
+ cur->ai_next != NULL)
+ {
cur = cur->ai_next;
}
if (cur != NULL && cur->ai_canonname != NULL &&
@@ -499,7 +501,8 @@
*/
cur = ai;
while (cur != NULL && cur->ai_canonname == NULL &&
- cur->ai_next != NULL) {
+ cur->ai_next != NULL)
+ {
cur = cur->ai_next;
}
if (cur != NULL && cur->ai_canonname != NULL &&
@@ -609,7 +612,7 @@
}
CHECK(result);
- CHECK(dns_db_allrdatasets(db, node, version, 0, &rdsiter));
+ CHECK(dns_db_allrdatasets(db, node, version, 0, 0, &rdsiter));
for (result = dns_rdatasetiter_first(rdsiter);
result == ISC_R_SUCCESS;
result = dns_rdatasetiter_next(rdsiter))
diff -r 20a7f64cdb69 -r bd773972164a external/mpl/bind/dist/bin/check/named-checkconf.c
--- a/external/mpl/bind/dist/bin/check/named-checkconf.c Wed Jan 25 20:36:33 2023 +0000
+++ b/external/mpl/bind/dist/bin/check/named-checkconf.c Wed Jan 25 21:43:22 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: named-checkconf.c,v 1.8 2022/09/23 12:15:20 christos Exp $ */
+/* $NetBSD: named-checkconf.c,v 1.9 2023/01/25 21:43:22 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -406,6 +406,17 @@
}
obj = NULL;
+ if (get_maps(maps, "check-wildcard", &obj)) {
+ if (cfg_obj_asboolean(obj)) {
+ zone_options |= DNS_ZONEOPT_CHECKWILDCARD;
+ } else {
+ zone_options &= ~DNS_ZONEOPT_CHECKWILDCARD;
+ }
+ } else {
+ zone_options |= DNS_ZONEOPT_CHECKWILDCARD;
+ }
+
+ obj = NULL;
if (get_checknames(maps, &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
zone_options |= DNS_ZONEOPT_CHECKNAMES;
diff -r 20a7f64cdb69 -r bd773972164a external/mpl/bind/dist/bin/check/named-checkzone.c
--- a/external/mpl/bind/dist/bin/check/named-checkzone.c Wed Jan 25 20:36:33 2023 +0000
+++ b/external/mpl/bind/dist/bin/check/named-checkzone.c Wed Jan 25 21:43:22 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: named-checkzone.c,v 1.8 2022/09/23 12:15:20 christos Exp $ */
+/* $NetBSD: named-checkzone.c,v 1.9 2023/01/25 21:43:22 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -475,7 +475,8 @@
outputformat = dns_masterformat_raw;
rawversion = strtol(outputformatstr + 4, &end, 10);
if (end == outputformatstr + 4 || *end != '\0' ||
- rawversion > 1U) {
+ rawversion > 1U)
+ {
fprintf(stderr, "unknown raw format version\n");
exit(1);
}
diff -r 20a7f64cdb69 -r bd773972164a external/mpl/bind/dist/bin/confgen/ddns-confgen.c
--- a/external/mpl/bind/dist/bin/confgen/ddns-confgen.c Wed Jan 25 20:36:33 2023 +0000
+++ b/external/mpl/bind/dist/bin/confgen/ddns-confgen.c Wed Jan 25 21:43:22 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ddns-confgen.c,v 1.6 2022/09/23 12:15:20 christos Exp $ */
+/* $NetBSD: ddns-confgen.c,v 1.7 2023/01/25 21:43:22 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -139,7 +139,8 @@
isc_commandline_errprint = false;
while ((ch = isc_commandline_parse(argc, argv, "a:hk:Mmr:qs:y:z:")) !=
- -1) {
+ -1)
+ {
switch (ch) {
case 'a':
algname = isc_commandline_argument;
diff -r 20a7f64cdb69 -r bd773972164a external/mpl/bind/dist/bin/delv/delv.c
--- a/external/mpl/bind/dist/bin/delv/delv.c Wed Jan 25 20:36:33 2023 +0000
+++ b/external/mpl/bind/dist/bin/delv/delv.c Wed Jan 25 21:43:22 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: delv.c,v 1.11 2022/09/23 12:15:21 christos Exp $ */
+/* $NetBSD: delv.c,v 1.12 2023/01/25 21:43:23 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -460,7 +460,8 @@
result = dns_rdataset_next(rdataset))
{
if ((rdataset->attributes &
- DNS_RDATASETATTR_NEGATIVE) != 0) {
+ DNS_RDATASETATTR_NEGATIVE) != 0)
+ {
continue;
}
@@ -484,7 +485,8 @@
} else {
dns_indent_t indent = { " ", 2 };
if (!yaml && (rdataset->attributes &
- DNS_RDATASETATTR_NEGATIVE) != 0) {
+ DNS_RDATASETATTR_NEGATIVE) != 0)
+ {
isc_buffer_putstr(&target, "; ");
}
result = dns_master_rdatasettotext(
@@ -786,7 +788,8 @@
keylist = cfg_listelt_value(elt);
for (elt2 = cfg_list_first(keylist); elt2 != NULL;
- elt2 = cfg_list_next(elt2)) {
+ elt2 = cfg_list_next(elt2))
+ {
key = cfg_listelt_value(elt2);
CHECK(key_fromconfig(key, client));
}
@@ -952,7 +955,8 @@
result = ISC_R_SUCCESS;
for (cur = res; cur != NULL; cur = cur->ai_next) {
if (cur->ai_family != AF_INET &&
- cur->ai_family != AF_INET6) {
+ cur->ai_family != AF_INET6)
+ {
continue;
}
sa = isc_mem_get(mctx, sizeof(*sa));
@@ -1452,7 +1456,8 @@
warn("extra query type");
}
if (rdtype == dns_rdatatype_ixfr ||
- rdtype == dns_rdatatype_axfr) {
+ rdtype == dns_rdatatype_axfr)
+ {
fatal("Transfer not supported");
}
qtype = rdtype;
@@ -1531,7 +1536,8 @@
/* Look for dash value option. */
if (strpbrk(option, dash_opts) != &option[0] ||
- strlen(option) > 1U) {
+ strlen(option) > 1U)
+ {
/* Error or value in option. */
continue;
}
@@ -1569,13 +1575,15 @@
} else if (argv[0][0] == '-') {
if (argc <= 1) {
if (dash_option(&argv[0][1], NULL,
- &open_type_class)) {
+ &open_type_class))
+ {
argc--;
argv++;
}
} else {
if (dash_option(&argv[0][1], argv[1],
- &open_type_class)) {
+ &open_type_class))
+ {
argc--;
argv++;
}
@@ -1594,7 +1602,8 @@
warn("extra query type");
}
if (rdtype == dns_rdatatype_ixfr ||
- rdtype == dns_rdatatype_axfr) {
+ rdtype == dns_rdatatype_axfr)
+ {
fatal("Transfer not supported");
}
qtype = rdtype;
diff -r 20a7f64cdb69 -r bd773972164a external/mpl/bind/dist/bin/dig/dig.c
--- a/external/mpl/bind/dist/bin/dig/dig.c Wed Jan 25 20:36:33 2023 +0000
+++ b/external/mpl/bind/dist/bin/dig/dig.c Wed Jan 25 21:43:22 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dig.c,v 1.8 2022/09/23 12:15:21 christos Exp $ */
+/* $NetBSD: dig.c,v 1.9 2023/01/25 21:43:23 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -516,7 +516,7 @@
static bool
isdotlocal(dns_message_t *msg) {
isc_result_t result;
- static unsigned char local_ndata[] = { "\005local\0" };
+ static unsigned char local_ndata[] = { "\005local" };
static unsigned char local_offsets[] = { 0, 6 };
static dns_name_t local = DNS_NAME_INITABSOLUTE(local_ndata,
local_offsets);
@@ -624,7 +624,8 @@
flags |= DNS_MESSAGETEXTFLAG_NOCOMMENTS;
}
if (query->lookup->onesoa &&
- query->lookup->rdtype == dns_rdatatype_axfr) {
+ query->lookup->rdtype == dns_rdatatype_axfr)
+ {
flags |= (query->msg_count == 0) ? DNS_MESSAGETEXTFLAG_ONESOA
: DNS_MESSAGETEXTFLAG_OMITSOA;
}
@@ -1461,7 +1462,8 @@
}
for (num = 0;
num < sizeof(opcodetext) / sizeof(opcodetext[0]);
- num++) {
+ num++)
+ {
if (strcasecmp(opcodetext[num], value) == 0) {
break;
}
@@ -2036,7 +2038,8 @@
result = dns_rdatatype_fromtext(
&rdtype, (isc_textregion_t *)&tr);
if (result == ISC_R_SUCCESS &&
- rdtype == dns_rdatatype_ixfr) {
+ rdtype == dns_rdatatype_ixfr)
+ {
result = DNS_R_UNKNOWN;
}
}
@@ -2109,7 +2112,8 @@
}
*need_clone = true;
if (get_reverse(textname, sizeof(textname), value, false) ==
- ISC_R_SUCCESS) {
+ ISC_R_SUCCESS)
+ {
strlcpy((*lookup)->textname, textname,
sizeof((*lookup)->textname));
debug("looking up %s", (*lookup)->textname);
@@ -2291,7 +2295,8 @@
}
if (batchfp != NULL) {
while (fgets(batchline, sizeof(batchline), batchfp) !=
- 0) {
+ 0)
+ {
debug("config line %s", batchline);
bargc = split_batchline(batchline, bargv, 62,
".digrc argv");
@@ -2382,7 +2387,8 @@
&rdtype,
(isc_textregion_t *)&tr);
if (result == ISC_R_SUCCESS &&
- rdtype == dns_rdatatype_ixfr) {
+ rdtype == dns_rdatatype_ixfr)
+ {
fprintf(stderr, ";; Warning, "
"ixfr requires "
"a "
@@ -2422,7 +2428,8 @@
lookup->rdtype = rdtype;
lookup->rdtypeset = true;
if (rdtype ==
- dns_rdatatype_axfr) {
+ dns_rdatatype_axfr)
+ {
lookup->section_question =
plusquest;
lookup->comments =
@@ -2430,7 +2437,8 @@
}
Home |
Main Index |
Thread Index |
Old Index