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

Unified Diff: content/common/sandbox_win.cc

Issue 2411483002: Enable win32k lockdown for ppapi processes. (Closed)
Patch Set: readd entry Created 4 years, 2 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 | « content/common/content_switches_internal.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_win.cc
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
index 0c8bf9323a5560e4caf10c7616f7d752f39b550d..3ede0c967d8ef77ac4f0ca9868a97d49ab2abdfc 100644
--- a/content/common/sandbox_win.cc
+++ b/content/common/sandbox_win.cc
@@ -601,7 +601,7 @@ sandbox::ResultCode AddAppContainerPolicy(sandbox::TargetPolicy* policy,
sandbox::ResultCode AddWin32kLockdownPolicy(sandbox::TargetPolicy* policy,
bool enable_opm) {
#if !defined(NACL_WIN64)
- if (!IsWin32kRendererLockdownEnabled())
+ if (!IsWin32kLockdownEnabled())
return sandbox::SBOX_ALL_OK;
// Enable win32k lockdown if not already.
@@ -736,8 +736,7 @@ sandbox::ResultCode StartSandboxedProcess(
return result;
#if !defined(NACL_WIN64)
- if (type_str == switches::kRendererProcess &&
- IsWin32kRendererLockdownEnabled()) {
+ if (type_str == switches::kRendererProcess && IsWin32kLockdownEnabled()) {
result = AddWin32kLockdownPolicy(policy.get(), false);
if (result != sandbox::SBOX_ALL_OK)
return result;
« no previous file with comments | « content/common/content_switches_internal.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698