bind9/bin/named
Ondřej Surý f7e5c1db38
Change the 'isc_g_mctx' to be always available
This required couple of internal changes to the isc_mem_debugging.

The isc_mem_debugging is now internal to isc_mem unit and there are
three new functions:

1. isc_mem_setdebugging() can change the debugging setting for an
   individual memory context.  This is need for the memory contexts used
   for OpenSSL, libxml and libuv accounting as recording and tracing
   memory is broken there.

2. isc_mem_debugon() / isc_mem_debugoff() can be used to change default
   memory debugging flags as well as debugging flags for isc_g_mctx.

Additionally, the memory debugging is inconsistent across the code-base.
For now, we are keeping the existing flags, but three new environment
variables have been added 'ISC_MEM_DEBUGRECORD', 'ISC_MEM_DEBUGTRACE'
and 'ISC_MEM_DEBUGUSAGE' to set the global debugging flags at any
program using the memory contexts.
2025-08-04 11:29:50 +02:00
..
include Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
.gitignore Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
bind9.xsl Expose the incoming transfers' rates in the statistics channel 2025-02-20 09:32:55 +00:00
builtin.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
config.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
control.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
controlconf.c Refactor the network manager to be a singleton 2025-07-23 22:45:38 +02:00
dlz_dlopen_driver.c Use clang-format-20 to update formatting 2025-06-25 12:44:22 +10:00
fuzz.c Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00
geoip.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
log.c debug level was ignored when logging to stderr 2025-05-13 12:47:23 -07:00
logconf.c add CFG_LIST_FOREACH macro 2025-05-27 21:08:09 -07:00
main.c Change the 'isc_g_mctx' to be always available 2025-08-04 11:29:50 +02:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00
named.conf.rst Remove the configblock sphinx extension 2025-06-23 13:45:09 +03:00
named.rst Finalize removal of memory debug flags size and mctx 2024-12-06 02:29:20 +00:00
os.c implement the systemd notification protocol manually, drop libsystemd 2025-03-27 22:52:41 +03:00
server.c Change the 'isc_g_mctx' to be always available 2025-08-04 11:29:50 +02:00
statschannel.c Refactor the network manager to be a singleton 2025-07-23 22:45:38 +02:00
tkeyconf.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
transportconf.c add CFG_LIST_FOREACH macro 2025-05-27 21:08:09 -07:00
tsigconf.c simplify code around isc_mem_put() and isc_mem_free() 2025-05-28 17:22:32 -07:00
xsl_c.in replace the build system with meson 2025-06-11 10:30:12 +03:00
xsl_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zoneconf.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00