[Bug 232878] File sealing
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 1 19:53:18 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232878
--- Comment #3 from contact at emersion.fr ---
Some more information on the flag from Mark Kettenis:
> The flag is called __MAP_NOFAULT. It is somewhat deliberately
> undocumented as we didn't want to encourage people too much to use it.
>
> The flag gets translated into UVM_ET_NOFAULT in OpenBSD's vm
> subsystem. The idea is that if the pages backing the mapping are not
> available (i.e. if a file got truncated) it will be replaced with
> anonymous zero-filled memory. In other words, if the mapped data for
> a specific memory page isn't available it would behave as if the page
> was mapped with the MAP_ANON flag.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list