[16932] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9110] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Wed Apr 17 18:26:23 2024

From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-2316717-1713392774-485.9110-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9110":;
Date: Wed, 17 Apr 2024 18:26:14 -0400
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9110 >


Allow modifications of empty profiles

Add the notion of a memory-only prf_data_t object, indicated by an
empty filespec field and appropriate flags (do not reload, always
dirty, not part of shared trees).  Do nothing when flushing a
memory-only data object to its backing file.  When setting up an empty
profile for read/write access, create a memory-only data object
instead of crashing.

Move prf_data_t mutex initialization into profile_make_prf_data(),
simplifying its callers.

https://github.com/krb5/krb5/commit/fc54edd1dc047aedb211beaa544c5e000fbdb7a6
Author: Greg Hudson <ghudson@mit.edu>
Commit: fc54edd1dc047aedb211beaa544c5e000fbdb7a6
Branch: master
 src/util/profile/prof_file.c | 46 +++++++++++++++++++++++++++++++++++++-------
 src/util/profile/prof_int.h  |  2 ++
 src/util/profile/prof_set.c  | 33 ++++++++++++++-----------------
 src/util/profile/t_profile.c | 28 +++++++++++++++++++++++++++
 4 files changed, 83 insertions(+), 26 deletions(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post