[krbdev.mit.edu #9120] git commit
"Greg Hudson via RT" <[email protected]> Sat, 20 Apr 2024 20:19:37 -0400
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9120 > Improve profile final flag support When parsing a file, ignore sections appearing after a final-flagged section of the same name. Adjust the meaning of group_level in the parser state so that it is 1 inside of top-level sections instead of 0, and simplify the addition of top-level sections to the tree by relying on profile_add_node()'s section merging. Make the final flag work for relations as well as sections. Check it while parsing via a new check_final parameter in profile_add_node(), and during iteration. Output final flags for relations in dump_profile(). Make the final flag available to it via a new output parameter in profile_find_node_relation(). https://github.com/krb5/krb5/commit/f951625e6bd3ff44f1056958b56e35a1a043e362 Author: Greg Hudson <[email protected]> Commit: f951625e6bd3ff44f1056958b56e35a1a043e362 Branch: master doc/admin/conf_files/krb5_conf.rst | 16 +++++--- src/util/profile/Makefile.in | 8 ++++ src/util/profile/final.expected | 18 ++++++++- src/util/profile/final2.ini | 4 +- src/util/profile/final6.ini | 45 ++++++++++++++++++++++ src/util/profile/prof_int.h | 4 +- src/util/profile/prof_parse.c | 78 ++++++++++++++++++++------------------ src/util/profile/prof_set.c | 4 +- src/util/profile/prof_tree.c | 19 ++++++++-- 9 files changed, 143 insertions(+), 53 deletions(-)