mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 10:59:14 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/d357f6bb-0af4-4ac9-b096-eeec183ad829.html
11 lines
513 B
C++
11 lines
513 B
C++
--- ipc/ipc_channel.h.orig 2023-03-09 06:31:50 UTC
|
|
+++ ipc/ipc_channel.h
|
|
@@ -233,7 +233,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
|
|
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.
|