aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base__process__launch.h
blob: 55b6ced74bf951e6abd1ae25725f7fec1ded7cc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ./base/process/launch.h.orig	2014-08-20 21:02:41.000000000 +0200
+++ ./base/process/launch.h	2014-08-22 15:06:24.000000000 +0200
@@ -113,14 +113,14 @@
   // will be the same as its pid.
   bool new_process_group;
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
   // If non-zero, start the process using clone(), using flags as provided.
   int clone_flags;
 
   // By default, child processes will have the PR_SET_NO_NEW_PRIVS bit set. If
   // true, then this bit will not be set in the new child process.
   bool allow_new_privs;
-#endif  // defined(OS_LINUX)
+#endif  // defined(OS_LINUX) || defined(OS_FREEBSD)
 
 #if defined(OS_CHROMEOS)
   // If non-negative, the specified file descriptor will be set as the launched