diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-sandbox_policy_switches_cc')
| -rw-r--r-- | www/chromium-uc/patches/patch-sandbox_policy_switches_cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-sandbox_policy_switches_cc b/www/chromium-uc/patches/patch-sandbox_policy_switches_cc new file mode 100644 index 0000000..9ae8c50 --- /dev/null +++ b/www/chromium-uc/patches/patch-sandbox_policy_switches_cc | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | $OpenBSD: patch-sandbox_policy_switches_cc,v 1.8 2021/11/16 11:28:47 robert Exp $ | ||
| 2 | |||
| 3 | Index: sandbox/policy/switches.cc | ||
| 4 | --- sandbox/policy/switches.cc.orig | ||
| 5 | +++ sandbox/policy/switches.cc | ||
| 6 | @@ -92,7 +92,9 @@ const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-f | ||
| 7 | // Meant to be used as a browser-level switch for testing purposes only. | ||
| 8 | const char kNoSandbox[] = "no-sandbox"; | ||
| 9 | |||
| 10 | -#if defined(OS_LINUX) || defined(OS_CHROMEOS) | ||
| 11 | +const char kDisableUnveil[] = "disable-unveil"; | ||
| 12 | + | ||
| 13 | +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | ||
| 14 | // Instructs the zygote to launch without a sandbox. Processes forked from this | ||
| 15 | // type of zygote will apply their own custom sandboxes later. | ||
| 16 | const char kNoZygoteSandbox[] = "no-zygote-sandbox"; | ||
