aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-chrome_browser_platform__util__linux.cc
blob: 39aa6c62be6ca9f4516923d02a1050eca7ea1644 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- chrome/browser/platform_util_linux.cc.orig	2025-03-24 20:50:14 UTC
+++ chrome/browser/platform_util_linux.cc
@@ -303,7 +303,9 @@ void OnLaunchOptionsCreated(const std::string& command
   argv.push_back(command);
   argv.push_back(arg);
   options.current_directory = working_directory;
+#if !BUILDFLAG(IS_BSD)
   options.allow_new_privs = true;
+#endif
   // xdg-open can fall back on mailcap which eventually might plumb through
   // to a command that needs a terminal.  Set the environment variable telling
   // it that we definitely don't have a terminal available and that it should