KDC on Tru64 was hanging because of another case where Yarrow code
authorKen Raeburn <raeburn@mit.edu>
Tue, 23 Nov 2004 03:15:12 +0000 (03:15 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 23 Nov 2004 03:15:12 +0000 (03:15 +0000)
commit5e822947a9cc593baf2b8bcb69136f51607c7ef0
tree0522915ce780fcace9811f8bb2dbcdc7b8c1036c
parentdf475f98cae506587ff2bba79eeee4ce47c71b73
KDC on Tru64 was hanging because of another case where Yarrow code
assumes locks are recursive.  Probably didn't trigger on Linux,
Solaris, or NetBSD because they have /dev/random and Tru64 does not.

* yarrow.c (yarrow_input_maybe_locking): Renamed from
yarrow_input_maybe_locking, made static.  New argument indicates whether or not
to do locking.
(krb5int_yarrow_input): New wrapper function.
(yarrow_input_locked): New wrapper function.
(Yarrow_detect_fork): Call yarrow_input_locked.

ticket: 2755
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16903 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/yarrow/ChangeLog
src/lib/crypto/yarrow/yarrow.c