bind9/lib/dns
Matthijs Mekking e0bdff7ecd Fix race condition dnssec-policy with views
When configuring the same dnssec-policy for two zones with the same
name but in different views, there is a race condition for who will
run the keymgr first. If running sequential only one set of keys will
be created, if running parallel two set of keys will be created.

Lock the kasp when running looking for keys and running the key
manager. This way, for the same zone in different views only one
keyset will be created.

The dnssec-policy does not implement sharing keys between different
zones.
2020-03-09 14:48:17 +01:00
..
include improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
rdata fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
tests improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
win32 improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
.gitignore 4394. [func] Add rndc command "dnstap-reopen" to close and 2016-06-24 09:37:04 +10:00
acl.c apply the modified style 2020-02-13 15:05:06 -08:00
adb.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
api Bump library API versions for BIND 9.17 2020-02-24 10:56:47 +01:00
badcache.c Workaround for clang static analyzer bug. 2020-03-02 14:12:05 +01:00
byaddr.c apply the modified style 2020-02-13 15:05:06 -08:00
cache.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
callbacks.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
catz.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
client.c Fix dns_client_addtrustedkey(dns_rdatatype_dnskey) 2020-03-04 08:59:29 -08:00
clientinfo.c apply the modified style 2020-02-13 15:05:06 -08:00
compress.c Add an arena to compressctx 2020-02-26 07:57:44 +00:00
db.c apply the modified style 2020-02-13 15:05:06 -08:00
dbiterator.c apply the modified style 2020-02-13 15:05:06 -08:00
dbtable.c apply the modified style 2020-02-13 15:05:06 -08:00
diff.c apply the modified style 2020-02-13 15:05:06 -08:00
dispatch.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
dlz.c apply the modified style 2020-02-13 15:05:06 -08:00
dns64.c apply the modified style 2020-02-13 15:05:06 -08:00
dnsrps.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
dnssec.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
dnstap.c apply the modified style 2020-02-13 15:05:06 -08:00
dnstap.proto fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
ds.c apply the modified style 2020-02-13 15:05:06 -08:00
dst_api.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
dst_internal.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
dst_openssl.h apply the modified style 2020-02-13 15:05:06 -08:00
dst_parse.c apply the modified style 2020-02-13 15:05:06 -08:00
dst_parse.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
dst_pkcs11.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
dst_result.c apply the modified style 2020-02-13 15:05:06 -08:00
dyndb.c apply the modified style 2020-02-13 15:05:06 -08:00
ecdb.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
ecs.c apply the modified style 2020-02-13 15:05:06 -08:00
fixedname.c apply the modified style 2020-02-13 15:05:06 -08:00
forward.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
gen-unix.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
gen-win32.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
gen.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
geoip2.c apply the modified style 2020-02-13 15:05:06 -08:00
gssapi_link.c apply the modified style 2020-02-13 15:05:06 -08:00
gssapictx.c apply the modified style 2020-02-13 15:05:06 -08:00
hmac_link.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
ipkeylist.c apply the modified style 2020-02-13 15:05:06 -08:00
iptable.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
journal.c dns_journal_iter_init() can now return the size of the delta 2020-03-05 17:20:16 -08:00
kasp.c Fix race condition dnssec-policy with views 2020-03-09 14:48:17 +01:00
key.c apply the modified style 2020-02-13 15:05:06 -08:00
keydata.c apply the modified style 2020-02-13 15:05:06 -08:00
keymgr.c Make clang-format happy 2020-03-06 15:57:48 +01:00
keytable.c apply the modified style 2020-02-13 15:05:06 -08:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
lib.c apply the modified style 2020-02-13 15:05:06 -08:00
log.c apply the modified style 2020-02-13 15:05:06 -08:00
lookup.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
Makefile.in Add ZLIB_LIBS to ISCLIBS 2020-02-28 15:22:29 +01:00
mapapi improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
master.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
masterdump.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
message.c Fixup the missing clang-format bits 2020-02-16 17:34:24 +01:00
name.c Fixup the missing clang-format bits 2020-02-16 17:34:24 +01:00
ncache.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
nsec.c apply the modified style 2020-02-13 15:05:06 -08:00
nsec3.c apply the modified style 2020-02-13 15:05:06 -08:00
nta.c list "validate-except" entries in "rndc nta -d" and "rndc secroots" 2020-03-04 00:44:32 -08:00
openssl_link.c apply the modified style 2020-02-13 15:05:06 -08:00
openssldh_link.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
opensslecdsa_link.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
openssleddsa_link.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
opensslrsa_link.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
order.c apply the modified style 2020-02-13 15:05:06 -08:00
peer.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
pkcs11.c apply the modified style 2020-02-13 15:05:06 -08:00
pkcs11ecdsa_link.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
pkcs11eddsa_link.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
pkcs11rsa_link.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
portlist.c apply the modified style 2020-02-13 15:05:06 -08:00
private.c apply the modified style 2020-02-13 15:05:06 -08:00
rbt.c improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
rbtdb.c improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
rbtdb.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
rcode.c apply the modified style 2020-02-13 15:05:06 -08:00
rdata.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
rdatalist.c apply the modified style 2020-02-13 15:05:06 -08:00
rdatalist_p.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
rdataset.c apply the modified style 2020-02-13 15:05:06 -08:00
rdatasetiter.c apply the modified style 2020-02-13 15:05:06 -08:00
rdataslab.c improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
request.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
resolver.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
result.c apply the modified style 2020-02-13 15:05:06 -08:00
rootns.c adjust the clang-format penalties to reduce string breaking 2020-02-17 14:23:58 -08:00
rpz.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
rriterator.c apply the modified style 2020-02-13 15:05:06 -08:00
rrl.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
sdb.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
sdlz.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
soa.c apply the modified style 2020-02-13 15:05:06 -08:00
spnego.asn1 Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
spnego.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
spnego.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
spnego_asn1.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
spnego_asn1.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
ssu.c apply the modified style 2020-02-13 15:05:06 -08:00
ssu_external.c apply the modified style 2020-02-13 15:05:06 -08:00
stats.c apply the modified style 2020-02-13 15:05:06 -08:00
tcpmsg.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
time.c apply the modified style 2020-02-13 15:05:06 -08:00
timer.c apply the modified style 2020-02-13 15:05:06 -08:00
tkey.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
tsec.c apply the modified style 2020-02-13 15:05:06 -08:00
tsig.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
tsig_p.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
ttl.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
update.c use the full sig-validity-interval for RRSIG(SOA) 2020-02-27 22:30:14 +00:00
validator.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
version.c Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
view.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
xfrin.c add serial number to "transfer ended" log messages 2020-03-05 17:20:16 -08:00
zone.c Fix race condition dnssec-policy with views 2020-03-09 14:48:17 +01:00
zone_p.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
zonekey.c apply the modified style 2020-02-13 15:05:06 -08:00
zoneverify.c some Fossies-reported spelling errors were accidentally left unfixed 2020-02-21 14:12:42 -08:00
zt.c Reformat using the new rules 2020-02-14 09:31:05 +01:00