Files
ports/devel/electron44/files/patch-ipc_ipc__channel.h
T
2026-10-04 04:07:15 +00:00

12 lines
557 B
C++

--- ipc/ipc_channel.h.orig 2026-03-13 16:54:03 UTC
+++ ipc/ipc_channel.h
@@ -168,7 +168,7 @@ class COMPONENT_EXPORT(IPC) Channel final
// Generates a channel ID that's non-predictable and unique.
static std::string GenerateUniqueRandomChannelID();
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_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.