fcntl.2: Minor tweaks to Joel Fernandes's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-02-08 12:32:08 +01:00
parent 9341a793d0
commit e9a2c239b3
1 changed files with 3 additions and 3 deletions

View File

@ -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 .