mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://www.electronjs.org/
23 lines
1.1 KiB
C++
23 lines
1.1 KiB
C++
--- sandbox/policy/features.cc.orig 2024-10-16 21:31:37 UTC
|
|
+++ sandbox/policy/features.cc
|
|
@@ -20,7 +20,11 @@ BASE_FEATURE(kNetworkServiceSandbox,
|
|
// (Only causes an effect when feature kNetworkServiceInProcess is disabled.)
|
|
BASE_FEATURE(kNetworkServiceSandbox,
|
|
"NetworkServiceSandbox",
|
|
+#if BUILDFLAG(IS_BSD)
|
|
+ base::FEATURE_ENABLED_BY_DEFAULT);
|
|
+#else
|
|
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.
|
|
@@ -134,7 +138,7 @@ BASE_FEATURE(kSpectreVariant2Mitigation,
|
|
base::FEATURE_ENABLED_BY_DEFAULT);
|
|
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// Enabling the kNetworkServiceSandbox feature automatically enables Spectre
|
|
// variant 2 mitigations in the network service. This can lead to performance
|
|
// regressions, so enabling this feature will turn off the Spectre Variant 2
|