$NetBSD: patch-sandbox_policy_switches.cc,v 1.7 2025/09/12 16:02:33 kikadf Exp $ * Part of patchset to build chromium on NetBSD * Based on OpenBSD's chromium patches, and pkgsrc's qt5-qtwebengine patches --- sandbox/policy/switches.cc.orig 2025-09-08 23:21:33.000000000 +0000 +++ sandbox/policy/switches.cc @@ -40,7 +40,9 @@ const char kGpuSandboxFailuresFatal[] = // 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";