Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Windows] Refactor RestrictedToken to use base's AccessToken.
This CL refactors the sandbox RestrictedToken class to use the base library's AccessToken class. As part of that various areas have been cleaned up, for example the support for arbitrary effective tokens has been removed as it was used by a single test and in practice creating a new process with a restricted token created from something other than the current primary token is not possible as a non-administrator. The CL also adds tests for the output of the CreateRestrictedToken utility which didn't seem to exist. Bug: 1394854 Change-Id: I0d2879759f9555dc607314bc1698f9b632a5b1df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4192962 Commit-Queue: James Forshaw <forshaw@chromium.org> Reviewed-by: Alex Gough <ajgo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096908}
- Loading branch information
James Forshaw
authored and
Chromium LUCI CQ
committed
Jan 25, 2023
1 parent
bfdd3a4
commit f771afc
Showing
18 changed files
with
718 additions
and
1,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.