summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-sandbox_policy_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-sandbox_policy_switches.cc')
-rw-r--r--devel/electron13/files/patch-sandbox_policy_switches.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-sandbox_policy_switches.cc b/devel/electron13/files/patch-sandbox_policy_switches.cc
new file mode 100644
index 000000000000..2cab87894963
--- /dev/null
+++ b/devel/electron13/files/patch-sandbox_policy_switches.cc
@@ -0,0 +1,11 @@
+--- sandbox/policy/switches.cc.orig 2021-07-15 19:13:43 UTC
++++ sandbox/policy/switches.cc
+@@ -83,7 +83,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";