New commits: commit 0c7231ffa479d4fe9ff9afd352353578c9d625ec Merge: 05b88a2fca 8a38778974 Author: Andrew Cagney <cag...@gnu.org> Date: Fri Jul 11 18:54:33 2025 -0400
Merge logging: fix plutodebug=all,add-prefix close #2338 plutodebug=all,add-prefix dumps core commit 8a38778974ebd1b7f409f4be052e00e10eb8aeba Author: Andrew Cagney <cag...@gnu.org> Date: Fri Jul 11 13:27:18 2025 -0400 state: ensure state is minimally viable before adding logger A minimally viable state requires: .st_serialno (else wrong value is logged) .st_state (else DBG_ADD_STATE barfs) Note: .st_connection can't be on the minimly viable list as both setting and releasing it requires the logger: st->st_connection = addref(c, st->logger) delref(&st->st_connection, st->logger) (new_state() gets around this by initially setting .st_connection to the existing connection reference and then, once the logger exists updating it to the new reference; delete_state() has no such workaround). see #2338 plutodebug=all,add-prefix dumps core commit 3890f278fa7d4455d82f6f753707dab486fcbe95 Author: Andrew Cagney <cag...@gnu.org> Date: Fri Jul 11 13:25:51 2025 -0400 debugging: add debug=add-state separate to debug=add-prefix so add-prefix mimics per-connection debug-logs commit 2916867ef48641816daeaca7b4a9b572a2e42018 Author: Andrew Cagney <cag...@gnu.org> Date: Fri Jul 11 13:04:39 2025 -0400 logging: update DBG_macros and bits - shuffle order, put DBG_BASE_IX after DBG_ROUTING_IX so that LRANGE(0, DBG_BASE_IX) does-the-right-thing - define the ranges DBG_base, DBG_all, and DBG_tmi for debug={base,all,tmi}, replaces DBG_ALL. - rename DBG_MASK to DBG_mask and DBG_NONE to DBG_none don't bother masking cur_debugging with DBG_MASK as cur_debugging no longer contains impair bits commit f846eac0451b727a42d36de5c9b88a930153156c Author: Andrew Cagney <cag...@gnu.org> Date: Fri Jul 11 10:17:02 2025 -0400 testing: add plutodebug=all,add-prefix to interop-ikev1-strongswan-01-xauth _______________________________________________ Swan-commit mailing list -- swan-commit@lists.libreswan.org To unsubscribe send an email to swan-commit-le...@lists.libreswan.org