diff options
author | Greg Hudson <ghudson@mit.edu> | 2014-01-23 11:34:52 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2014-02-20 15:55:49 -0500 |
commit | 71d028f1054deb186807e7c8048218b82b478422 (patch) | |
tree | 72ab9b66b33ee7696f6662fccc50f2888ceadfbd /src/clients/kinit/Makefile.in | |
parent | d1f9aa3737b2b3e62b5c5ed488d6112b7ce8a5ad (diff) | |
download | krb5-71d028f1054deb186807e7c8048218b82b478422.tar.gz krb5-71d028f1054deb186807e7c8048218b82b478422.tar.xz krb5-71d028f1054deb186807e7c8048218b82b478422.zip |
Lock around more ulog operations
Always lock the ulog when accessing it. We can currently get away
with some laxness on iprop slaves because they are mostly synchronous,
but hierarchical iprop will allow master and slave operations to take
place concurrently, requiring more strict locking.
Add new functions ulog_get_last and ulog_set_last, which access the
ulog header with locking, and use them in kdb5_util and kpropd. Add
locking to ulog_replay and ulog_init_header.
ulog_lock and ulog_sync_header are no longer used outside of kdb_log.c
after these changes, so make them static functions and remove the
ulog_ prefix. Add an unlock_ulog function for clarity.
Diffstat (limited to 'src/clients/kinit/Makefile.in')
0 files changed, 0 insertions, 0 deletions