$OpenBSD: patch-services_service_manager_zygote_host_zygote_host_impl_linux_h,v 1.3 2019/02/06 16:41:55 robert Exp $

Index: services/service_manager/zygote/host/zygote_host_impl_linux.h
--- services/service_manager/zygote/host/zygote_host_impl_linux.h.orig
+++ services/service_manager/zygote/host/zygote_host_impl_linux.h
@@ -44,8 +44,10 @@ class COMPONENT_EXPORT(SERVICE_MANAGER_ZYGOTE) ZygoteH
                      base::ScopedFD* control_fd,
                      base::FileHandleMappingVector additional_remapped_fds);
 
+#if !defined(OS_BSD)
   void AdjustRendererOOMScore(base::ProcessHandle process_handle,
                               int score) override;
+#endif
   bool HasZygote() { return !zygote_pids_.empty(); }
 
  private:
@@ -59,9 +61,11 @@ class COMPONENT_EXPORT(SERVICE_MANAGER_ZYGOTE) ZygoteH
 
   int renderer_sandbox_status_;
 
+#if !defined(OS_BSD)
   bool use_namespace_sandbox_;
   bool use_suid_sandbox_;
   bool use_suid_sandbox_for_adj_oom_score_;
+#endif
   std::string sandbox_binary_;
 
   // This lock protects the |zygote_pids_| set.
