mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
be6259aac7
Tested by: Matthias Wolf, rene MFH: 2021Q2 Security: http://vuxml.freebsd.org/freebsd/cb13a765-a277-11eb-97a0-e09467587c17.html
12 lines
585 B
C
12 lines
585 B
C
--- base/process/process_handle.h.orig 2021-04-14 18:40:48 UTC
|
|
+++ base/process/process_handle.h
|
|
@@ -103,7 +103,7 @@ BASE_EXPORT ProcessId GetCurrentProcId();
|
|
// processes may be reused.
|
|
BASE_EXPORT UniqueProcId GetUniqueIdForProcess();
|
|
|
|
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
|
|
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
|
|
// When a process is started in a different PID namespace from the browser
|
|
// process, this function must be called with the process's PID in the browser's
|
|
// PID namespace in order to initialize its unique ID. Not thread safe.
|