mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
MFH: 2017Q2 Security: https://vuxml.freebsd.org/freebsd/95a74a48-2691-11e7-9e2d-e8e0b747a45a.html
11 lines
442 B
C++
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.
|