mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 12:29:16 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
11 lines
584 B
C++
11 lines
584 B
C++
--- v8/src/sandbox/sandbox.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ v8/src/sandbox/sandbox.cc
|
|
@@ -46,7 +46,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
|