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

Unified Diff: remoting/host/win/security_descriptor.h

Issue 12378078: Initialize COM and configure security settings in the daemon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback Created 7 years, 10 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 | « remoting/host/win/host_service.cc ('k') | remoting/host/win/security_descriptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/security_descriptor.h
diff --git a/remoting/host/win/security_descriptor.h b/remoting/host/win/security_descriptor.h
index 98713f8f26c67877ed5bb3a273c32a8c52906ee0..e83948e4d7bb2bd97b9cd61d04107114f6a5c185 100644
--- a/remoting/host/win/security_descriptor.h
+++ b/remoting/host/win/security_descriptor.h
@@ -13,6 +13,7 @@
namespace remoting {
+typedef TypedBuffer<ACL> ScopedAcl;
typedef TypedBuffer<SECURITY_DESCRIPTOR> ScopedSd;
typedef TypedBuffer<SID> ScopedSid;
@@ -26,6 +27,15 @@ std::string ConvertSidToString(SID* sid);
// a logon SID or in case of an error.
ScopedSid GetLogonSid(HANDLE token);
+// Converts a security descriptor in self-relative format to a security
+// descriptor in absolute format.
+bool MakeScopedAbsoluteSd(const ScopedSd& relative_sd,
+ ScopedSd* absolute_sd,
+ ScopedAcl* dacl,
+ ScopedSid* group,
+ ScopedSid* owner,
+ ScopedAcl* sacl);
+
} // namespace remoting
#endif // REMOTING_HOST_WIN_SECURITY_DESCRIPTOR_H_
« no previous file with comments | « remoting/host/win/host_service.cc ('k') | remoting/host/win/security_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698