memfd_create.2: Minor tweaks's 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:36:26 +01:00
parent fc6a14f557
commit e15b10ba32
1 changed files with 3 additions and 3 deletions

View File

@ -283,13 +283,13 @@ then it will be necessary to first unmap the shared writable mapping
created in the previous step.
Otherwise, behavior similar to
.BR F_SEAL_WRITE
can be achieved, by using
.BR F_SEAL_FUTURE_WRITE
can be achieved by using
.BR F_SEAL_FUTURE_WRITE ,
which will prevent future writes via
.BR mmap (2)
and
.BR write (2)
from succeeding, while keeping existing shared writable mappings).
from succeeding while keeping existing shared writable mappings).
.IP 4.
A second process obtains a file descriptor for the
.BR tmpfs (5)