Changeset View
Changeset View
Standalone View
Standalone View
head/www/chromium/files/patch-base_process_launch.h
--- base/process/launch.h.orig 2019-06-04 18:55:15 UTC | --- base/process/launch.h.orig 2020-03-03 18:52:59 UTC | ||||
+++ base/process/launch.h | +++ base/process/launch.h | ||||
@@ -181,7 +181,7 @@ struct BASE_EXPORT LaunchOptions { | @@ -180,7 +180,7 @@ struct BASE_EXPORT LaunchOptions { | ||||
bool clear_environment = false; | bool clear_environment = false; | ||||
#endif // OS_WIN || OS_POSIX || OS_FUCHSIA | #endif // OS_WIN || OS_POSIX || OS_FUCHSIA | ||||
-#if defined(OS_LINUX) | -#if defined(OS_LINUX) | ||||
+#if defined(OS_LINUX) || defined(OS_BSD) | +#if defined(OS_LINUX) || 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 | ||||
@@ -194,7 +194,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) | ||||
+#endif // defined(OS_LINUX) || defined(OS_BSD) | +#endif // defined(OS_LINUX) || defined(OS_BSD) | ||||
#if defined(OS_MACOSX) && !defined(OS_IOS) | #if defined(OS_MACOSX) && !defined(OS_IOS) | ||||
// Mach ports that will be accessible to the child process. These are not | // Mach ports that will be accessible to the child process. These are not |