Add krb5_storage_fsync().
commitdf42274d961308586ccef3abd261cceefd45c6fd
authorRoland C. Dowdeswell <elric@imrryr.org>
Mon, 28 May 2012 12:14:55 +0000 (28 13:14 +0100)
committerRoland C. Dowdeswell <elric@imrryr.org>
Mon, 28 May 2012 12:14:55 +0000 (28 13:14 +0100)
tree91e5c6966bef7e9d39ede482d8537a4e69d46a7f
parent8dc7c43a8b1f255cdb2317b81a00965696abb8d3
Add krb5_storage_fsync().

We add a function to cause krb5_storage's to be sync'd to their backing
store.  For memory backed storages, this is a NOP.  For files, it calls
fsync on the file descriptor.
lib/krb5/store-int.h
lib/krb5/store.c
lib/krb5/store_emem.c
lib/krb5/store_fd.c
lib/krb5/store_mem.c
lib/krb5/version-script.map