| Index: sandbox/win/src/sandbox_policy.h
|
| diff --git a/sandbox/win/src/sandbox_policy.h b/sandbox/win/src/sandbox_policy.h
|
| index a9f124516218ae00cebb1f42cf58bd7250798234..b53b215472cb2384145d4fc2ff048f5566b7a7de 100644
|
| --- a/sandbox/win/src/sandbox_policy.h
|
| +++ b/sandbox/win/src/sandbox_policy.h
|
| @@ -87,6 +87,12 @@ class TargetPolicy {
|
| // as possible.
|
| virtual ResultCode SetTokenLevel(TokenLevel initial, TokenLevel lockdown) = 0;
|
|
|
| + // Returns the initial token level.
|
| + virtual TokenLevel GetInitialTokenLevel() = 0;
|
| +
|
| + // Returns the lockdown token level.
|
| + virtual TokenLevel GetLockdownTokenLevel() = 0;
|
| +
|
| // Sets the security level of the Job Object to which the target process will
|
| // belong. This setting is permanent and cannot be changed once the target
|
| // process is spawned. The job controls the global security settings which
|
| @@ -144,6 +150,9 @@ class TargetPolicy {
|
| // to start.
|
| virtual ResultCode SetIntegrityLevel(IntegrityLevel level) = 0;
|
|
|
| + // Returns the initial integrity level used.
|
| + virtual IntegrityLevel GetIntegrityLevel() = 0;
|
| +
|
| // Sets the integrity level of the process in the sandbox. The integrity level
|
| // will not take effect before you call LowerToken. User Interface Privilege
|
| // Isolation is not affected by this setting and will remain off for the
|
|
|