• Sergey Ulanov's avatar
    [Fuchsia] Always call zx_vmo_replace_as_executable() in OS::Allocate() · 47210f48
    Sergey Ulanov authored
    OS::Allocate() previously was calling zx_vmo_replace_as_executable()
    when executable access is requested. This breaks the case when the
    OS::SetPermission() is called to mark that memory as executable later.
    Updated it to call zx_vmo_replace_as_executable() for all VMOs.
    
    This solution is not ideal, but it's consistent with other platforms,
    so it's acceptable short-term.
    
    Bug: v8:8899, chromium:934582
    Change-Id: Ifeb818c93d8b9c80e73a057f5e6f3ca5a7b1c23f
    Reviewed-on: https://chromium-review.googlesource.com/c/1483613Reviewed-by: 's avatarWez <wez@chromium.org>
    Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59880}
    47210f48
Name
Last commit
Last update
..
OWNERS Loading commit data...
condition-variable.cc Loading commit data...
condition-variable.h Loading commit data...
elapsed-timer.h Loading commit data...
mutex.cc Loading commit data...
mutex.h Loading commit data...
platform-aix.cc Loading commit data...
platform-cygwin.cc Loading commit data...
platform-freebsd.cc Loading commit data...
platform-fuchsia.cc Loading commit data...
platform-linux.cc Loading commit data...
platform-macos.cc Loading commit data...
platform-openbsd.cc Loading commit data...
platform-posix-time.cc Loading commit data...
platform-posix-time.h Loading commit data...
platform-posix.cc Loading commit data...
platform-posix.h Loading commit data...
platform-qnx.cc Loading commit data...
platform-solaris.cc Loading commit data...
platform-win32.cc Loading commit data...
platform.h Loading commit data...
semaphore.cc Loading commit data...
semaphore.h Loading commit data...
time.cc Loading commit data...
time.h Loading commit data...