ports/www/ungoogled-chromium/patches/patch-ipc_ipc_channel_h

13 lines
514 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: ipc/ipc_channel.h
--- ipc/ipc_channel.h.orig
+++ ipc/ipc_channel.h
2024-05-20 13:42:05 +00:00
@@ -240,7 +240,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
2023-08-16 22:26:55 +00:00
static std::string GenerateUniqueRandomChannelID();
#endif
-#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.