ports/www/ungoogled-chromium/patches/patch-base_process_process_handle_h

13 lines
606 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: base/process/process_handle.h
--- base/process/process_handle.h.orig
+++ base/process/process_handle.h
2024-05-20 13:42:05 +00:00
@@ -86,7 +86,7 @@ BASE_EXPORT ProcessId GetCurrentProcId();
2023-08-16 22:26:55 +00:00
// processes may be reused.
BASE_EXPORT UniqueProcId GetUniqueIdForProcess();
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_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.