aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-chrome_browser_extensions_api_messaging_launch__context__posix.cc
blob: 609555dc8900d191a5492c22fe3d36251b8e9200 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/extensions/api/messaging/launch_context_posix.cc.orig	2025-05-07 06:48:23 UTC
+++ chrome/browser/extensions/api/messaging/launch_context_posix.cc
@@ -84,7 +84,7 @@ std::optional<LaunchContext::ProcessState> LaunchConte
 
   options.current_directory = command_line.GetProgram().DirName();
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // Don't use no_new_privs mode, e.g. in case the host needs to use sudo.
   options.allow_new_privs = true;
 #endif