| 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_
|
|
|