summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-sandbox_policy_features.cc
blob: 256b92a6232b0b3507643c02b89cc3a2cb5bb23c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- sandbox/policy/features.cc.orig	2022-04-21 18:48:31 UTC
+++ sandbox/policy/features.cc
@@ -14,7 +14,11 @@ namespace sandbox::policy::features {
 // Enables network service sandbox.
 // (Only causes an effect when feature kNetworkService is enabled.)
 const base::Feature kNetworkServiceSandbox{"NetworkServiceSandbox",
+#if BUILDFLAG(IS_BSD)
+                                           base::FEATURE_ENABLED_BY_DEFAULT};
+#else
                                            base::FEATURE_DISABLED_BY_DEFAULT};
+#endif
 #endif  // !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_FUCHSIA)
 
 #if BUILDFLAG(IS_WIN)