Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_launch.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_launch.cc
--- src/3rdparty/chromium/base/process/launch.cc.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/base/process/launch.cc.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/process/launch.cc | +++ src/3rdparty/chromium/base/process/launch.cc | ||||
@@ -15,7 +15,7 @@ LaunchOptions::~LaunchOptions() = default; | @@ -15,7 +15,7 @@ LaunchOptions LaunchOptionsForTest() { | ||||
LaunchOptions LaunchOptionsForTest() { | LaunchOptions LaunchOptionsForTest() { | ||||
LaunchOptions options; | LaunchOptions options; | ||||
-#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) | ||||
// To prevent accidental privilege sharing to an untrusted child, processes | // To prevent accidental privilege sharing to an untrusted child, processes | ||||
// are started with PR_SET_NO_NEW_PRIVS. Do not set that here, since this | // are started with PR_SET_NO_NEW_PRIVS. Do not set that here, since this | ||||
// new child will be used for testing only. | // new child will be used for testing only. |