bind9/lib/dns
Michał Kępień 02063cbae2 Make dns_dt_send() call dns_dt_reopen() asynchronously
Instead of checking current dnstap output file size and potentially
synchronously calling dns_dt_reopen() upon every call to dns_dt_send():

  - call dns_dt_reopen() asynchronously by queuing an event to the task
    specified at dnstap environment creation time,

  - ensure no roll event is outstanding before checking dnstap output
    file size and potentially queuing another roll event.

This causes dnstap output files to exceed their configured size limits,
but prevents any two threads from performing the roll simultaneously
(which causes crashes).
2018-02-16 09:39:24 +01:00
..
include Make dns_dt_reopen() request task-exclusive mode on its own 2018-02-16 09:39:24 +01:00
rdata preserve unsigned property 2018-02-16 10:20:38 +11:00
tests Clarify calculation precedence for '&' and '?' 2018-02-16 10:20:39 +11:00
win32 Add dns_dt_create2() 2018-02-16 09:39:24 +01:00
.gitignore 4394. [func] Add rndc command "dnstap-reopen" to close and 2016-06-24 09:37:04 +10:00
acl.c [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
adb.c formally cast to int; use %u instead of %d 2018-02-16 10:20:38 +11:00
api [master] update 9.11 api range 2018-01-24 10:22:59 -08:00
Atffile 3043. [test] Merged in the NetBSD ATF test framework (currently 2011-02-26 02:26:33 +00:00
badcache.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
byaddr.c make both arguments of & unsigned 2018-02-16 10:20:38 +11:00
cache.c initalise serve_stale_ttl 2017-11-23 16:11:49 +11:00
callbacks.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
catz.c test for >= 0 and use %d instead of %u 2018-02-16 10:20:38 +11:00
client.c [master] tag initializing keys 2017-10-27 15:49:44 -07:00
clientinfo.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
compress.c 4704. [cleanup] Silence Visual Studio compiler warnings. [RT #45898] 2017-09-07 12:57:55 +10:00
db.c [master] copyrights 2018-02-15 11:56:13 -08:00
dbiterator.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
dbtable.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
diff.c update copyright notice / whitespace 2018-01-21 23:45:57 +00:00
dispatch.c [master] Type the shifted values to isc_uint32_t so the top bit is unsigned (found by UBSAN) [RT #46740] 2017-11-30 18:23:35 +01:00
dlz.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
dns64.c update copyright notice / whitespace 2017-07-21 23:46:06 +00:00
dnsrps.c #include <isc/util.h> [RT #46626] 2017-11-18 11:22:44 +11:00
dnssec.c update copyright notice / whitespace 2017-07-21 23:46:06 +00:00
dnstap.c Make dns_dt_send() call dns_dt_reopen() asynchronously 2018-02-16 09:39:24 +01:00
dnstap.proto [master] dnstap 2015-10-02 12:32:42 -07:00
ds.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dst_api.c use %u instead of %d 2018-02-16 10:20:38 +11:00
dst_gost.h 4497. [port] Add support for OpenSSL 1.1.0. [RT #41284] 2016-10-31 10:04:37 +11:00
dst_internal.h update copyright notice / whitespace 2017-08-01 23:46:29 +00:00
dst_lib.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dst_openssl.h 4497. [port] Add support for OpenSSL 1.1.0. [RT #41284] 2016-10-31 10:04:37 +11:00
dst_parse.c use %u instead of %d 2018-02-16 10:20:38 +11:00
dst_parse.h update copyright notice / whitespace 2017-08-01 23:46:29 +00:00
dst_pkcs11.h 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dst_result.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dyndb.c update copyright notice / whitespace 2017-05-30 23:45:32 +00:00
ecdb.c Add statistics for glue cache usage (#46028) 2017-10-06 15:44:37 +05:30
ecs.c 4704. [cleanup] Silence Visual Studio compiler warnings. [RT #45898] 2017-09-07 12:57:55 +10:00
forward.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
gen-unix.h 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
gen-win32.h 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
gen.c update copyright notice / whitespace 2017-09-13 23:48:32 +00:00
geoip.c INSIST ipnum6 != NULL 2018-02-16 10:20:38 +11:00
gssapi_link.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
gssapictx.c update copyright notice / whitespace 2017-10-03 23:45:48 +00:00
hmac_link.c 4881. [bug] Only include dst_openssl.h when OpenSSL is required. 2018-01-30 15:21:02 +11:00
ipkeylist.c update copyright notice / whitespace 2018-01-21 23:45:57 +00:00
iptable.c update copyright notice / whitespace 2017-10-19 23:46:02 +00:00
journal.c 4654. [cleanup] Don't use C++ keywords delete, new and namespace. 2017-07-21 11:52:24 +10:00
key.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
keydata.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
keytable.c update copyright notice / whitespace 2018-01-24 23:46:02 +00:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
lib.c update copyright notice / whitespace 2017-09-18 23:48:50 +00:00
log.c [master] "zoneload" logging category 2017-11-01 22:48:12 -07:00
lookup.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
Makefile.in 4842. [bug] Conditionally compile opensslecdsa_link.c to avoid 2017-12-07 13:26:21 +11:00
mapapi [master] mapapi should have been bumped when rbtdb changed 2017-10-20 09:39:55 -07:00
master.c update copyright notice / whitespace 2018-01-22 23:46:02 +00:00
masterdump.c use %u instead of %d 2018-02-16 10:20:38 +11:00
message.c cast to unsigned 2018-02-16 10:20:38 +11:00
name.c 4841. [bug] Address -fsanitize=undefined warnings. [RT #46786] 2017-12-06 21:00:14 +11:00
ncache.c update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
nsec.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
nsec3.c [master] Rename nsec3param_salt_totext() to dns_nsec3param_salttotext(), make it public, add unit tests 2017-10-25 09:46:18 +02:00
nta.c update copyright notice / whitespace 2018-01-12 23:45:54 +00:00
openssl_link.c [master] completed and corrected the crypto-random change 2017-09-28 10:09:22 -07:00
openssldh_link.c update copyright notice / whitespace 2017-09-19 23:46:23 +00:00
openssldsa_link.c update copyright notice / whitespace 2017-09-19 23:46:23 +00:00
opensslecdsa_link.c update copyright notice / whitespace 2017-09-19 23:46:23 +00:00
openssleddsa_link.c Don't use memset() to wipe memory (#45947) 2017-09-19 16:16:45 +05:30
opensslgost_link.c update copyright notice / whitespace 2017-09-19 23:46:23 +00:00
opensslrsa_link.c Don't use memset() to wipe memory (#45947) 2017-09-19 16:16:45 +05:30
order.c update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
peer.c update copyright notice / whitespace 2017-01-05 23:45:24 +00:00
pkcs11.c update copyright notice / whitespace 2017-09-18 23:48:50 +00:00
pkcs11dh_link.c Don't use memset() to wipe memory (#45947) 2017-09-19 16:16:45 +05:30
pkcs11dsa_link.c Don't use memset() to wipe memory (#45947) 2017-09-19 16:16:45 +05:30
pkcs11ecdsa_link.c update copyright notice / whitespace 2017-01-05 23:45:24 +00:00
pkcs11eddsa_link.c Added Ed25519 support (#44696) 2017-07-31 15:26:00 +02:00
pkcs11gost_link.c Don't use memset() to wipe memory (#45947) 2017-09-19 16:16:45 +05:30
pkcs11rsa_link.c Don't use memset() to wipe memory (#45947) 2017-09-19 16:16:45 +05:30
portlist.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
private.c 4774. [bug] <isc/util.h> was incorrectly included in several 2017-10-19 12:26:32 +11:00
rbt.c use %u instead of %d 2018-02-16 10:20:38 +11:00
rbtdb.c [master] copyrights 2018-02-15 11:56:13 -08:00
rbtdb.h 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
rbtdb64.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
rbtdb64.h 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
rcode.c don't use strlcat with non NUL terminated strings rt45981_stage3 2017-09-15 13:14:16 +10:00
rdata.c add POST(tl) 2018-02-16 10:20:39 +11:00
rdatalist.c update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
rdatalist_p.h 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
rdataset.c 4739. [cleanup] Address clang static analysis warnings. [RT #45952] 2017-09-27 10:27:09 +10:00
rdatasetiter.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
rdataslab.c Fix various bugs reported by valgrind --tool=memcheck (#46978) 2018-01-13 00:33:35 +05:30
request.c update copyright notice / whitespace 2018-01-16 23:45:57 +00:00
resolver.c make declaration and use of setnocookie fully conditional 2018-02-16 10:20:38 +11:00
result.c update copyright notice / whitespace 2017-07-27 23:48:36 +00:00
rootns.c [master] update B.ROOT-SERVERS.NET 2017-10-24 09:17:08 -07:00
rpz.c use %u and preserve unsigned property 2018-02-16 10:20:38 +11:00
rriterator.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
rrl.c test for == 0 rather than <= as value is unsigned 2018-02-16 10:20:39 +11:00
sdb.c unsigned constants 2018-02-16 10:20:38 +11:00
sdlz.c unsigned constants 2018-02-16 10:20:38 +11:00
soa.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
spnego.asn1 2105. [func] GSS-TSIG support (RFC 3645). 2006-12-04 01:54:53 +00:00
spnego.c add POST(len); 2018-02-16 10:20:39 +11:00
spnego.h 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
spnego_asn1.c add POST(len); 2018-02-16 10:20:39 +11:00
spnego_asn1.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
ssu.c update copyright notice / whitespace 2018-02-07 23:45:53 +00:00
ssu_external.c Add missing <isc/print.h> 2017-09-13 19:44:47 +05:30
stats.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
tcpmsg.c use %u instead of %d 2018-02-16 10:20:38 +11:00
time.c update copyright notice / whitespace 2017-08-09 23:47:50 +00:00
timer.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
tkey.c 4546. [func] Extend the use of const declarations. [RT #43379] 2016-12-30 15:45:08 +11:00
tsec.c update copyright notice / whitespace 2017-10-19 23:46:02 +00:00
tsig.c 4817. [cleanup] Use DNS_NAME_INITABSOLUTE and DNS_NAME_INITNONABSOLUTE. 2017-11-13 16:58:12 +11:00
tsig_p.h [master] refactor tsig.c 2017-09-06 10:57:40 -07:00
ttl.c don't use strlcat with non NUL terminated strings rt45981_stage3 2017-09-15 13:14:16 +10:00
update.c simplify expression 2018-02-16 10:20:38 +11:00
validator.c update copyright notice / whitespace 2018-01-04 23:45:32 +00:00
version.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
view.c [master] Fix LMDB support on OpenBSD; clean up and refactor LMDB-related code 2017-11-30 14:34:04 +01:00
xfrin.c [master] cleanup strcat/strcpy 2017-09-13 00:14:37 -07:00
zone.c Do not recheck DNS_ZONEFLG_LOADPENDING in zone_asyncload() 2018-02-15 20:31:54 +01:00
zonekey.c 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
zt.c update copyright notice / whitespace 2017-10-05 23:45:49 +00:00