summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-sandbox_policy_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-sandbox_policy_switches.cc')
-rw-r--r--www/chromium/files/patch-sandbox_policy_switches.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/chromium/files/patch-sandbox_policy_switches.cc b/www/chromium/files/patch-sandbox_policy_switches.cc
index 4c98bdb90be3..8bcc33d0a596 100644
--- a/www/chromium/files/patch-sandbox_policy_switches.cc
+++ b/www/chromium/files/patch-sandbox_policy_switches.cc
@@ -1,13 +1,13 @@
---- sandbox/policy/switches.cc.orig 2022-02-07 13:39:41 UTC
+--- sandbox/policy/switches.cc.orig 2022-02-28 16:54:41 UTC
+++ sandbox/policy/switches.cc
-@@ -94,7 +94,9 @@ const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-f
+@@ -95,7 +95,9 @@ 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 BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+const char kDisableUnveil[] = "disable-unveil";
+
-+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
++#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";