[krbdev.mit.edu #8990] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Mar 22 02:21:43 EDT 2021


Mon Mar 22 02:21:43 2021: Request 8990 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8990 >



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 at 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 at redhat.com>
Committer: Greg Hudson <ghudson at 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(-)



More information about the krb5-bugs mailing list