summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-v8_include_v8-internal.h
blob: a835631b3f4d8608ed48dd1c49320347a1ba3359 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- v8/include/v8-internal.h.orig	2023-12-23 12:33:28 UTC
+++ v8/include/v8-internal.h
@@ -175,7 +175,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).