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

Unified Diff: content/public/common/content_switches.cc

Issue 282133007: Allow the MITIGATION_WIN32K_DISABLE process mitigation to be set in the renderer sandbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index a8474064ffe241a0b6fef7455c6fd2609e5bdb0f..0ca47fe3816d0a2736010ef08bcdade1406a9ab3 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -430,6 +430,12 @@ const char kEnableDirectWrite[] = "enable-direct-write";
// Use high resolution timers for TimeTicks.
const char kEnableHighResolutionTime[] = "enable-high-resolution-time";
+
+// Enable the GDI32 and USER32 process mitigation policy for renderer processes
+// which prevents them from invoking user32 and gdi32 system calls which enter
+// the kernel. This is only supported on Windows 8 and beyond.
+const char kEnableGDIUser32RendererLockDown[]
+ = "enable_gdi_user32_renderer_lockdown";
jschuh 2014/05/16 20:28:12 Could we just call these kEnableWin32kRendererLock
ananta 2014/05/16 21:12:18 Done.
#endif
// Paint content on the compositor thread instead of the main thread.

Powered by Google App Engine
This is Rietveld 408576698