[krbdev.mit.edu #9110] git commit
"Greg Hudson via RT" <[email protected]> Wed, 17 Apr 2024 18:26:14 -0400
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
<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 <[email protected]> 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(-)