[krbdev.mit.edu #8023] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Dec 15 15:27:26 EST 2014


Use OFD locks where available

Linux 3.15 has added OFD locks, which contend with POSIX file locks
but are owned by the open file description instead of the process.
Use these in krb5_lock_file where available, for safer concurrency
behavior.

https://github.com/krb5/krb5/commit/0008014a748310e38b3e4d69e3227af935e86cf7
Author: Greg Hudson <ghudson at mit.edu>
Commit: 0008014a748310e38b3e4d69e3227af935e86cf7
Branch: master
 src/lib/krb5/os/lock_file.c |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list