bind9/bin/named
Ondřej Surý 5baf3ac3b6 Refactor dns_rpz unit to use single reference counting
The dns_rpz_zones structure was using .refs and .irefs for strong and
weak reference counting.  Rewrite the unit to use just a single
reference counting + shutdown sequence (dns_rpz_destroy_rpzs) that must
be called by the creator of the dns_rpz_zones_t object.  Remove the
reference counting from the dns_rpz_zone structure as it is not needed
because the zone objects are fully embedded into the dns_rpz_zones
structure and dns_rpz_zones_t object must never be destroyed before all
dns_rpz_zone_t objects.

The dns_rps_zones_t reference counting uses the new ISC_REFCOUNT_TRACE
capability - enable by defining DNS_RPZ_TRACE in the dns/rpz.h header.

Additionally, add magic numbers to the dns_rpz_zone and dns_rpz_zones
structures.

(cherry picked from commit 77659e7392)
2023-02-14 09:58:16 +00:00
..
include remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
.gitignore Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
bind9.xsl add an update quota 2023-01-12 12:02:35 +01:00
builtin.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
config.c add a configuration option for the update quota 2023-01-12 12:02:35 +01:00
control.c Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:42:18 +01:00
controlconf.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
dlz_dlopen_driver.c De-duplicate __FILE__, __LINE__ 2022-10-17 16:00:26 +01:00
fuzz.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
geoip.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
log.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
logconf.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 08:42:16 +01:00
main.c Call dns_lib_destroy in bin/named/main.c:printversion 2023-01-31 10:06:02 +11:00
Makefile.am Remove auto-generated rst files in repo in favour of grammar pretty printer 2022-07-01 10:20:56 +02:00
named.conf.rst Add note that named.conf man page is not a complete manual 2022-07-01 10:21:06 +02:00
named.rst Document list of crypto algorithms in named -V output 2022-09-28 01:19:50 +10:00
os.c Fix named failing to start on Solaris systems with hundreds of CPUs 2022-10-20 15:15:10 +03:00
server.c Refactor dns_rpz unit to use single reference counting 2023-02-14 09:58:16 +00:00
statschannel.c add an update quota 2023-01-12 12:02:35 +01:00
tkeyconf.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
transportconf.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
tsigconf.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
xsl_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zoneconf.c remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00