mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
implemented GetExplicitEntriesFromAcl and forward it to the MARTA provider
svn path=/trunk/; revision=16816
This commit is contained in:
parent
6870957b9a
commit
9dabbd25fc
6 changed files with 49 additions and 5 deletions
|
@ -242,8 +242,8 @@ GetCurrentHwProfileW@4
|
|||
;GetEffectiveRightsFromAclA@12
|
||||
;GetEffectiveRightsFromAclW@12
|
||||
;GetEventLogInformation
|
||||
;GetExplicitEntriesFromAclA@12
|
||||
;GetExplicitEntriesFromAclW@12
|
||||
GetExplicitEntriesFromAclA@12=ADVAPI32.GetExplicitEntriesFromAclW
|
||||
GetExplicitEntriesFromAclW@12
|
||||
GetFileSecurityA@20
|
||||
GetFileSecurityW@20
|
||||
;GetInformationCodeAuthzLevelW
|
||||
|
|
|
@ -67,7 +67,10 @@ typedef struct _NTMARTA
|
|||
PACL OldAcl,
|
||||
PACL* NewAcl);
|
||||
|
||||
PVOID RewriteGetExplicitEntriesFromAcl;
|
||||
DWORD (STDCALL *RewriteGetExplicitEntriesFromAcl)(PACL pacl,
|
||||
PULONG pcCountOfExplicitEntries,
|
||||
PEXPLICIT_ACCESS_W* pListOfExplicitEntries);
|
||||
|
||||
PVOID TreeResetNamedSecurityInfo;
|
||||
|
||||
DWORD (STDCALL *GetInheritanceSource)(LPWSTR pObjectName,
|
||||
|
|
|
@ -669,4 +669,30 @@ SetEntriesInAclA(
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
DWORD
|
||||
STDCALL
|
||||
GetExplicitEntriesFromAclW(
|
||||
PACL pacl,
|
||||
PULONG pcCountOfExplicitEntries,
|
||||
PEXPLICIT_ACCESS_W* pListOfExplicitEntries
|
||||
)
|
||||
{
|
||||
DWORD ErrorCode;
|
||||
|
||||
ErrorCode = CheckNtMartaPresent();
|
||||
if (ErrorCode == ERROR_SUCCESS)
|
||||
{
|
||||
/* call the MARTA provider */
|
||||
ErrorCode = AccRewriteGetExplicitEntriesFromAcl(pacl,
|
||||
pcCountOfExplicitEntries,
|
||||
pListOfExplicitEntries);
|
||||
}
|
||||
|
||||
return ErrorCode;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -59,8 +59,8 @@ LoadAndInitializeNtMarta(VOID)
|
|||
FindNtMartaProc(RewriteGetHandleRights);
|
||||
FindNtMartaProc(RewriteSetHandleRights);
|
||||
FindNtMartaProc(RewriteSetEntriesInAcl);
|
||||
#if 0
|
||||
FindNtMartaProc(RewriteGetExplicitEntriesFromAcl);
|
||||
#if 0
|
||||
FindNtMartaProc(TreeResetNamedSecurityInfo);
|
||||
#endif
|
||||
FindNtMartaProc(GetInheritanceSource);
|
||||
|
|
|
@ -158,6 +158,21 @@ AccFreeIndexArray(PINHERITED_FROMW pInheritArray,
|
|||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* AccRewriteGetExplicitEntriesFromAcl EXPORTED
|
||||
*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD STDCALL
|
||||
AccRewriteGetExplicitEntriesFromAcl(PACL pacl,
|
||||
PULONG pcCountOfExplicitEntries,
|
||||
PEXPLICIT_ACCESS_W* pListOfExplicitEntries)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
BOOL STDCALL
|
||||
DllMain(IN HINSTANCE hinstDLL,
|
||||
IN DWORD dwReason,
|
||||
|
|
|
@ -4,7 +4,7 @@ EXPORTS
|
|||
AccFreeIndexArray@12
|
||||
AccGetInheritanceSource@40
|
||||
;AccProvHandleGrantAccessRights;
|
||||
;AccRewriteGetExplicitEntriesFromAcl
|
||||
AccRewriteGetExplicitEntriesFromAcl@12
|
||||
AccRewriteGetHandleRights@32
|
||||
AccRewriteGetNamedRights@32
|
||||
AccRewriteSetEntriesInAcl@16
|
||||
|
|
Loading…
Reference in a new issue