]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxclock: use thread-safe *_OFD_* fcntl() locks
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 30 Mar 2018 04:54:40 +0000 (06:54 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 23 Aug 2018 20:51:28 +0000 (22:51 +0200)
commitb41008b4f4d597706e7af2b4c73601ea8a144b60
treed2078ec906e0238f739b14e3c2c1d91980f19294
parent2efc4ab7d1f94a7a43a407ba322738fe41ffa513
lxclock: use thread-safe *_OFD_* fcntl() locks

If they aren't available fallback to BSD flock()s.

Closes #2245.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/lxclock.c
src/lxc/lxclock.h