summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-sandbox_policy_features.cc
blob: a19b5c10a58e1fe18a61b033f71885daecfed7e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- sandbox/policy/features.cc.orig	2022-02-28 16:54:41 UTC
+++ sandbox/policy/features.cc
@@ -16,7 +16,11 @@ namespace 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)