aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_platform__util__linux.cc
blob: 6c677548e70d9d6c1ee7d90cbc6e0c60751b8da5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- chrome/browser/platform_util_linux.cc.orig	2022-02-28 16:54:41 UTC
+++ chrome/browser/platform_util_linux.cc
@@ -298,7 +298,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