summaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-ipc_ipc__channel.h
blob: 87355b1bb3f6b00b4cc29bd22ae82b3fdbeb51cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ipc/ipc_channel.h.orig	2019-12-12 12:39:49 UTC
+++ ipc/ipc_channel.h
@@ -256,7 +256,7 @@ class COMPONENT_EXPORT(IPC) 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.