diff options
Diffstat (limited to 'www/iridium/files/patch-sandbox_policy_switches.cc')
-rw-r--r-- | www/iridium/files/patch-sandbox_policy_switches.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/iridium/files/patch-sandbox_policy_switches.cc b/www/iridium/files/patch-sandbox_policy_switches.cc new file mode 100644 index 000000000000..3df244b702f1 --- /dev/null +++ b/www/iridium/files/patch-sandbox_policy_switches.cc @@ -0,0 +1,13 @@ +--- sandbox/policy/switches.cc.orig 2022-03-28 18:11:04 UTC ++++ sandbox/policy/switches.cc +@@ -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 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"; |