| Index: content/common/sandbox_win.cc
|
| diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
|
| index 355305e33c2434c4b0679e92a59859701a0d9143..7e4caf9dde9fe883e8dc40da84bdc88fdaefd0be 100644
|
| --- a/content/common/sandbox_win.cc
|
| +++ b/content/common/sandbox_win.cc
|
| @@ -334,6 +334,13 @@ bool AddGenericPolicy(sandbox::TargetPolicy* policy) {
|
|
|
| AddGenericDllEvictionPolicy(policy);
|
|
|
| + if (base::win::GetVersion() >= base::win::VERSION_WIN8) {
|
| + result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_WIN32K_LOCKDOWN,
|
| + sandbox::TargetPolicy::LOCKDOWN_WIN32K,
|
| + L"Lockdown_Win32K");
|
| + if (result != sandbox::SBOX_ALL_OK)
|
| + return false;
|
| + }
|
| return true;
|
| }
|
|
|
|
|