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

Side by Side Diff: sandbox/win/src/process_mitigations_win32k_interception.cc

Issue 318603003: Sandbox policy and intercepts for the MITIGATION_WIN32K_DISABLE policy for renderer processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed presubmit warnings 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "sandbox/win/src/process_mitigations_win32k_interception.h"
6
7 namespace sandbox {
8
9 BOOL WINAPI TargetGdiDllInitialize(
10 GdiDllInitializeFunction orig_gdi_dll_initialize,
11 HANDLE dll,
12 DWORD reason) {
13 return TRUE;
14 }
15
16 HGDIOBJ WINAPI TargetGetStockObject(
17 GetStockObjectFunction orig_get_stock_object,
18 int object) {
19 return reinterpret_cast<HGDIOBJ>(NULL);
20 }
21
22 ATOM WINAPI TargetRegisterClassW(
23 RegisterClassWFunction orig_register_class_function,
24 const WNDCLASS* wnd_class) {
25 return TRUE;
26 }
27
28 } // namespace sandbox
29
OLDNEW
« no previous file with comments | « sandbox/win/src/process_mitigations_win32k_interception.h ('k') | sandbox/win/src/process_mitigations_win32k_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698