$OpenBSD: patch-content_renderer_renderer_main_platform_delegate_linux_cc,v 1.10 2018/08/11 16:22:42 robert Exp $

Index: content/renderer/renderer_main_platform_delegate_linux.cc
--- content/renderer/renderer_main_platform_delegate_linux.cc.orig
+++ content/renderer/renderer_main_platform_delegate_linux.cc
@@ -47,6 +47,7 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
   // Here, we test that the status of SeccompBpf in the renderer is consistent
   // with what SandboxLinux::GetStatus() said we would do.
   auto* linux_sandbox = service_manager::SandboxLinux::GetInstance();
+#if 0
   if (linux_sandbox->GetStatus() & service_manager::SandboxLinux::kSeccompBPF) {
     CHECK(linux_sandbox->seccomp_bpf_started());
   }
@@ -67,6 +68,7 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
     CHECK_EQ(errno, EPERM);
   }
 #endif  // __x86_64__
+#endif
 
   return true;
 }
