diff options
author | Greg Hudson <ghudson@mit.edu> | 2014-02-12 19:13:43 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2014-02-20 15:55:48 -0500 |
commit | 444ef5fe9ec8d64a5db27b3a8aaf6813dd7ef0e0 (patch) | |
tree | 2aa702a46a9ac7414a5e272b7cf6e73bf7f8c8bd /src/include/krb5/kdcpreauth_plugin.h | |
parent | dba768e873d3ae34cfb2ff9d9c2d3644981f23a5 (diff) | |
download | krb5-444ef5fe9ec8d64a5db27b3a8aaf6813dd7ef0e0.tar.gz krb5-444ef5fe9ec8d64a5db27b3a8aaf6813dd7ef0e0.tar.xz krb5-444ef5fe9ec8d64a5db27b3a8aaf6813dd7ef0e0.zip |
Simplify iprop update locking and avoid deadlock
Since we are no longer treating the update log like a journal (#7552),
we don't need two-stage update logging. In kdb5.c, add an update log
entry after each DB change in one step, without getting an explicit
lock. In kdb_log.c, combine ulog_add_update with ulog_finish_update,
and make ulog_add_update lock the ulog internally.
This change avoids deadlock by removing the only cases where the ulog
is locked before the DB.
ticket: 7861
Diffstat (limited to 'src/include/krb5/kdcpreauth_plugin.h')
0 files changed, 0 insertions, 0 deletions