diff options
Diffstat (limited to 'devel/electron39/files/patch-sandbox_policy_features.cc')
| -rw-r--r-- | devel/electron39/files/patch-sandbox_policy_features.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-sandbox_policy_features.cc b/devel/electron39/files/patch-sandbox_policy_features.cc new file mode 100644 index 000000000000..3f7363b0a322 --- /dev/null +++ b/devel/electron39/files/patch-sandbox_policy_features.cc @@ -0,0 +1,14 @@ +--- sandbox/policy/features.cc.orig 2025-10-21 20:19:54 UTC ++++ sandbox/policy/features.cc +@@ -17,7 +17,11 @@ namespace sandbox::policy::features { + #if !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_FUCHSIA) + // Enables network service sandbox. + // (Only causes an effect when feature kNetworkServiceInProcess is disabled.) ++#if BUILDFLAG(IS_BSD) ++BASE_FEATURE(kNetworkServiceSandbox, base::FEATURE_ENABLED_BY_DEFAULT); ++#else + BASE_FEATURE(kNetworkServiceSandbox, base::FEATURE_DISABLED_BY_DEFAULT); ++#endif + + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) + // Enables a fine-grained seccomp-BPF syscall filter for the network service. |
