ports/www/chromium/files/patch-ipc_ipc__channel.h

11 lines
442 B
C++

--- ipc/ipc_channel.h.orig 2017-04-19 19:06:35 UTC
+++ ipc/ipc_channel.h
@@ -246,7 +246,7 @@ class IPC_EXPORT Channel : public Sender
static std::string GenerateUniqueRandomChannelID();
#endif
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
// Sandboxed processes live in a PID namespace, so when sending the IPC hello
// message from client to server we need to send the PID from the global
// PID namespace.