CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2017/09/12 00:32:08

Modified files:
        usr.bin/ssh    : auth-options.c auth.c channels.c channels.h 
                         clientloop.c clientloop.h monitor.c 
                         monitor_wrap.c mux.c nchan.c packet.c packet.h 
                         servconf.c servconf.h serverloop.c serverloop.h 
                         session.c session.h ssh.c sshbuf.h sshconnect.c 
                         sshconnect.h sshd.c ssherr.c ssherr.h 

Log message:
refactor channels.c

Move static state to a "struct ssh_channels" that is allocated at
runtime and tracked as a member of struct ssh.

Explicitly pass "struct ssh" to all channels functions.

Replace use of the legacy packet APIs in channels.c.

Rework sshd_config PermitOpen handling: previously the configuration
parser would call directly into the channels layer. After the refactor
this is not possible, as the channels structures are allocated at
connection time and aren't available when the configuration is parsed.
The server config parser now tracks PermitOpen itself and explicitly
configures the channels code later.

ok markus@

Reply via email to