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

Side by Side Diff: sandbox/win/src/dep.h

Issue 10783004: Move Windows Sandbox, trybots version (don't commit me!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to top of tree Created 8 years, 5 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
« no previous file with comments | « sandbox/win/src/crosscall_server.cc ('k') | sandbox/win/src/dep.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_SRC_DEP_H__ 5 #ifndef SANDBOX_SRC_DEP_H__
6 #define SANDBOX_SRC_DEP_H__ 6 #define SANDBOX_SRC_DEP_H__
7 7
8 namespace sandbox { 8 namespace sandbox {
9 9
10 enum DepEnforcement { 10 enum DepEnforcement {
11 // DEP is completely disabled. 11 // DEP is completely disabled.
12 DEP_DISABLED, 12 DEP_DISABLED,
13 // DEP is permanently enforced. 13 // DEP is permanently enforced.
14 DEP_ENABLED, 14 DEP_ENABLED,
15 // DEP with support for ATL7 thunking is permanently enforced. 15 // DEP with support for ATL7 thunking is permanently enforced.
16 DEP_ENABLED_ATL7_COMPAT, 16 DEP_ENABLED_ATL7_COMPAT,
17 }; 17 };
18 18
19 // Change the Data Execution Prevention (DEP) status for the current process. 19 // Change the Data Execution Prevention (DEP) status for the current process.
20 // Once enabled, it cannot be disabled. 20 // Once enabled, it cannot be disabled.
21 bool SetCurrentProcessDEP(DepEnforcement enforcement); 21 bool SetCurrentProcessDEP(DepEnforcement enforcement);
22 22
23 } // namespace sandbox 23 } // namespace sandbox
24 24
25 #endif // SANDBOX_SRC_DEP_H__ 25 #endif // SANDBOX_SRC_DEP_H__
OLDNEW
« no previous file with comments | « sandbox/win/src/crosscall_server.cc ('k') | sandbox/win/src/dep.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698