summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-sandbox_policy_switches.cc
blob: bb806787ae14b57f43ca87ff6e3aac85310b918e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- sandbox/policy/switches.cc.orig	2021-03-12 23:57:28 UTC
+++ sandbox/policy/switches.cc
@@ -82,7 +82,7 @@ const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-f
 // Meant to be used as a browser-level switch for testing purposes only.
 const char kNoSandbox[] = "no-sandbox";
 
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
 // Instructs the zygote to launch without a sandbox. Processes forked from this
 // type of zygote will apply their own custom sandboxes later.
 const char kNoZygoteSandbox[] = "no-zygote-sandbox";