aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-04-18 13:30:57 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-04-18 13:31:17 +0100
commite1124af0ba947c59555cc23a3d726a375577df9a (patch)
treee2ab82a5ff29bbfbfda9b5f3c863837d22acf43a
parentafa0b44d06ddfca9e056d9603cf2b298abe816e2 (diff)
downloadman-pages-e1124af0ba947c59555cc23a3d726a375577df9a.tar.gz
fcntl.2: Note that mandatory locking is now governed by a configuration option
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/fcntl.26
1 files changed, 6 insertions, 0 deletions
diff --git a/man2/fcntl.2 b/man2/fcntl.2
index 675ded7686..fe750a017b 100644
--- a/man2/fcntl.2
+++ b/man2/fcntl.2
@@ -607,6 +607,12 @@ for which the kernel does perform deadlock detection.)
.IR Warning :
the Linux implementation of mandatory locking is unreliable.
See BUGS below.
+Because of these bugs,
+and the fact that the feature is believed to be little used,
+since Linux 4.5, mandatory locking has been made an optional feature,
+governed by a configuration option
+.RB ( CONFIG_MANDATORY_FILE_LOCKING ).
+This is an initial step toward removing this feature completely.
By default, both traditional (process-associated) and open file description
record locks are advisory.