diff --git a/patches/chromium/.patches b/patches/chromium/.patches index e67c971e102cf..2be965a320dd7 100644 --- a/patches/chromium/.patches +++ b/patches/chromium/.patches @@ -10,7 +10,6 @@ disable_hidden.patch dom_storage_limits.patch render_widget_host_view_base.patch render_widget_host_view_mac.patch -thread_capabilities.patch webview_cross_drag.patch gin_enable_disable_v8_platform.patch blink-worker-enable-csp-in-file-scheme.patch diff --git a/patches/chromium/thread_capabilities.patch b/patches/chromium/thread_capabilities.patch deleted file mode 100644 index 55654b1693e3b..0000000000000 --- a/patches/chromium/thread_capabilities.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Anonymous -Date: Thu, 20 Sep 2018 17:46:43 -0700 -Subject: thread_capabilities.patch - -Chromium automatically drops all capabilities of renderer threads in -Linux, which may cause issues in a context like Electron, where the main -and renderer threads are supposed to keep inherited permissions over the -system. - -See https://github.com/atom/electron/issues/3666 - -diff --git a/sandbox/linux/services/credentials.cc b/sandbox/linux/services/credentials.cc -index d7b5d8c441354965ee0cb87a57d9552a4ae1f20d..dd145dd38fdbd7c426bd821baff0d9fe76201469 100644 ---- a/sandbox/linux/services/credentials.cc -+++ b/sandbox/linux/services/credentials.cc -@@ -354,8 +354,10 @@ pid_t Credentials::ForkAndDropCapabilitiesInChild() { - return pid; - } - -+#if 0 - // Since we just forked, we are single threaded. - PCHECK(DropAllCapabilitiesOnCurrentThread()); -+#endif - return 0; - } -