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

Unified Diff: sandbox/win/src/sandbox_policy_base.h

Issue 1821193002: Added a policy option to restrict the default DACL for tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added access mask to open process test Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/src/sandbox_policy.h ('k') | sandbox/win/src/sandbox_policy_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/sandbox_policy_base.h
diff --git a/sandbox/win/src/sandbox_policy_base.h b/sandbox/win/src/sandbox_policy_base.h
index 49fe97f1054d03d529d68db3beb3890533b3c389..31f0d9c58ef1eed0018840603665bc6745d7a8fb 100644
--- a/sandbox/win/src/sandbox_policy_base.h
+++ b/sandbox/win/src/sandbox_policy_base.h
@@ -71,6 +71,7 @@ class PolicyBase final : public TargetPolicy {
ResultCode AddKernelObjectToClose(const base::char16* handle_type,
const base::char16* handle_name) override;
void AddHandleToShare(HANDLE handle) override;
+ void SetLockdownDefaultDacl() override;
// Creates a Job object with the level specified in a previous call to
// SetJobLevel().
@@ -158,6 +159,7 @@ class PolicyBase final : public TargetPolicy {
PSID lowbox_sid_;
base::win::ScopedHandle lowbox_directory_;
scoped_ptr<Dispatcher> dispatcher_;
+ bool lockdown_default_dacl_;
static HDESK alternate_desktop_handle_;
static HWINSTA alternate_winstation_handle_;
« no previous file with comments | « sandbox/win/src/sandbox_policy.h ('k') | sandbox/win/src/sandbox_policy_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698