diff options
author | Greg Hudson <ghudson@mit.edu> | 2024-04-03 14:20:53 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2024-04-23 16:44:10 -0400 |
commit | 0a3acc20564e82ba33741248cf25ca4d085d777f (patch) | |
tree | 4630a0cfcb46993e0b2b6a5a39492ee75b857c2a /src/lib/krb5/os/Makefile.in | |
parent | 078721b1f4a8fb995e0d5346ecf36adffd0a4f99 (diff) | |
download | krb5-0a3acc20564e82ba33741248cf25ca4d085d777f.zip krb5-0a3acc20564e82ba33741248cf25ca4d085d777f.tar.gz krb5-0a3acc20564e82ba33741248cf25ca4d085d777f.tar.bz2 |
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.
ticket: 9121 (new)
Diffstat (limited to 'src/lib/krb5/os/Makefile.in')
-rw-r--r-- | src/lib/krb5/os/Makefile.in | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lib/krb5/os/Makefile.in b/src/lib/krb5/os/Makefile.in index f523a5a..e84b5b7 100644 --- a/src/lib/krb5/os/Makefile.in +++ b/src/lib/krb5/os/Makefile.in @@ -2,7 +2,6 @@ mydir=lib$(S)krb5$(S)os BUILDTOP=$(REL)..$(S)..$(S).. DEFINES=-DLIBDIR=\"$(KRB5_LIBDIR)\" -DBINDIR=\"$(CLIENT_BINDIR)\" \ -DSBINDIR=\"$(ADMIN_BINDIR)\" -LOCALINCLUDES= -I$(top_srcdir)/util/profile # Like RUN_TEST, but use td_krb5.conf from this directory. RUN_TEST_LOCAL_CONF=$(RUN_SETUP) KRB5_CONFIG=$(srcdir)/td_krb5.conf LC_ALL=C \ @@ -154,7 +153,8 @@ SRCS= \ $(srcdir)/write_msg.c EXTRADEPSRCS = \ - t_expand_path.c t_gifconf.c t_locate_kdc.c t_std_conf.c t_trace.c + t_ctxprf.c t_expand_path.c t_gifconf.c t_locate_kdc.c t_std_conf.c \ + t_trace.c ##DOS##LIBOBJS = $(OBJS) @@ -164,7 +164,7 @@ clean-unix:: clean-libobjs shared: mkdir shared -TEST_PROGS= t_std_conf t_locate_kdc t_trace t_expand_path +TEST_PROGS= t_std_conf t_locate_kdc t_trace t_expand_path t_ctxprf T_STD_CONF_OBJS= t_std_conf.o @@ -190,6 +190,9 @@ t_trace: $(T_TRACE_OBJS) $(KRB5_BASE_DEPLIBS) t_expand_path: t_expand_path.o $(KRB5_BASE_DEPLIBS) $(CC_LINK) -o $@ t_expand_path.o $(KRB5_BASE_LIBS) +t_ctxprf: t_ctxprf.o $(KRB5_BASE_DEPLIBS) + $(CC_LINK) -o $@ t_ctxprf.o $(KRB5_BASE_LIBS) + LCLINT=lclint LCLINTOPTS= -warnposix \ -usedef +charintliteral +ignoresigns -predboolint +boolint \ @@ -200,7 +203,7 @@ lclint-localaddr: localaddr.c -DTEST $(srcdir)/localaddr.c check-unix: check-unix-stdconf check-unix-locate check-unix-trace \ - check-unix-expand check-unix-uri + check-unix-expand check-unix-uri check-unix-ctxprf check-unix-stdconf: t_std_conf $(RUN_TEST_LOCAL_CONF) ./t_std_conf -d -s NEW.DEFAULT.REALM -d \ @@ -259,9 +262,12 @@ check-unix-expand: t_expand_path 'the %{animal}%{s} on the %{place}%{s}' \ 'the frogs on the pads' +check-unix-ctxprf: t_ctxprf + $(RUNPYTEST) $(srcdir)/t_ctxprf.py $(PYTESTFLAGS) + clean: $(RM) $(TEST_PROGS) test.out t_std_conf.o t_locate_kdc.o t_trace.o - $(RM) t_expand_path.o + $(RM) t_expand_path.o t_ctxprf.o @libobj_frag@ |