blob: 6cdde79e89fccbe9762b0b12a9e701719eeb942c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$OpenBSD: patch-sandbox_policy_switches_h,v 1.8 2021/11/16 11:28:47 robert Exp $
Index: sandbox/policy/switches.h
--- sandbox/policy/switches.h.orig
+++ sandbox/policy/switches.h
@@ -68,7 +68,8 @@ SANDBOX_POLICY_EXPORT extern const char kDisableSetuid
SANDBOX_POLICY_EXPORT extern const char kGpuSandboxAllowSysVShm[];
SANDBOX_POLICY_EXPORT extern const char kGpuSandboxFailuresFatal[];
SANDBOX_POLICY_EXPORT extern const char kNoSandbox[];
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+SANDBOX_POLICY_EXPORT extern const char kDisableUnveil[];
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
SANDBOX_POLICY_EXPORT extern const char kNoZygoteSandbox[];
#endif
#if defined(OS_WIN)
|