aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_platform__util__linux.cc
blob: 0e2e20a6d6952981491e4f61ee52bdca09547184 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- chrome/browser/platform_util_linux.cc.orig	2022-06-17 14:20:10 UTC
+++ chrome/browser/platform_util_linux.cc
@@ -294,7 +294,9 @@ void RunCommand(const std::string& command,
 
   base::LaunchOptions options;
   options.current_directory = working_directory;
+#if !defined(OS_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