#include <ntrtlp.h>
#include <seopaque.h>
Go to the source code of this file.
Defines | |
#define | FirstAce(Acl) ((PVOID)((PUCHAR)(Acl) + sizeof(ACL))) |
#define | NextAce(Ace) ((PVOID)((PUCHAR)(Ace) + ((PACE_HEADER)(Ace))->AceSize)) |
#define | LongAligned(ptr) (LongAlign(ptr) == ((PVOID)(ptr))) |
#define | WordAligned(ptr) (WordAlign(ptr) == ((PVOID)(ptr))) |
Functions | |
VOID | RtlpAddData (IN PVOID From, IN ULONG FromSize, IN PVOID To, IN ULONG ToSize) |
VOID | RtlpDeleteData (IN PVOID Data, IN ULONG RemoveSize, IN ULONG TotalSize) |
NTSTATUS | RtlCreateAcl (IN PACL Acl, IN ULONG AclLength, IN ULONG AclRevision) |
BOOLEAN | RtlValidAcl (IN PACL Acl) |
NTSTATUS | RtlQueryInformationAcl (IN PACL Acl, OUT PVOID AclInformation, IN ULONG AclInformationLength, IN ACL_INFORMATION_CLASS AclInformationClass) |
NTSTATUS | RtlSetInformationAcl (IN PACL Acl, IN PVOID AclInformation, IN ULONG AclInformationLength, IN ACL_INFORMATION_CLASS AclInformationClass) |
NTSTATUS | RtlAddAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG StartingAceIndex, IN PVOID AceList, IN ULONG AceListLength) |
NTSTATUS | RtlDeleteAce (IN OUT PACL Acl, IN ULONG AceIndex) |
NTSTATUS | RtlGetAce (IN PACL Acl, ULONG AceIndex, OUT PVOID *Ace) |
NTSTATUS | RtlAddCompoundAce (IN PACL Acl, IN ULONG AceRevision, IN UCHAR CompoundAceType, IN ACCESS_MASK AccessMask, IN PSID ServerSid, IN PSID ClientSid) |
NTSTATUS | RtlpAddKnownAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG AceFlags, IN ACCESS_MASK AccessMask, IN PSID Sid, IN UCHAR NewType) |
NTSTATUS | RtlpAddKnownObjectAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG AceFlags, IN ACCESS_MASK AccessMask, IN GUID *ObjectTypeGuid OPTIONAL, IN GUID *InheritedObjectTypeGuid OPTIONAL, IN PSID Sid, IN UCHAR NewType) |
NTSTATUS | RtlAddAccessAllowedAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ACCESS_MASK AccessMask, IN PSID Sid) |
NTSTATUS | RtlAddAccessAllowedAceEx (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG AceFlags, IN ACCESS_MASK AccessMask, IN PSID Sid) |
NTSTATUS | RtlAddAccessDeniedAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ACCESS_MASK AccessMask, IN PSID Sid) |
NTSTATUS | RtlAddAccessDeniedAceEx (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG AceFlags, IN ACCESS_MASK AccessMask, IN PSID Sid) |
NTSTATUS | RtlAddAuditAccessAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ACCESS_MASK AccessMask, IN PSID Sid, IN BOOLEAN AuditSuccess, IN BOOLEAN AuditFailure) |
NTSTATUS | RtlAddAuditAccessAceEx (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG AceFlags, IN ACCESS_MASK AccessMask, IN PSID Sid, IN BOOLEAN AuditSuccess, IN BOOLEAN AuditFailure) |
NTSTATUS | RtlAddAccessAllowedObjectAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG AceFlags, IN ACCESS_MASK AccessMask, IN GUID *ObjectTypeGuid OPTIONAL, IN GUID *InheritedObjectTypeGuid OPTIONAL, IN PSID Sid) |
NTSTATUS | RtlAddAccessDeniedObjectAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG AceFlags, IN ACCESS_MASK AccessMask, IN GUID *ObjectTypeGuid OPTIONAL, IN GUID *InheritedObjectTypeGuid OPTIONAL, IN PSID Sid) |
NTSTATUS | RtlAddAuditAccessObjectAce (IN OUT PACL Acl, IN ULONG AceRevision, IN ULONG AceFlags, IN ACCESS_MASK AccessMask, IN GUID *ObjectTypeGuid OPTIONAL, IN GUID *InheritedObjectTypeGuid OPTIONAL, IN PSID Sid, IN BOOLEAN AuditSuccess, IN BOOLEAN AuditFailure) |
BOOLEAN | RtlFirstFreeAce (IN PACL Acl, OUT PVOID *FirstFree) |
|
|
|
Definition at line 56 of file acledit.c. Referenced by RtlValidAcl(), and SeValidSecurityDescriptor(). |
|
|
|
Definition at line 57 of file acledit.c. Referenced by RtlValidAcl(). |
|
Definition at line 1607 of file acledit.c. References RTL_PAGED_CODE, and RtlpAddKnownAce(). Referenced by CmpHiveRootSecurityDescriptor(), CreateBSMEventSD(), IopApplySystemPartitionProt(), ObpGetDosDevicesProtection(), RtlDefaultNpAcl(), SeMakeAnonymousLogonToken(), SeMakeSystemToken(), SepCreateImpersonationTokenDacl(), SepInitializationPhase1(), SepInitSystemDacls(), SeRmInitPhase1(), and SmbTraceStart().
|
|
Definition at line 1666 of file acledit.c. References RTL_PAGED_CODE, and RtlpAddKnownAce(). Referenced by IopInitializePlugPlayServices(), and IopOpenDeviceParametersSubkey().
|
|
Definition at line 2008 of file acledit.c. References NULL, RTL_PAGED_CODE, RtlpAddKnownAce(), and RtlpAddKnownObjectAce().
|
|
Definition at line 1727 of file acledit.c. References RTL_PAGED_CODE, and RtlpAddKnownAce().
|
|
Definition at line 1787 of file acledit.c. References RTL_PAGED_CODE, and RtlpAddKnownAce().
|
|
Definition at line 2095 of file acledit.c. References NULL, RTL_PAGED_CODE, RtlpAddKnownAce(), and RtlpAddKnownObjectAce().
|
|
Definition at line 718 of file acledit.c. References FirstAce, NextAce, NULL, RTL_PAGED_CODE, RtlFirstFreeAce(), RtlpAddData(), RtlValidAcl(), and USHORT. Referenced by CreateDAclToken(), CreateSecurityDescriptor(), GenerateDescriptor(), IopOpenDeviceParametersSubkey(), main(), RtlCreateAndSetSD(), TestAddAce(), and TestSeAclRtl().
|
|
Definition at line 1849 of file acledit.c. References RTL_PAGED_CODE, and RtlpAddKnownAce(). Referenced by ObInitSystem().
|
|
Definition at line 1926 of file acledit.c. References RTL_PAGED_CODE, and RtlpAddKnownAce().
|
|
Definition at line 2182 of file acledit.c. References NULL, RTL_PAGED_CODE, RtlpAddKnownAce(), and RtlpAddKnownObjectAce().
|
|
Definition at line 1098 of file acledit.c. References NULL, RTL_PAGED_CODE, RtlCopySid(), RtlFirstFreeAce(), RtlValidAcl(), RtlValidSid(), SeLengthSid, and USHORT.
|
|
Definition at line 99 of file acledit.c. References RTL_PAGED_CODE, and USHORT. Referenced by CmpHiveRootSecurityDescriptor(), CreateBSMEventSD(), CreateDAclToken(), CreateSecurityDescriptor(), GenerateDescriptor(), IopApplySystemPartitionProt(), IopInitializePlugPlayServices(), IopOpenDeviceParametersSubkey(), main(), ObInitSystem(), ObpGetDosDevicesProtection(), RtlCreateAndSetSD(), RtlDefaultNpAcl(), RtlpComputeMergedAcl2(), RtlpConvertAclToAutoInherit(), RtlpCreateServerAcl(), RtlpInheritAcl2(), SeMakeAnonymousLogonToken(), SeMakeSystemToken(), SepCreateImpersonationTokenDacl(), SepInitializationPhase1(), SepInitSystemDacls(), SeRmInitPhase1(), SmbTraceStart(), TestAddAce(), TestCreateAcl(), TestSeAclRtl(), TestTokenAssignPrimary(), TestTokenCreate(), and TestTokenSet().
|
|
Definition at line 895 of file acledit.c. References FirstAce, NextAce, RTL_PAGED_CODE, RtlFirstFreeAce(), RtlpDeleteData(), and RtlValidAcl(). Referenced by CreateDAclToken(), main(), TestDeleteAce(), and TestSeAclRtl().
|
|
Definition at line 2599 of file acledit.c. References FALSE, FirstAce, NextAce, NULL, RTL_PAGED_CODE, and TRUE. Referenced by RtlAddAce(), RtlAddCompoundAce(), RtlDeleteAce(), RtlpAddKnownAce(), RtlpAddKnownObjectAce(), RtlpCopyAces(), RtlpGenerateInheritedAce(), RtlpInheritAcl2(), and RtlQueryInformationAcl().
|
|
Definition at line 996 of file acledit.c. References FirstAce, NextAce, and RTL_PAGED_CODE. Referenced by CmpHiveRootSecurityDescriptor(), IopCreateDefaultDeviceSecurityDescriptor(), IopOpenDeviceParametersSubkey(), main(), ObInitSystem(), ObpGetDosDevicesProtection(), TestGetAce(), and TestSeAclRtl().
|
|
Definition at line 2684 of file acledit.c. Referenced by RtlAddAce().
|
|
Definition at line 1242 of file acledit.c. References _KNOWN_ACE::Header, _KNOWN_ACE::Mask, NULL, RTL_PAGED_CODE, RtlCopySid(), RtlFirstFreeAce(), RtlValidAcl(), RtlValidSid(), SeLengthSid, _KNOWN_ACE::SidStart, and USHORT. Referenced by RtlAddAccessAllowedAce(), RtlAddAccessAllowedAceEx(), RtlAddAccessAllowedObjectAce(), RtlAddAccessDeniedAce(), RtlAddAccessDeniedAceEx(), RtlAddAccessDeniedObjectAce(), RtlAddAuditAccessAce(), RtlAddAuditAccessAceEx(), and RtlAddAuditAccessObjectAce().
|
|
Definition at line 1405 of file acledit.c. References NULL, RTL_PAGED_CODE, RtlCopySid(), RtlFirstFreeAce(), RtlValidAcl(), RtlValidSid(), SeLengthSid, and USHORT. Referenced by RtlAddAccessAllowedObjectAce(), RtlAddAccessDeniedObjectAce(), and RtlAddAuditAccessObjectAce().
|
|
Definition at line 2764 of file acledit.c. Referenced by RtlDeleteAce().
|
|
Definition at line 460 of file acledit.c. References NTSTATUS(), NULL, RTL_PAGED_CODE, RtlFirstFreeAce(), and Status. Referenced by IopOpenDeviceParametersSubkey(), main(), RtlLengthUsedSecurityDescriptor(), TestQueryInformationAcl(), and TestSeAclRtl().
|
|
Definition at line 614 of file acledit.c. References RTL_PAGED_CODE. Referenced by TestSeAclRtl(), and TestSetInformationAcl().
|
|
Definition at line 187 of file acledit.c. References EXCEPTION_EXECUTE_HANDLER, FALSE, KNOWN_ACE, LongAligned, PKNOWN_ACE, RTL_PAGED_CODE, SeLengthSid, TRUE, and WordAligned. Referenced by RtlAddAce(), RtlAddCompoundAce(), RtlDeleteAce(), RtlpAddKnownAce(), RtlpAddKnownObjectAce(), RtlpConvertAclToAutoInherit(), RtlValidRelativeSecurityDescriptor(), RtlValidSecurityDescriptor(), SepCheckAcl(), SeValidSecurityDescriptor(), TestSeAclRtl(), and TestTokenQuery().
|