mirror of https://github.com/mkerrisk/man-pages
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:
parent
fc6a14f557
commit
e15b10ba32
|
@ -283,13 +283,13 @@ then it will be necessary to first unmap the shared writable mapping
|
||||||
created in the previous step.
|
created in the previous step.
|
||||||
Otherwise, behavior similar to
|
Otherwise, behavior similar to
|
||||||
.BR F_SEAL_WRITE
|
.BR F_SEAL_WRITE
|
||||||
can be achieved, by using
|
can be achieved by using
|
||||||
.BR F_SEAL_FUTURE_WRITE
|
.BR F_SEAL_FUTURE_WRITE ,
|
||||||
which will prevent future writes via
|
which will prevent future writes via
|
||||||
.BR mmap (2)
|
.BR mmap (2)
|
||||||
and
|
and
|
||||||
.BR write (2)
|
.BR write (2)
|
||||||
from succeeding, while keeping existing shared writable mappings).
|
from succeeding while keeping existing shared writable mappings).
|
||||||
.IP 4.
|
.IP 4.
|
||||||
A second process obtains a file descriptor for the
|
A second process obtains a file descriptor for the
|
||||||
.BR tmpfs (5)
|
.BR tmpfs (5)
|
||||||
|
|
Loading…
Reference in New Issue