CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/05/31 05:30:50

Modified files:
        usr.bin/ssh    : monitor.c monitor_wrap.c monitor_wrap.h 
                         servconf.c servconf.h sshd-auth.c 

Log message:
big refactor of sshd config management code.

This generates much of the initialisation, defaults and keyword table
code from a set of macros rather than hand coding them. These same
macros are also used to generate serialisation and deserialisation
code.

The macros are admittedly ugly but have the advantage of forcing a
good degree of consistency across places that need to stay in sync
with each other.

The new de/serialisation code is used to pass configurations across
the various sshd-* process boundaries. This removes the need to pass
around raw text configurations that need to be re-parsed as well as
eliminating some raw pointer leakage across the processes where
structures were previously clumsily serialised.

feedback/ok markus@

Reply via email to