aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-04-18 13:16:39 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-04-18 13:16:39 +0100
commitafa0b44d06ddfca9e056d9603cf2b298abe816e2 (patch)
tree448fef0d984cb72581aae449f1a1d6707df6ff34
parent51015f14090d4d103954323435ea5710a204952d (diff)
downloadman-pages-afa0b44d06ddfca9e056d9603cf2b298abe816e2.tar.gz
mount.2: MS_MANDLOCK requires CAP_SYS_ADMIN (since Linux 4.5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/mount.25
1 files changed, 5 insertions, 0 deletions
diff --git a/man2/mount.2 b/man2/mount.2
index 25ef174312..aa6558a87c 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -195,6 +195,11 @@ Permit mandatory locking on files in this filesystem.
(Mandatory locking must still be enabled on a per-file basis,
as described in
.BR fcntl (2).)
+Since Linux 4.5,
+.\" commit 95ace75414f312f9a7b93d873f386987b92a5301
+this mount option requires the
+.B CAP_SYS_ADMIN
+capability.
.\" FIXME Describe the MS_MOVE flag in more detail
.TP
.B MS_MOVE