mount.2: Mandatory locking also now requires CONFIG_MANDATORY_FILE_LOCKING

This is so since Linux 4.5. See the definition of may_mandlock()
in fs/namespace.c.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-08-20 12:57:42 +02:00
parent 054ea65ed8
commit 41976bc5f3
1 changed files with 3 additions and 1 deletions

View File

@ -190,7 +190,9 @@ Since Linux 4.5,
.\" commit 95ace75414f312f9a7b93d873f386987b92a5301
this mount option requires the
.B CAP_SYS_ADMIN
capability.
capability and a kernel configured with the
.B CONFIG_MANDATORY_FILE_LOCKING
option.
.TP
.B MS_NOATIME
Do not update access times for (all types of) files on this filesystem.