BBS:      TELESC.NET.BR
Assunto:  src/ssh/audit-dsohowto.mdsrc/ssh/deucessh-conn.h deucessh-kex.h ssh-ch
De:       Deuc¨
Data:     Wed, 25 Mar 2026 23:06:00 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/b40b5fbc2ecf7e2723b6a069
Added Files:
	src/ssh/audit-dsohowto.md
Modified Files:
	src/ssh/deucessh-conn.h deucessh-kex.h ssh-chan.h ssh-internal.h ssh-trans.h
Log Message:
Reorder struct fields by descending size; DSO best practices audit

Reordered 7 structs to minimize padding: dssh_pty_req,
dssh_kex_context, dssh_kex_s, dssh_incoming_open,
dssh_transport_global_config, dssh_transport_state_s,
dssh_channel_s, dssh_session_s.  Fields sorted: uint64_t > pointers/
size_t > C11 sync types > uint32_t > bool > char arrays.

Added audit-dsohowto.md documenting conformance with Drepper's
"How To Write Shared Libraries" best practices.  Library has
excellent export control and data layout; identified missing
linker flags and unprefixed symbol names for pre-1.0 cleanup.

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]