mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
14 lines
573 B
C++
14 lines
573 B
C++
--- sandbox/policy/features.cc.orig 2025-04-16 18:18:42 UTC
|
|
+++ sandbox/policy/features.cc
|
|
@@ -19,7 +19,11 @@ namespace sandbox::policy::features {
|
|
// (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.
|