mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:52:57 +00:00
export these stubs: AddAccessAllowedObjectAce, AddAccessDeniedObjectAce, AddAuditAccessObjectAce, CreatePrivateObjectSecurityEx, CreatePrivateObjectSecurityWithMultipleInheritance, ConvertToAutoInheritPrivateObjectSecurity, EqualDomainSid, GetWindowsAccountDomainSid and CreateWellKnownSid
svn path=/trunk/; revision=16775
This commit is contained in:
parent
020c2e8477
commit
961df2a275
6 changed files with 226 additions and 9 deletions
|
@ -24,14 +24,14 @@ AccessCheckAndAuditAlarmW@44
|
|||
;AccessCheckByTypeResultListAndAuditAlarmW@64
|
||||
AddAccessAllowedAce@16
|
||||
AddAccessAllowedAceEx@20
|
||||
;AddAccessAllowedObjectAce@28
|
||||
AddAccessAllowedObjectAce@28
|
||||
AddAccessDeniedAce@16
|
||||
AddAccessDeniedAceEx@20
|
||||
;AddAccessDeniedObjectAce@28
|
||||
AddAccessDeniedObjectAce@28
|
||||
AddAce@20
|
||||
AddAuditAccessAce@24
|
||||
AddAuditAccessAceEx@28
|
||||
;AddAuditAccessObjectAce@36
|
||||
AddAuditAccessObjectAce@36
|
||||
;AddUsersToEncryptedFile@8
|
||||
AdjustTokenGroups@24
|
||||
AdjustTokenPrivileges@24
|
||||
|
@ -95,12 +95,12 @@ ConvertSidToStringSidW@8
|
|||
;ConvertStringSecurityDescriptorToSecurityDescriptorW@20
|
||||
;ConvertStringSidToSidA@8
|
||||
;ConvertStringSidToSidW@8
|
||||
;ConvertToAutoInheritPrivateObjectSecurity@24
|
||||
ConvertToAutoInheritPrivateObjectSecurity@24
|
||||
CopySid@12
|
||||
;CreateCodeAuthzLevel@20
|
||||
CreatePrivateObjectSecurity@24
|
||||
;CreatePrivateObjectSecurityEx@32
|
||||
;CreatePrivateObjectSecurityWithMultipleInheritance@36
|
||||
CreatePrivateObjectSecurityEx@32
|
||||
CreatePrivateObjectSecurityWithMultipleInheritance@36
|
||||
CreateProcessAsUserA@44
|
||||
;CreateProcessAsUserSecure
|
||||
CreateProcessAsUserW@44
|
||||
|
@ -109,7 +109,7 @@ CreateProcessAsUserW@44
|
|||
CreateServiceA@52
|
||||
CreateServiceW@52
|
||||
;CreateTraceInstanceId@8
|
||||
;CreateWellKnownSid@16
|
||||
CreateWellKnownSid@16
|
||||
;CredDeleteA@12
|
||||
;CredDeleteW@12
|
||||
;CredEnumerateA@16
|
||||
|
@ -219,7 +219,7 @@ EnumServicesStatusA@32
|
|||
;EnumServicesStatusExW
|
||||
EnumServicesStatusW@32
|
||||
;EnumerateTraceGuids
|
||||
;EqualDomainSid
|
||||
EqualDomainSid@12
|
||||
EqualPrefixSid@8
|
||||
EqualSid@8
|
||||
;FileEncryptionStatusA
|
||||
|
@ -298,7 +298,7 @@ GetTrusteeTypeA@4
|
|||
GetTrusteeTypeW@4
|
||||
GetUserNameA@8
|
||||
GetUserNameW@8
|
||||
;GetWindowsAccountDomainSid
|
||||
GetWindowsAccountDomainSid@12
|
||||
;I_ScGetCurrentGroupStateW@12
|
||||
;I_ScIsSecurityProcess
|
||||
;I_ScPnPGetServiceName
|
||||
|
|
|
@ -165,6 +165,25 @@ AddAccessAllowedAceEx(PACL pAcl,
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
AddAccessAllowedObjectAce(
|
||||
PACL pAcl,
|
||||
DWORD dwAceRevision,
|
||||
DWORD AceFlags,
|
||||
DWORD AccessMask,
|
||||
GUID* ObjectTypeGuid,
|
||||
GUID* InheritedObjectTypeGuid,
|
||||
PSID pSid)
|
||||
{
|
||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
@ -220,6 +239,22 @@ AddAccessDeniedAceEx(PACL pAcl,
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
AddAccessDeniedObjectAce(
|
||||
PACL pAcl,
|
||||
DWORD dwAceRevision,
|
||||
DWORD AccessMask,
|
||||
PSID pSid)
|
||||
{
|
||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
@ -313,6 +348,27 @@ AddAuditAccessAceEx(PACL pAcl,
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
AddAuditAccessObjectAce(
|
||||
PACL pAcl,
|
||||
DWORD dwAceRevision,
|
||||
DWORD AceFlags,
|
||||
DWORD AccessMask,
|
||||
GUID* ObjectTypeGuid,
|
||||
GUID* InheritedObjectTypeGuid,
|
||||
PSID pSid,
|
||||
BOOL bAuditSuccess,
|
||||
BOOL bAuditFailure)
|
||||
{
|
||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -1799,6 +1799,43 @@ CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR ParentDescriptor,
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL STDCALL
|
||||
CreatePrivateObjectSecurityEx(PSECURITY_DESCRIPTOR ParentDescriptor,
|
||||
PSECURITY_DESCRIPTOR CreatorDescriptor,
|
||||
PSECURITY_DESCRIPTOR* NewDescriptor,
|
||||
GUID* ObjectType,
|
||||
BOOL IsContainerObject,
|
||||
ULONG AutoInheritFlags,
|
||||
HANDLE Token,
|
||||
PGENERIC_MAPPING GenericMapping)
|
||||
{
|
||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL STDCALL
|
||||
CreatePrivateObjectSecurityWithMultipleInheritance(PSECURITY_DESCRIPTOR ParentDescriptor,
|
||||
PSECURITY_DESCRIPTOR CreatorDescriptor,
|
||||
PSECURITY_DESCRIPTOR* NewDescriptor,
|
||||
GUID** ObjectTypes,
|
||||
ULONG GuidCount,
|
||||
BOOL IsContainerObject,
|
||||
ULONG AutoInheritFlags,
|
||||
HANDLE Token,
|
||||
PGENERIC_MAPPING GenericMapping)
|
||||
{
|
||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -440,4 +440,21 @@ SetSecurityDescriptorSacl (
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
ConvertToAutoInheritPrivateObjectSecurity(IN PSECURITY_DESCRIPTOR ParentDescriptor,
|
||||
IN PSECURITY_DESCRIPTOR CurrentSecurityDescriptor,
|
||||
OUT PSECURITY_DESCRIPTOR* NewSecurityDescriptor,
|
||||
IN GUID* ObjectType,
|
||||
IN BOOLEAN IsDirectoryObject,
|
||||
IN PGENERIC_MAPPING GenericMapping)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -303,4 +303,44 @@ ConvertSidToStringSidA(PSID Sid, LPSTR *StringSid)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL STDCALL
|
||||
EqualDomainSid(IN PSID pSid1,
|
||||
IN PSID pSid2,
|
||||
OUT BOOL* pfEqual)
|
||||
{
|
||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL STDCALL
|
||||
GetWindowsAccountDomainSid(IN PSID pSid,
|
||||
OUT PSID ppDomainSid,
|
||||
IN OUT DWORD* cbSid)
|
||||
{
|
||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL STDCALL
|
||||
CreateWellKnownSid(IN WELL_KNOWN_SID_TYPE WellKnownSidType,
|
||||
IN PSID DomainSid OPTIONAL,
|
||||
OUT PSID pSid,
|
||||
IN OUT DWORD* cbSid)
|
||||
{
|
||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -444,6 +444,73 @@ typedef DWORD FLONG;
|
|||
#define DOMAIN_ALIAS_RID_PRINT_OPS 0x226L
|
||||
#define DOMAIN_ALIAS_RID_BACKUP_OPS 0x227L
|
||||
#define DOMAIN_ALIAS_RID_REPLICATOR 0x228L
|
||||
|
||||
typedef enum
|
||||
{
|
||||
WinNullSid = 0,
|
||||
WinWorldSid,
|
||||
WinLocalSid,
|
||||
WinCreatorOwnerSid,
|
||||
WinCreatorGroupSid,
|
||||
WinCreatorOwnerServerSid,
|
||||
WinCreatorGroupServerSid,
|
||||
WinNtAuthoritySid,
|
||||
WinDialupSid,
|
||||
WinNetworkSid,
|
||||
WinBatchSid,
|
||||
WinInteractiveSid,
|
||||
WinServiceSid,
|
||||
WinAnonymousSid,
|
||||
WinProxySid,
|
||||
WinEnterpriseControllersSid,
|
||||
WinSelfSid,
|
||||
WinAuthenticatedUserSid,
|
||||
WinRestrictedCodeSid,
|
||||
WinTerminalServerSid,
|
||||
WinRemoteLogonIdSid,
|
||||
WinLogonIdsSid,
|
||||
WinLocalSystemSid,
|
||||
WinLocalServiceSid,
|
||||
WinNetworkServiceSid,
|
||||
WinBuiltinDomainSid,
|
||||
WinBuiltinAdministratorsSid,
|
||||
WinBuiltinUsersSid,
|
||||
WinBuiltinGuestsSid,
|
||||
WinBuiltinPowerUsersSid,
|
||||
WinBuiltinAccountOperatorsSid,
|
||||
WinBuiltinSystemOperatorsSid,
|
||||
WinBuiltinPrintOperatorsSid,
|
||||
WinBuiltinBackupOperatorsSid,
|
||||
WinBuiltinReplicatorSid,
|
||||
WinBuiltinPreWindows2000CompatibleAccessSid,
|
||||
WinBuiltinRemoteDesktopUsersSid,
|
||||
WinBuiltinNetworkConfigurationOperatorsSid,
|
||||
WinAccountAdministratorSid,
|
||||
WinAccountGuestSid,
|
||||
WinAccountKrbtgtSid,
|
||||
WinAccountDomainAdminsSid,
|
||||
WinAccountDomainUsersSid,
|
||||
WinAccountDomainGuestsSid,
|
||||
WinAccountComputersSid,
|
||||
WinAccountControllersSid,
|
||||
WinAccountCertAdminsSid,
|
||||
WinAccountSchemaAdminsSid,
|
||||
WinAccountEnterpriseAdminsSid,
|
||||
WinAccountPolicyAdminsSid,
|
||||
WinAccountRasAndIasServersSid,
|
||||
WinNTLMAuthenticationSid,
|
||||
WinDigestAuthenticationSid,
|
||||
WinSChannelAuthenticationSid,
|
||||
WinThisOrganizationSid,
|
||||
WinOtherOrganizationSid,
|
||||
WinBuiltinIncomingForestTrustBuildersSid,
|
||||
WinBuiltinPerfMonitoringUsersSid,
|
||||
WinBuiltinPerfLoggingUsersSid,
|
||||
WinBuiltinAuthorizationAccessSid,
|
||||
WinBuiltinTerminalServerLicenseServersSid,
|
||||
WinBuiltinDCOMUsersSid
|
||||
} WELL_KNOWN_SID_TYPE;
|
||||
|
||||
#define SE_CREATE_TOKEN_NAME TEXT("SeCreateTokenPrivilege")
|
||||
#define SE_ASSIGNPRIMARYTOKEN_NAME TEXT("SeAssignPrimaryTokenPrivilege")
|
||||
#define SE_LOCK_MEMORY_NAME TEXT("SeLockMemoryPrivilege")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue