summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-ipc_ipc__channel.h
blob: ffe5b22273a587b607b5836c5eadf58c753377bf (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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.
OpenPOWER on IntegriCloud