mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
13 lines
654 B
C++
13 lines
654 B
C++
--- sandbox/policy/switches.cc.orig 2025-04-04 08:52:13 UTC
|
|
+++ sandbox/policy/switches.cc
|
|
@@ -37,7 +37,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";
|