bind9/lib/dns
Ondřej Surý d693c2e7a0 Extend expire_header() to check node lock type
Extend the expire_header() to accept the node lock type as one of the
arguments and check whether the the node lock is always write locked +
fix that bug.

While doing that, it was found that expire_header() invocation in
rdataset_expire() passes `false` as a type of tree lock instead of
`isc_rwlocktype_none`.

(Un)fortunately, both values mapped to 0, so no harm was done, but it
has been fixed nevertheless.
2023-01-06 08:43:16 +01:00
..
include Remove unused dns_remote_t functions 2022-12-23 15:17:54 +01:00
rdata Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
.gitignore 4394. [func] Add rndc command "dnstap-reopen" to close and 2016-06-24 09:37:04 +10:00
acl.c Improve reporting for pthread_once errors 2022-10-14 16:39:21 +02:00
adb.c Don't expire an ADB entry without holding the entries lock 2023-01-03 08:21:52 +00:00
badcache.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
byaddr.c Remove dns_lookup and unused functions in dns_byaddr 2022-05-25 14:44:32 +02:00
cache.c Add dns_db_allrdatasets options 2022-12-07 22:20:02 +00:00
callbacks.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
catz.c Enable auto-reallocation for all isc_buffer_allocate() buffers 2022-12-20 19:13:48 +01:00
client.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
clientinfo.c allow dns_clientinfo to store client ECS data 2022-01-27 13:53:59 -08:00
compress.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
db.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
dbiterator.c Remove the unused cache cleaning mechanism from dns_cache API 2022-11-29 13:48:33 -08:00
diff.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
dispatch.c Pin the dns_dispatch to threads when reusing 2023-01-05 09:11:42 +01:00
dlz.c Improve reporting for pthread_once errors 2022-10-14 16:39:21 +02:00
dns64.c Add isc_rwlock around dns_aclenv .localhost and .localnets member 2022-04-04 19:27:00 +02:00
dnsrps.c change dns_db_settask() to _setloop() 2022-11-30 11:47:35 -08:00
dnssec.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
dnstap.c Change the isc_buffer_reserve() to take just buffer pointer 2022-12-20 19:13:48 +01:00
dnstap.proto Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ds.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 08:33:43 +01:00
dst_api.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
dst_internal.h Check if key metadata is modified before writing 2022-05-13 13:31:17 +02:00
dst_openssl.h Use autoconf check for BN_GENCB_new() 2022-03-02 10:48:09 +00:00
dst_parse.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
dst_parse.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dyndb.c Improve reporting for pthread_once errors 2022-10-14 16:39:21 +02:00
ecs.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
fixedname.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
forward.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
gen.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
geoip2.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gssapi_link.c Remove a redundant variable-length array 2022-03-18 15:06:31 +00:00
gssapictx.c Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:33:43 +01:00
hmac_link.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
ipkeylist.c Parse and store new 'source[-v6]' option 2022-12-23 13:36:50 +00:00
iptable.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
journal.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
kasp.c Store built-in dnssec-policies in defaultconf 2022-06-28 11:56:31 +02:00
key.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
keydata.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
keymgr.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
keytable.c Change the isc_buffer_reserve() to take just buffer pointer 2022-12-20 19:13:48 +01:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Add new files for remote server communication 2022-12-23 13:36:50 +00:00
master.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
masterdump.c Add dns_db_allrdatasets options 2022-12-07 22:20:02 +00:00
message.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
name.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
ncache.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
nsec.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
nsec3.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
nta.c Change the isc_buffer_reserve() to take just buffer pointer 2022-12-20 19:13:48 +01:00
openssl_link.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
openssl_shim.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssl_shim.h Remove DH_clear_flags call 2022-07-18 13:38:47 +02:00
openssldh_link.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
opensslecdsa_link.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
openssleddsa_link.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
opensslrsa_link.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
order.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
peer.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
private.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
rbt.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
rbtdb.c Extend expire_header() to check node lock type 2023-01-06 08:43:16 +01:00
rbtdb.h Remove remaining checks for rbt64 2022-05-03 00:41:42 +01:00
rcode.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
rdata.c Add RUNTIME_CHECK for dns_rdata_tostruct 2022-12-04 21:41:02 +00:00
rdatalist.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
rdatalist_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdataset.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
rdatasetiter.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdataslab.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
remote.c Fix CID 432259: Sizeof not portable (remote.c) 2023-01-03 16:47:57 +01:00
request.c Fix the thread safety in the dns_dispatch unit 2022-12-19 11:42:13 +01:00
resolver.c Fix an ADB quota management error in the resolver 2022-12-23 09:45:20 +00:00
result.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rootns.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
rpz.c Fix an error path bug in rpz.c:update_nodes() 2023-01-03 14:21:17 +00:00
rriterator.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
rrl.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
sdb.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
sdlz.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
soa.c Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:33:43 +01:00
ssu.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
ssu_external.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stats.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
time.c Clean up #include <isc/string.h> 2022-05-03 12:38:59 +00:00
tkey.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
transport.c tlsctx_client_session_cache_new() -> tlsctx_client_session_create() 2022-12-23 11:10:11 +02:00
tsig.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
tsig_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ttl.c Use the semantic patch to do the unsigned -> unsigned int change 2022-09-19 15:56:02 +02:00
update.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
validator.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
view.c Create per-thread task for dns_adb resolver fetches 2022-11-30 10:03:24 +01:00
xfrin.c BIND: use Stream DNS for DNS over TCP connections 2022-12-20 22:13:53 +02:00
zone.c Fix control flow issues in zone.c 2023-01-04 14:14:42 -08:00
zone_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zonekey.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
zoneverify.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
zt.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00