aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_process_launch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-base_process_launch.cc')
-rw-r--r--www/iridium/files/patch-base_process_launch.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-base_process_launch.cc b/www/iridium/files/patch-base_process_launch.cc
new file mode 100644
index 000000000000..2dca0a643ba2
--- /dev/null
+++ b/www/iridium/files/patch-base_process_launch.cc
@@ -0,0 +1,11 @@
+--- base/process/launch.cc.orig 2017-04-19 19:06:28 UTC
++++ base/process/launch.cc
+@@ -15,7 +15,7 @@ LaunchOptions::~LaunchOptions() = defaul
+
+ LaunchOptions LaunchOptionsForTest() {
+ LaunchOptions options;
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || 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.