Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions tur-chromium/chromium-stable/1001-chromium-disable-sandbox.patch
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
// TODO(crbug.com/40188745): Implement crash reporter integration for Fuchsia.
--- a/chrome/browser/ui/startup/bad_flags_prompt.cc
+++ b/chrome/browser/ui/startup/bad_flags_prompt.cc
@@ -60,10 +60,12 @@
static const char* kBadFlags[] = {
network::switches::kIgnoreCertificateErrorsSPKIList,
@@ -67,10 +67,12 @@
switches::kHostRules,

// These flags disable sandbox-related security.
+#ifndef __TERMUX__
sandbox::policy::switches::kDisableGpuSandbox,
Expand All @@ -44,9 +44,9 @@
#endif
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -235,6 +235,10 @@
#include "ui/gfx/switches.h"
#endif
@@ -226,6 +226,10 @@
#include "ui/ozone/public/ozone_platform.h"
#endif // BUILDFLAG(IS_OZONE)

+#ifdef __TERMUX__
+#include "sandbox/policy/switches.h"
Expand All @@ -55,7 +55,7 @@
base::LazyInstance<ChromeContentGpuClient>::DestructorAtExit
g_chrome_content_gpu_client = LAZY_INSTANCE_INITIALIZER;
base::LazyInstance<ChromeContentRendererClient>::DestructorAtExit
@@ -1037,6 +1041,14 @@
@@ -1061,6 +1065,14 @@
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();

Expand All @@ -72,7 +72,7 @@
// web security by setting the kWebKitWebSecurityEnabled pref directly.
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -131,6 +131,10 @@
@@ -140,6 +140,10 @@
#include "media/mojo/services/media_foundation_preferences.h"
#endif // BUILDFLAG(IS_WIN)

Expand All @@ -83,7 +83,7 @@
namespace content {

namespace {
@@ -405,6 +409,9 @@
@@ -448,6 +452,9 @@
// to shell_main.cc that it's a browser test.
switches::kBrowserTest,
#endif
Expand Down

This file was deleted.

Loading
Loading