aboutsummaryrefslogtreecommitdiff
path: root/devel/electron28/files/patch-content_browser_browser__child__process__host__impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron28/files/patch-content_browser_browser__child__process__host__impl.cc')
-rw-r--r--devel/electron28/files/patch-content_browser_browser__child__process__host__impl.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/electron28/files/patch-content_browser_browser__child__process__host__impl.cc b/devel/electron28/files/patch-content_browser_browser__child__process__host__impl.cc
new file mode 100644
index 000000000000..295be64c5b2b
--- /dev/null
+++ b/devel/electron28/files/patch-content_browser_browser__child__process__host__impl.cc
@@ -0,0 +1,19 @@
+--- content/browser/browser_child_process_host_impl.cc.orig 2023-11-29 21:40:01 UTC
++++ content/browser/browser_child_process_host_impl.cc
+@@ -321,6 +321,7 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo
+ switches::kDisableBestEffortTasks,
+ switches::kDisableLogging,
+ switches::kEnableLogging,
++ switches::kDisableUnveil,
+ switches::kIPCConnectionTimeout,
+ switches::kLogBestEffortTasks,
+ switches::kLogFile,
+@@ -630,7 +631,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched()
+ ->child_process());
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ child_thread_type_switcher_.SetPid(process.Pid());
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+