pkgsrc-wip/chromium/patches/patch-services_service__man...

14 lines
589 B
C++

$NetBSD$
--- services/service_manager/sandbox/switches.cc.orig 2020-07-15 18:56:47.000000000 +0000
+++ services/service_manager/sandbox/switches.cc
@@ -85,7 +85,7 @@ const char kGpuSandboxFailuresFatal[] =
// Meant to be used as a browser-level switch for testing purposes only.
const char kNoSandbox[] = "no-sandbox";
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || 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";