fuchsia: allocate vmo/vmar instead of mmap/mprotect to create guarded memory
Fuchsia doesn't (currently? uncertain) support mprotect(...NONE...). Work around this by using native apis to create a memory block and a virtual memory mapping, and then leaving a guard page unmapped at the end of the mapping. Bug: 706592 Change-Id: I5329cf9206e5aa8056edf0cfb50b8745b9d1c83e Reviewed-on: https://chromium-review.googlesource.com/545155 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by:Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#481742}
Showing
Please register or sign in to comment