summaryrefslogtreecommitdiff
path: root/devel/electron35/files/patch-sandbox_policy_switches.cc
blob: 7c624bdb88737d8bce1b279d69e094f85e34a73c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- sandbox/policy/switches.cc.orig	2025-03-24 20:50:14 UTC
+++ sandbox/policy/switches.cc
@@ -38,7 +38,9 @@ const char kNoSandbox[] = "no-sandbox";
 // Meant to be used as a browser-level switch for testing purposes only.
 const char kNoSandbox[] = "no-sandbox";
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+const char kDisableUnveil[] = "disable-unveil";
+
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_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";