diff options
Diffstat (limited to 'www/ungoogled-chromium/files/patch-ipc_ipc__channel.cc')
| -rw-r--r-- | www/ungoogled-chromium/files/patch-ipc_ipc__channel.cc | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/www/ungoogled-chromium/files/patch-ipc_ipc__channel.cc b/www/ungoogled-chromium/files/patch-ipc_ipc__channel.cc index b4d73a5dae70..833562b6f8db 100644 --- a/www/ungoogled-chromium/files/patch-ipc_ipc__channel.cc +++ b/www/ungoogled-chromium/files/patch-ipc_ipc__channel.cc @@ -1,6 +1,6 @@ ---- ipc/ipc_channel.cc.orig 2025-11-01 06:40:37 UTC +--- ipc/ipc_channel.cc.orig 2025-12-06 13:30:52 UTC +++ ipc/ipc_channel.cc -@@ -22,7 +22,7 @@ namespace { +@@ -41,7 +41,7 @@ namespace { // Global atomic used to guarantee channel IDs are unique. base::AtomicSequenceNumber g_last_id; @@ -9,7 +9,16 @@ int g_global_pid = 0; -@@ -60,7 +60,7 @@ std::string Channel::GenerateUniqueRandomChannelID() { +@@ -83,7 +83,7 @@ class ThreadSafeChannelProxy : public mojo::ThreadSafe + }; + + base::ProcessId GetSelfPID() { +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + if (int global_pid = Channel::GetGlobalPid()) { + return global_pid; + } +@@ -123,7 +123,7 @@ std::string Channel::GenerateUniqueRandomChannelID() { base::RandInt(0, std::numeric_limits<int32_t>::max())); } |
