mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
11 lines
480 B
C++
11 lines
480 B
C++
--- base/process/launch.cc.orig 2019-03-15 06:25:27 UTC
|
|
+++ base/process/launch.cc
|
|
@@ -15,7 +15,7 @@ LaunchOptions::~LaunchOptions() = default;
|
|
|
|
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.
|