Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: sandbox/win/src/process_mitigations_win32k_dispatcher.cc

Issue 333773005: Intercept the user32!SystemParametersInfoW API in the win32k user gdi lockdown mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/src/ipc_tags.h ('k') | sandbox/win/src/process_mitigations_win32k_interception.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/process_mitigations_win32k_dispatcher.cc
diff --git a/sandbox/win/src/process_mitigations_win32k_dispatcher.cc b/sandbox/win/src/process_mitigations_win32k_dispatcher.cc
index e426084f861abdd9387d5578187365ff17720fad..ae5184b7d3f2be28418d0d0e607b456b1fcec765 100644
--- a/sandbox/win/src/process_mitigations_win32k_dispatcher.cc
+++ b/sandbox/win/src/process_mitigations_win32k_dispatcher.cc
@@ -47,6 +47,14 @@ bool ProcessMitigationsWin32KDispatcher::SetupService(
return true;
}
+ case IPC_USER_SYSTEMPARAMETERSINFOW_TAG: {
+ if (!INTERCEPT_EAT(manager, L"user32.dll", SystemParametersInfoW,
+ SYSTEMPARAMETERSINFOW_ID, 20)) {
+ return false;
+ }
+ return true;
+ }
+
default:
break;
}
« no previous file with comments | « sandbox/win/src/ipc_tags.h ('k') | sandbox/win/src/process_mitigations_win32k_interception.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698