diff options
Diffstat (limited to 'devel/electron38/files/patch-components_gwp__asan_client_gwp__asan.cc')
-rw-r--r-- | devel/electron38/files/patch-components_gwp__asan_client_gwp__asan.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-components_gwp__asan_client_gwp__asan.cc b/devel/electron38/files/patch-components_gwp__asan_client_gwp__asan.cc new file mode 100644 index 000000000000..6c4146da0c37 --- /dev/null +++ b/devel/electron38/files/patch-components_gwp__asan_client_gwp__asan.cc @@ -0,0 +1,11 @@ +--- components/gwp_asan/client/gwp_asan.cc.orig 2025-08-26 20:49:50 UTC ++++ components/gwp_asan/client/gwp_asan.cc +@@ -81,7 +81,7 @@ namespace { + // ProcessSamplingBoost is the multiplier to increase the + // ProcessSamplingProbability in scenarios where we want to perform additional + // testing (e.g., on canary/dev builds). +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + constexpr int kDefaultMaxAllocations = 50; + constexpr int kDefaultMaxMetadata = 210; + constexpr int kDefaultTotalPages = kCpuIs64Bit ? 2048 : kDefaultMaxMetadata * 2; |