From: | ghudson@mit.edu |
Subject: | git commit |
Add KCM_OP_GET_CRED_LIST for faster iteration
For large caches, one IPC operation per credential dominates the cost
of iteration. Instead transfer the whole list of credentials to the
client in one IPC operation.
Add optional support for the new opcode to the test KCM server to
allow testing of the main and fallback code paths.
[ghudson@mit.edu: fixed memory leaks and potential memory errors;
adjusted code style and comments; rewrote commit message; added
kcmserver.py support and tests]
https://github.com/krb5/krb5/commit/81bdb47d8ded390263d8ee48f71d5c312b4f1736
Author: Pavel Březina <pbrezina@redhat.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 81bdb47d8ded390263d8ee48f71d5c312b4f1736
Branch: master
src/include/kcm.h | 12 +++-
src/lib/krb5/ccache/cc_kcm.c | 144 ++++++++++++++++++++++++++++++++++++++---
src/tests/kcmserver.py | 28 +++++++-
src/tests/t_ccache.py | 10 +++-
4 files changed, 175 insertions(+), 19 deletions(-)