Skip to contentSkip to conversation

fcntl.2: note that mandatory locking is fully deprecated as of v5.15

PATCH Superseded Jeff Layton 2 participants 2 messages Oct 1, 2021 – Oct 2, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fcntl.2: note that mandatory locking is fully deprecated as of v5.15

---
 man2/fcntl.2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man2/fcntl.2 +2 -2
index 7b5604e3a699..90e4c4a9f379 100644
@@ -619,8 +619,8 @@ 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.
+.RB ( CONFIG_MANDATORY_FILE_LOCKING ). This feature is no longer
+supported at all in Linux 5.15 and above.
 .PP
 By default, both traditional (process-associated) and open file description
 record locks are advisory.
Signature · 1 line
2.31.1
#1 lore raw
Quoted 11 lines · Jeff Layton
---
  man2/fcntl.2 | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
man2/fcntl.2 +0 -0
index 7b5604e3a699..90e4c4a9f379 100644

man2/fcntl.2 Because of these bugs, · line 623

Quoted 7 lines
man2/fcntl.2 +2 -2
@@ -619,8 +619,8 @@ 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.
+.RB ( CONFIG_MANDATORY_FILE_LOCKING ). This feature is no longer
+supported at all in Linux 5.15 and above.

The same applies here. Please use a newline after '.', as the previous text did.

Thanks,

Alex

Quoted 4 lines
man2/fcntl.2 +0 -0
  .PP
  By default, both traditional (process-associated) and open file description
  record locks are advisory.
Signature · 3 lines
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/