fcntl.2: Note that mandatory locking is now governed by a configuration option

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-04-18 13:30:57 +01:00
parent afa0b44d06
commit e1124af0ba
1 changed files with 6 additions and 0 deletions

View File

@ -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.