[krbdev.mit.edu #7359] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Sep 12 15:03:32 EDT 2012


Use blocking locks in krb5kdc and libkadm5srv

We don't really need or want to use non-blocking locks, and we certainly
don't want to sleep(1) in krb5kdc (possibly several times, as there was
a loop over this) when either of the principal or policy DB is locked.
Some callers still request non-blocking locks, and ctx_lock() still
honors this.

https://github.com/krb5/krb5/commit/b858e776ece87756202d4c646931d35bd407e3ea
Author: Nicolas Williams <nico at cryptonector.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: b858e776ece87756202d4c646931d35bd407e3ea
Branch: master
 src/plugins/kdb/db2/kdb_db2.c |   52 +++++++++++++++--------------------------
 src/plugins/kdb/db2/kdb_db2.h |    2 -
 2 files changed, 19 insertions(+), 35 deletions(-)



More information about the krb5-bugs mailing list