bind9/bin/named
Colin Vidal 77e0104cf4 shrunk cfgobj down to 48bytes
Make all non-scalar properties of `cfg_obj_t` allocated values, which
ensures the union size is the width of one pointer. Also reorder the
fields inside `cfg_obj_t` to avoid alignment padding that would increase
the size. As a result, a `cfg_obj_t` instance is now 48 bytes on a
64-bit platform.

Add a static assertion to avoid increasing the size of the struct by
mistake.

The function `parse_sockaddrsub` was taking advantage of the fact that
both sockaddr and sockaddrtls were in the same position, and used to
initialize the sockaddr field independently if this was a -tls one or
not. This doesn't work anymore now that all fields are allocated,
so it has been slightly rewritten to take both cases into account
separately.
2025-12-05 08:59:53 +01:00
..
include pass isc_buffer_t pointers when applicable 2025-11-28 18:47:49 +00: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 use a standard CLEANUP macro 2025-12-03 13:45:43 -08:00
config.c cfg_parse_ API doesn't need memory context 2025-12-04 16:09:40 +01:00
control.c use a standard CLEANUP macro 2025-12-03 13:45:43 -08:00
controlconf.c cfg_parse_ API doesn't need memory context 2025-12-04 16:09:40 +01: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 switch to CHECK where it wasn't being used 2025-12-03 13:45:42 -08:00
logconf.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00
main.c Remove internal memory filling in favor of jemalloc opt.junk 2025-11-27 10:40:18 +01: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 shrunk cfgobj down to 48bytes 2025-12-05 08:59:53 +01:00
statschannel.c use a standard CLEANUP macro 2025-12-03 13:45:43 -08:00
tkeyconf.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00
transportconf.c use a standard CLEANUP macro 2025-12-03 13:45:43 -08:00
tsigconf.c use a standard CLEANUP macro 2025-12-03 13:45:43 -08: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 use a standard CLEANUP macro 2025-12-03 13:45:43 -08:00