aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-chrome_browser_platform__util__linux.cc
blob: 9c976315fb87f99e1d83a32f42dcaf555c84e33b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- chrome/browser/platform_util_linux.cc.orig	2025-04-22 20:15:27 UTC
+++ chrome/browser/platform_util_linux.cc
@@ -302,7 +302,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