Chromium Code Reviews| 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..d66374a65e1585807a1f89abd729ac7af5a3ef62 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 MakeAbsoluteSd(const ScopedSd& relative_sd, |
|
jschuh
2013/03/04 21:12:33
This choice of naming is a bit evil, because it to
alexeypa (please no reviews)
2013/03/04 21:46:30
Done.
|
| + ScopedSd* absolute_sd, |
| + ScopedAcl* dacl, |
| + ScopedSid* group, |
| + ScopedSid* owner, |
| + ScopedAcl* sacl); |
| + |
| } // namespace remoting |
| #endif // REMOTING_HOST_WIN_SECURITY_DESCRIPTOR_H_ |