]> git.ipfire.org Git - thirdparty/krb5.git/commit
Use blocking locks in krb5kdc and libkadm5srv
authorNicolas Williams <nico@cryptonector.com>
Wed, 12 Sep 2012 02:37:53 +0000 (21:37 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 12 Sep 2012 18:49:06 +0000 (14:49 -0400)
commitb858e776ece87756202d4c646931d35bd407e3ea
treeaa03eaca32bc796416c4a4542eb5caced1570b5a
parent9e182bcee06362de1dd0aa6a6bc71929c7543600
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.

ticket: 7359 (new)
src/plugins/kdb/db2/kdb_db2.c
src/plugins/kdb/db2/kdb_db2.h