Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit X-RT-Original-Encoding: iso-8859-1 Content-Length: 1671 Use library malloc for principal, policy entries Alter the KDB module contract to require that KDB modules use an allocator compatible with the malloc() seen by libkrb5 and libkdb5. Change krb5_db_alloc() and krb5_db_free() to provide access to this allocator. Remove free_principal, free_policy, alloc, and free from the KDB interface and from all in-tree KDB modules. https://github.com/krb5/krb5/commit/03d34fcfa329fbc2f686a0b34e2731e37f483a34 Author: Greg Hudson Commit: 03d34fcfa329fbc2f686a0b34e2731e37f483a34 Branch: master src/include/kdb.h | 40 +++++---------- src/lib/kdb/kdb5.c | 53 ++++++++++--------- src/plugins/kdb/db2/db2_exp.c | 11 ---- src/plugins/kdb/db2/kdb_db2.c | 23 +-------- src/plugins/kdb/db2/kdb_db2.h | 4 -- src/plugins/kdb/db2/kdb_xdr.c | 35 +------------- src/plugins/kdb/db2/lockout.c | 2 +- src/plugins/kdb/ldap/ldap_exp.c | 4 -- src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c | 13 +---- src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.h | 2 - src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c | 2 +- src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c | 17 +------ src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.h | 3 - .../kdb/ldap/libkdb_ldap/libkdb_ldap.exports | 4 -- src/plugins/kdb/ldap/libkdb_ldap/lockout.c | 2 +- src/plugins/kdb/test/kdb_test.c | 46 ----------------- 16 files changed, 52 insertions(+), 209 deletions(-)