Commit 0b9afd3b authored by Patrick Monette's avatar Patrick Monette Committed by Commit Bot

Disable legacy hooking in the browser process

Now that TSF is enabled by default in m75, there are no
known blocking issue anymore.

Bug: 557798
Change-Id: Iaf060e267982d3f90acc5281caf99ff02e155dbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1597282Reviewed-by: default avatarWill Harris <wfh@chromium.org>
Commit-Queue: Patrick Monette <pmonette@chromium.org>
Cr-Commit-Position: refs/heads/master@{#657798}
parent 38703614
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "chrome/install_static/product_install_details.h" #include "chrome/install_static/product_install_details.h"
#include "chrome/install_static/user_data_dir.h" #include "chrome/install_static/user_data_dir.h"
#include "chrome_elf/blacklist/blacklist.h" #include "chrome_elf/blacklist/blacklist.h"
#include "chrome_elf/chrome_elf_security.h"
#include "chrome_elf/crash/crash_helper.h" #include "chrome_elf/crash/crash_helper.h"
#include "chrome_elf/third_party_dlls/main.h" #include "chrome_elf/third_party_dlls/main.h"
...@@ -70,6 +71,9 @@ BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) { ...@@ -70,6 +71,9 @@ BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
if (install_static::IsNonBrowserProcess()) if (install_static::IsNonBrowserProcess())
return TRUE; return TRUE;
// Disable legacy hooking.
elf_security::EarlyBrowserSecurity();
__try { __try {
// Initialize blacklist before initializing third_party_dlls. // Initialize blacklist before initializing third_party_dlls.
// Note: "blacklist" is deprecated in favor of "third_party_dlls", but // Note: "blacklist" is deprecated in favor of "third_party_dlls", but
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment