fcntl.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-02-08 12:09:56 +01:00
parent 7b7d3b200a
commit e38bb9196d
1 changed files with 2 additions and 2 deletions

View File

@ -1532,11 +1532,11 @@ existing writeable mappings that were created prior to the seal being set.
Any attempt to create a new writeable mapping on the memfd via
.BR mmap (2)
will fail with
.BR EPERM.
.BR EPERM .
Also any attempts to write to the memfd via
.BR write (2)
will fail with
.BR EPERM.
.BR EPERM .
This is useful in situations where existing writable mapped regions need to be
kept intact while preventing any future writes. For example, to share a
read-only memory buffer to other processes that only the sender can write to.