[Fuchsia] Create only non-resizeable VMOs.
By default zx_vmo_create() creates VMOs that can be resized. This is potentially hazardous (process that tries to access mapped and resized VMO may crash) while we never need to resize VMOs in chromium. This change updates SharedMemoryFuchsia and PlatformSharedMemoryRegionFuchsia to pass ZX_VMO_NON_RESIZABLE to zx_vmo_create(). Change-Id: Idf48f3c21ad9b253da1c3a99ff79bcdebacccde4 Reviewed-on: https://chromium-review.googlesource.com/c/1275131Reviewed-by:Scott Graham <scottmg@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#598854}
Showing
Please register or sign in to comment