summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-v8_src_sandbox_sandbox.cc
blob: a280d073c0d37365b76f98d6a498c05331777a75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- v8/src/sandbox/sandbox.cc.orig	2022-09-24 10:57:32 UTC
+++ v8/src/sandbox/sandbox.cc
@@ -49,7 +49,7 @@ static Address DetermineAddressSpaceLimit() {
   }
 #endif  // V8_TARGET_ARCH_X64
 
-#if defined(V8_TARGET_ARCH_ARM64) && defined(V8_TARGET_OS_ANDROID)
+#if defined(V8_TARGET_ARCH_ARM64) && (defined(V8_TARGET_OS_ANDROID) || defined(V8_TARGET_OS_OPENBSD))
   // On Arm64 Android assume a 40-bit virtual address space (39 bits for
   // userspace and kernel each) as that appears to be the most common
   // configuration and there seems to be no easy way to retrieve the actual