mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-20 08:55:17 -04:00
`named_g_actconfctx` is a global variable holding the ACL configuration context alive (in particular, to dynamically load zones). However, this object is build once per configuration (early) and is used only inside server.c `apply_configuration` flow. (Two exceptions: the shutdown flow, still in server.c and plugin check flow, which doesn't need it, so it's NULL in such case). Instead of leaving this global publicly exposed, it is now part of the `named_server_t` object. This allows us to clearly see that, when reconfigureing the server, the new instance of the ACL context is known only by the newly built object and not currently used by "production" object; and will help to move move logic before the exclusive mode is taken. The other advantage is that the ACL configuration context can now be built before the exclusive lock as well. |
||
|---|---|---|
| .. | ||
| dns | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| meson.build | ||