]> git.ipfire.org Git - thirdparty/krb5.git/commit
Work around glibc OFD lock bug on 32-bit Linux 512/head
authorGreg Hudson <ghudson@mit.edu>
Sun, 14 Aug 2016 16:08:16 +0000 (12:08 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 15 Aug 2016 15:26:25 +0000 (11:26 -0400)
commit65110210b75d38908cdd84cb202cf013ccf6ed0e
tree8c7dd80d9cb656894df8452b6ca43d1a083ad4d1
parent3e319b1f93f75a3bab86425221f2bcbf5603f3f9
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

ticket: 8474
target_version: 1.14-next
tags: pullup
src/lib/krb5/os/lock_file.c