[krbdev.mit.edu #9121] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Apr 23 17:44:01 EDT 2024


Tue Apr 23 17:44:01 2024: Request 9121 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=9121 >



Don't flush libkrb5 context profiles

The profile library has two deconstructors, profile_release() and
profile_abandon().  profile_release() flushes in-memory changes to
backing files, while profile_abandon() does not.  If a krb5_context
profile contains in-memory changes, they were copied from a profile
supplied to krb5_init_context_profile(), and the caller can decide
whether to flush them.

As profile_copy() is now a public function, remove the include of
prof_int.h and the associated LOCALINCLUDES setting in Makefile.in.

https://github.com/krb5/krb5/commit/0a3acc20564e82ba33741248cf25ca4d085d777f
Author: Greg Hudson <ghudson at mit.edu>
Commit: 0a3acc20564e82ba33741248cf25ca4d085d777f
Branch: master
 .gitignore                    |  1 +
 src/lib/krb5/os/Makefile.in   | 16 ++++++---
 src/lib/krb5/os/deps          | 14 ++++++--
 src/lib/krb5/os/init_os_ctx.c |  5 ++-
 src/lib/krb5/os/t_ctxprf.c    | 79 +++++++++++++++++++++++++++++++++++++++++++
 src/lib/krb5/os/t_ctxprf.py   | 15 ++++++++
 6 files changed, 120 insertions(+), 10 deletions(-)



More information about the krb5-bugs mailing list