[krbdev.mit.edu #8474] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Sep 2 17:04:31 EDT 2016


Work around glibc OFD lock bug on 32-bit Linux

A bug in Gnu libc causes OFD locking to fail unpredictably on 32-bit
Linux, typically leading to deadlocks.  Work around this bug by using
the fcntl64 system call and struct flock64.

See also: https://sourceware.org/bugzilla/show_bug.cgi?id=20251

(cherry picked from commit 65110210b75d38908cdd84cb202cf013ccf6ed0e)

https://github.com/krb5/krb5/commit/33bed1ed3fd86f3d2c03bc3063b0023a82fa8041
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 33bed1ed3fd86f3d2c03bc3063b0023a82fa8041
Branch: krb5-1.14
 src/lib/krb5/os/lock_file.c |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list