summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ipc_ipc__channel.h
blob: ac2f0645c5d59ddcf61f273d96feb9ecf5d91fb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ipc/ipc_channel.h.orig	2021-09-14 01:51:58 UTC
+++ ipc/ipc_channel.h
@@ -236,7 +236,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
   static std::string GenerateUniqueRandomChannelID();
 #endif
 
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_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.