Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_launch.h
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_launch.h
--- src/3rdparty/chromium/base/process/launch.h.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/base/process/launch.h.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/process/launch.h | +++ src/3rdparty/chromium/base/process/launch.h | ||||
@@ -171,7 +171,7 @@ struct BASE_EXPORT LaunchOptions { | @@ -180,7 +180,7 @@ struct BASE_EXPORT LaunchOptions { | ||||
FileHandleMappingVector fds_to_remap; | bool clear_environment = false; | ||||
#endif // defined(OS_WIN) | #endif // OS_WIN || OS_POSIX || OS_FUCHSIA | ||||
-#if defined(OS_LINUX) | -#if defined(OS_LINUX) || defined(OS_CHROMEOS) | ||||
+#if defined(OS_LINUX) || defined(OS_BSD) | +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | ||||
// If non-zero, start the process using clone(), using flags as provided. | // If non-zero, start the process using clone(), using flags as provided. | ||||
// Unlike in clone, clone_flags may not contain a custom termination signal | // Unlike in clone, clone_flags may not contain a custom termination signal | ||||
// that is sent to the parent when the child dies. The termination signal will | // that is sent to the parent when the child dies. The termination signal will | ||||
@@ -184,7 +184,7 @@ struct BASE_EXPORT LaunchOptions { | @@ -193,7 +193,7 @@ struct BASE_EXPORT LaunchOptions { | ||||
// Sets parent process death signal to SIGKILL. | // Sets parent process death signal to SIGKILL. | ||||
bool kill_on_parent_death = false; | bool kill_on_parent_death = false; | ||||
-#endif // defined(OS_LINUX) | -#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) | ||||
+#endif // defined(OS_LINUX) || defined(OS_BSD) | +#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | ||||
#if defined(OS_FUCHSIA) | #if defined(OS_MAC) | ||||
// If valid, launches the application in that job object. | // Mach ports that will be accessible to the child process. These are not | ||||
@@ -408,7 +408,7 @@ BASE_EXPORT LaunchOptions LaunchOptionsForTest(); | |||||
// binary. This should not be called in production/released code. | |||||
BASE_EXPORT LaunchOptions LaunchOptionsForTest(); | |||||
-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_NACL_NONSFI) | |||||
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_NACL_NONSFI) || defined(OS_BSD) | |||||
// A wrapper for clone with fork-like behavior, meaning that it returns the | |||||
// child's pid in the parent and 0 in the child. |flags|, |ptid|, and |ctid| are | |||||
// as in the clone system call (the CLONE_VM flag is not supported). |