fcntl.2: Make the warning that mandatory locks are unreliable more prominent

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-30 12:21:45 +02:00
parent 6799ba26c9
commit f5cdb4b0fc
1 changed files with 4 additions and 3 deletions

View File

@ -553,6 +553,10 @@ as described above for
.BR F_GETLK . .BR F_GETLK .
.SS Mandatory locking .SS Mandatory locking
(Non-POSIX.) (Non-POSIX.)
.IR Warning :
the Linux implementation of mandatory locking is unreliable.
See BUGS below.
By default, both traditional (process-associated) and open file description By default, both traditional (process-associated) and open file description
record locks are advisory. record locks are advisory.
Advisory locks are not enforced and are useful only between Advisory locks are not enforced and are useful only between
@ -594,9 +598,6 @@ permission bit (see
.BR chmod (1) .BR chmod (1)
and and
.BR chmod (2)). .BR chmod (2)).
The Linux implementation of mandatory locking is unreliable.
See BUGS below.
.SS Managing signals .SS Managing signals
.BR F_GETOWN , .BR F_GETOWN ,
.BR F_SETOWN , .BR F_SETOWN ,