15 lines
530 B
Plaintext
15 lines
530 B
Plaintext
$OpenBSD: patch-ipc_ipc_channel_h,v 1.5 2020/04/02 15:11:58 robert Exp $
|
|
|
|
Index: ipc/ipc_channel.h
|
|
--- ipc/ipc_channel.h.orig
|
|
+++ ipc/ipc_channel.h
|
|
@@ -282,7 +282,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.
|