06a832ee8d
Sync the port to www/chromium and the shared *BSD patchset This port no longer uses Python 2.7
18 lines
645 B
C++
18 lines
645 B
C++
--- content/browser/sandbox_host_linux.cc.orig 2022-03-28 18:11:04 UTC
|
|
+++ content/browser/sandbox_host_linux.cc
|
|
@@ -45,6 +45,7 @@ void SandboxHostLinux::Init() {
|
|
// Instead, it replies on a temporary socket provided by the caller.
|
|
PCHECK(0 == shutdown(browser_socket, SHUT_WR)) << "shutdown";
|
|
|
|
+#if !defined(OS_BSD)
|
|
int pipefds[2];
|
|
CHECK(0 == pipe(pipefds));
|
|
const int child_lifeline_fd = pipefds[0];
|
|
@@ -55,6 +56,7 @@ void SandboxHostLinux::Init() {
|
|
ipc_thread_ = std::make_unique<base::DelegateSimpleThread>(
|
|
ipc_handler_.get(), "sandbox_ipc_thread");
|
|
ipc_thread_->Start();
|
|
+#endif
|
|
}
|
|
|
|
} // namespace content
|