aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan.cc
blob: 27613fd82fc5faa432cc1bd8c9c9d88ffabc5340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/gwp_asan/client/gwp_asan.cc.orig	2024-04-23 07:42:17 UTC
+++ components/gwp_asan/client/gwp_asan.cc
@@ -72,7 +72,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;