summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_process_launch.cc
blob: 02727ceffbb8735c91c04cf170c1dd1741da86f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/process/launch.cc.orig	2020-11-13 06:36:34 UTC
+++ base/process/launch.cc
@@ -15,7 +15,7 @@ LaunchOptions::~LaunchOptions() = default;
 
 LaunchOptions LaunchOptionsForTest() {
   LaunchOptions options;
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
   // 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
   // new child will be used for testing only.