OLD | NEW |
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_SECURITY_LEVEL_H_ | 5 #ifndef SANDBOX_SRC_SECURITY_LEVEL_H_ |
6 #define SANDBOX_SRC_SECURITY_LEVEL_H_ | 6 #define SANDBOX_SRC_SECURITY_LEVEL_H_ |
7 | 7 |
| 8 #include "base/basictypes.h" |
| 9 |
8 namespace sandbox { | 10 namespace sandbox { |
9 | 11 |
10 // List of all the integrity levels supported in the sandbox. This is used | 12 // List of all the integrity levels supported in the sandbox. This is used |
11 // only on Windows Vista. You can't set the integrity level of the process | 13 // only on Windows Vista. You can't set the integrity level of the process |
12 // in the sandbox to a level higher than yours. | 14 // in the sandbox to a level higher than yours. |
13 enum IntegrityLevel { | 15 enum IntegrityLevel { |
14 INTEGRITY_LEVEL_SYSTEM, | 16 INTEGRITY_LEVEL_SYSTEM, |
15 INTEGRITY_LEVEL_HIGH, | 17 INTEGRITY_LEVEL_HIGH, |
16 INTEGRITY_LEVEL_MEDIUM, | 18 INTEGRITY_LEVEL_MEDIUM, |
17 INTEGRITY_LEVEL_MEDIUM_LOW, | 19 INTEGRITY_LEVEL_MEDIUM_LOW, |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 194 |
193 // Sets the DLL search order to LOAD_LIBRARY_SEARCH_DEFAULT_DIRS. Additional | 195 // Sets the DLL search order to LOAD_LIBRARY_SEARCH_DEFAULT_DIRS. Additional |
194 // directories can be added via the Windows AddDllDirectory() function. | 196 // directories can be added via the Windows AddDllDirectory() function. |
195 // http://msdn.microsoft.com/en-us/library/windows/desktop/hh310515 | 197 // http://msdn.microsoft.com/en-us/library/windows/desktop/hh310515 |
196 // Must be enabled after startup. | 198 // Must be enabled after startup. |
197 const MitigationFlags MITIGATION_DLL_SEARCH_ORDER = 0x00000001ULL << 32; | 199 const MitigationFlags MITIGATION_DLL_SEARCH_ORDER = 0x00000001ULL << 32; |
198 | 200 |
199 } // namespace sandbox | 201 } // namespace sandbox |
200 | 202 |
201 #endif // SANDBOX_SRC_SECURITY_LEVEL_H_ | 203 #endif // SANDBOX_SRC_SECURITY_LEVEL_H_ |
OLD | NEW |