mirror of https://github.com/mkerrisk/man-pages
fcntl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7b7d3b200a
commit
e38bb9196d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue