[Fuchsia] Map VMOs with ZX_VM_REQUIRE_NON_RESIZABLE
It's not safe to map resizeable VMOs because they can be resized while being mapped and Zircon faults the thread that tries to access mapped memory outside of the VMO bounds. This CL adds ZX_VM_REQUIRE_NON_RESIZABLE to zx_vmar_map() calls, which ensures that mapped VMOs are always non-resizable. Change-Id: I5b40347400f839c2e4d879054d222950ba0d3d31 Reviewed-on: https://chromium-review.googlesource.com/c/1281051 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#599745}
Showing
Please register or sign in to comment