diff options
Diffstat (limited to 'www/chromium/files/patch-v8_include_v8-internal.h')
-rw-r--r-- | www/chromium/files/patch-v8_include_v8-internal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-v8_include_v8-internal.h b/www/chromium/files/patch-v8_include_v8-internal.h new file mode 100644 index 000000000000..4830264c3c14 --- /dev/null +++ b/www/chromium/files/patch-v8_include_v8-internal.h @@ -0,0 +1,11 @@ +--- v8/include/v8-internal.h.orig 2022-09-24 10:57:32 UTC ++++ v8/include/v8-internal.h +@@ -179,7 +179,7 @@ using SandboxedPointer_t = Address; + #ifdef V8_ENABLE_SANDBOX + + // Size of the sandbox, excluding the guard regions surrounding it. +-#ifdef V8_TARGET_OS_ANDROID ++#if defined(V8_TARGET_OS_ANDROID) || defined(V8_TARGET_OS_OPENBSD) + // On Android, most 64-bit devices seem to be configured with only 39 bits of + // virtual address space for userspace. As such, limit the sandbox to 128GB (a + // quarter of the total available address space). |