ports/www/ungoogled-chromium/patches/patch-v8_include_v8-internal_h

13 lines
563 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: v8/include/v8-internal.h
--- v8/include/v8-internal.h.orig
+++ v8/include/v8-internal.h
2024-05-20 13:42:05 +00:00
@@ -175,7 +175,7 @@ using SandboxedPointer_t = Address;
2023-08-16 22:26:55 +00:00
#ifdef V8_ENABLE_SANDBOX
// Size of the sandbox, excluding the guard regions surrounding it.
2024-05-20 13:42:05 +00:00
-#if defined(V8_TARGET_OS_ANDROID)
+#if (defined(V8_TARGET_OS_ANDROID) || defined(V8_TARGET_OS_OPENBSD))
2023-08-16 22:26:55 +00:00
// 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).