mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
11 lines
452 B
C++
11 lines
452 B
C++
--- ipc/ipc_channel_mojo.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ ipc/ipc_channel_mojo.cc
|
|
@@ -105,7 +105,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;
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|