From e9a2c239b3fad39ca6f0d33405142402665901ad Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 8 Feb 2020 12:32:08 +0100 Subject: [PATCH] fcntl.2: Minor tweaks to Joel Fernandes's patch Signed-off-by: Michael Kerrisk --- man2/fcntl.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/fcntl.2 b/man2/fcntl.2 index fc17e0338..96dd757b7 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -1528,12 +1528,12 @@ all outstanding writes will be discarded. .TP .BR F_SEAL_FUTURE_WRITE If this seal is set, the contents of the file can be modified only from -existing writeable mappings that were created prior to the seal being set. -Any attempt to create a new writeable mapping on the memfd via +existing writable mappings that were created prior to the seal being set. +Any attempt to create a new writable mapping on the file via .BR mmap (2) will fail with .BR EPERM . -Also any attempts to write to the memfd via +Likewise, an attempt to write to the file via .BR write (2) will fail with .BR EPERM .