add new F_OFD_* macros to fcntl.h (open file description locks)
commit976bb28fa0f5b6d82055502c27444ac5c9bf34ed
authorSzabolcs Nagy <nsz@port70.net>
Mon, 8 Sep 2014 13:26:40 +0000 (8 15:26 +0200)
committerSzabolcs Nagy <nsz@port70.net>
Mon, 8 Sep 2014 13:35:26 +0000 (8 15:35 +0200)
tree223528fa4c956ceeca5390dff945178b9d75f280
parent23614b0fcb4cd4d7b2e4148d3b1887b642169765
add new F_OFD_* macros to fcntl.h (open file description locks)

open file description locks are inherited across fork and only auto
dropped after the last fd of the file description is closed, they can be
used to synchronize between threads that open separate file descriptions
for the same file.

new in linux 3.15 commit 0d3f7a2dd2f5cf9642982515e020c1aee2cf7af6
include/fcntl.h