diff options
Diffstat (limited to 'www/chromium/files/patch-sandbox_policy_sandbox.cc')
-rw-r--r-- | www/chromium/files/patch-sandbox_policy_sandbox.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/www/chromium/files/patch-sandbox_policy_sandbox.cc b/www/chromium/files/patch-sandbox_policy_sandbox.cc index 7e2c8176a47b..1cd4771d4c1c 100644 --- a/www/chromium/files/patch-sandbox_policy_sandbox.cc +++ b/www/chromium/files/patch-sandbox_policy_sandbox.cc @@ -1,22 +1,22 @@ ---- sandbox/policy/sandbox.cc.orig 2022-02-07 13:39:41 UTC +--- sandbox/policy/sandbox.cc.orig 2022-02-28 16:54:41 UTC +++ sandbox/policy/sandbox.cc @@ -17,6 +17,10 @@ #include "sandbox/policy/linux/sandbox_linux.h" - #endif // defined(OS_LINUX) || defined(OS_CHROMEOS) + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if defined(OS_BSD) ++#if BUILDFLAG(IS_BSD) +#include "sandbox/policy/openbsd/sandbox_openbsd.h" -+#endif // defined(OS_BSD) ++#endif // BUILDFLAG(IS_BSD) + - #if defined(OS_MAC) + #if BUILDFLAG(IS_MAC) #include "sandbox/mac/seatbelt.h" - #endif // defined(OS_MAC) + #endif // BUILDFLAG(IS_MAC) @@ -30,7 +34,7 @@ namespace sandbox { namespace policy { --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool Sandbox::Initialize(sandbox::mojom::Sandbox sandbox_type, SandboxLinux::PreSandboxHook hook, const SandboxLinux::Options& options) { |