a0dbfe2fb0
Submitted by: Matthias Wolf, cem, rene Obtained from: Some patches from OpenBSD port (robert@openbsd.org)
12 lines
585 B
C
12 lines
585 B
C
--- base/process/process_handle.h.orig 2020-11-13 06:36:34 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.
|