#include <ntos.h>
#include <nturtl.h>
#include <ntlsa.h>
#include "seopaque.h"
#include "sertlp.h"
#include "ldrp.h"
Go to the source code of this file.
Functions | |
NTSTATUS | RtlNewSecurityObjectEx (IN PSECURITY_DESCRIPTOR ParentDescriptor OPTIONAL, IN PSECURITY_DESCRIPTOR CreatorDescriptor OPTIONAL, OUT PSECURITY_DESCRIPTOR *NewDescriptor, IN GUID *ObjectType OPTIONAL, IN BOOLEAN IsDirectoryObject, IN ULONG AutoInheritFlags, IN HANDLE Token OPTIONAL, IN PGENERIC_MAPPING GenericMapping) |
NTSTATUS | RtlNewSecurityObject (IN PSECURITY_DESCRIPTOR ParentDescriptor OPTIONAL, IN PSECURITY_DESCRIPTOR CreatorDescriptor OPTIONAL, OUT PSECURITY_DESCRIPTOR *NewDescriptor, IN BOOLEAN IsDirectoryObject, IN HANDLE Token, IN PGENERIC_MAPPING GenericMapping) |
NTSTATUS | RtlSetSecurityObject (IN SECURITY_INFORMATION SecurityInformation, IN PSECURITY_DESCRIPTOR ModificationDescriptor, IN OUT PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, IN PGENERIC_MAPPING GenericMapping, IN HANDLE Token OPTIONAL) |
NTSTATUS | RtlSetSecurityObjectEx (IN SECURITY_INFORMATION SecurityInformation, IN PSECURITY_DESCRIPTOR ModificationDescriptor, IN OUT PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, IN ULONG AutoInheritFlags, IN PGENERIC_MAPPING GenericMapping, IN HANDLE Token OPTIONAL) |
NTSTATUS | RtlQuerySecurityObject (IN PSECURITY_DESCRIPTOR ObjectDescriptor, IN SECURITY_INFORMATION SecurityInformation, OUT PSECURITY_DESCRIPTOR ResultantDescriptor, IN ULONG DescriptorLength, OUT PULONG ReturnLength) |
NTSTATUS | RtlDeleteSecurityObject (IN OUT PSECURITY_DESCRIPTOR *ObjectDescriptor) |
NTSTATUS | RtlNewInstanceSecurityObject (IN BOOLEAN ParentDescriptorChanged, IN BOOLEAN CreatorDescriptorChanged, IN PLUID OldClientTokenModifiedId, OUT PLUID NewClientTokenModifiedId, IN PSECURITY_DESCRIPTOR ParentDescriptor OPTIONAL, IN PSECURITY_DESCRIPTOR CreatorDescriptor OPTIONAL, OUT PSECURITY_DESCRIPTOR *NewDescriptor, IN BOOLEAN IsDirectoryObject, IN HANDLE Token, IN PGENERIC_MAPPING GenericMapping) |
NTSTATUS | RtlNewSecurityGrantedAccess (IN ACCESS_MASK DesiredAccess, OUT PPRIVILEGE_SET Privileges, IN OUT PULONG Length, IN HANDLE Token OPTIONAL, IN PGENERIC_MAPPING GenericMapping, OUT PACCESS_MASK RemainingDesiredAccess) |
NTSTATUS | RtlCopySecurityDescriptor (IN PSECURITY_DESCRIPTOR InputSecurityDescriptor, OUT PSECURITY_DESCRIPTOR *OutputSecurityDescriptor) |
NTSTATUS | RtlpInitializeAllowedAce (IN PACCESS_ALLOWED_ACE AllowedAce, IN USHORT AceSize, IN UCHAR InheritFlags, IN UCHAR AceFlags, IN ACCESS_MASK Mask, IN PSID AllowedSid) |
NTSTATUS | RtlpInitializeDeniedAce (IN PACCESS_DENIED_ACE DeniedAce, IN USHORT AceSize, IN UCHAR InheritFlags, IN UCHAR AceFlags, IN ACCESS_MASK Mask, IN PSID DeniedSid) |
NTSTATUS | RtlpInitializeAuditAce (IN PACCESS_ALLOWED_ACE AuditAce, IN USHORT AceSize, IN UCHAR InheritFlags, IN UCHAR AceFlags, IN ACCESS_MASK Mask, IN PSID AuditSid) |
NTSTATUS | RtlCreateAndSetSD (IN PRTL_ACE_DATA AceData, IN ULONG AceCount, IN PSID OwnerSid OPTIONAL, IN PSID GroupSid OPTIONAL, OUT PSECURITY_DESCRIPTOR *NewDescriptor) |
NTSTATUS | RtlCreateUserSecurityObject (IN PRTL_ACE_DATA AceData, IN ULONG AceCount, IN PSID OwnerSid, IN PSID GroupSid, IN BOOLEAN IsDirectoryObject, IN PGENERIC_MAPPING GenericMapping, OUT PSECURITY_DESCRIPTOR *NewDescriptor) |
NTSTATUS | RtlConvertToAutoInheritSecurityObject (IN PSECURITY_DESCRIPTOR ParentDescriptor OPTIONAL, IN PSECURITY_DESCRIPTOR CurrentSecurityDescriptor, OUT PSECURITY_DESCRIPTOR *NewSecurityDescriptor, IN GUID *ObjectType OPTIONAL, IN BOOLEAN IsDirectoryObject, IN PGENERIC_MAPPING GenericMapping) |
NTSTATUS | RtlDefaultNpAcl (OUT PACL *pAcl) |
|
Definition at line 1786 of file seurtl.c. References RtlpConvertToAutoInheritSecurityObject().
|
|
Definition at line 1021 of file seurtl.c. References Dacl, MAKE_TAG, NULL, Owner, RtlAllocateHeap, RtlpQuerySecurityDescriptor(), and SE_TAG.
|
|
Definition at line 1260 of file seurtl.c. References ASSERT, Dacl, FALSE, HeapHandle, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, RtlAddAce(), RtlAllocateHeap, RtlCreateAcl(), RtlCreateSecurityDescriptor(), RtlFreeHeap, RtlLengthSid(), RtlpInitializeAllowedAce(), RtlpInitializeAuditAce(), RtlpInitializeDeniedAce(), RtlSetDaclSecurityDescriptor(), RtlSetGroupSecurityDescriptor(), RtlSetOwnerSecurityDescriptor(), RtlSetSaclSecurityDescriptor(), SE_TAG, Size, TRUE, and USHORT. Referenced by RtlCreateUserSecurityObject().
|
|
Definition at line 1624 of file seurtl.c. References HeapHandle, NT_SUCCESS, NtClose(), NtOpenProcessToken(), NTSTATUS(), NULL, RtlCreateAndSetSD(), RtlFreeHeap, and RtlNewSecurityObject().
|
|
Definition at line 1860 of file seurtl.c. References ASSERT, NT_SUCCESS, NtClose(), NtOpenProcessToken(), NtOpenThreadToken(), NtQueryInformationToken(), NTSTATUS(), NULL, RtlAddAccessAllowedAce(), RtlAllocateHeap, RtlCreateAcl(), RtlFreeHeap, RtlInitializeSid(), RtlLengthRequiredSid(), RtlLengthSid(), RtlSubAuthoritySid(), Status, and TRUE.
|
|
Definition at line 633 of file seurtl.c. References RtlFreeHeap.
|
|
Definition at line 680 of file seurtl.c. References ClientTokenStatistics, NT_SUCCESS, NtQueryInformationToken(), NTSTATUS(), NULL, RtlEqualLuid(), RtlNewSecurityObject(), Status, and Token.
|
|
Definition at line 818 of file seurtl.c. References ASSERT, FALSE, NT_SUCCESS, NtClose(), NtOpenThreadToken(), NtPrivilegeCheck(), NtQueryInformationToken(), NTSTATUS(), RtlMapGenericMask(), Status, Token, and TRUE.
|
|
Definition at line 280 of file seurtl.c. References NULL, RtlpNewSecurityObject(), and Token. Referenced by EhpAttachSecurity(), RtlCreateUserSecurityObject(), and RtlNewInstanceSecurityObject().
|
|
Definition at line 226 of file seurtl.c. References RtlpNewSecurityObject(), and Token.
|
|
Definition at line 1111 of file seurtl.c. References RtlCopySid(), and RtlLengthSid(). Referenced by RtlCreateAndSetSD().
|
|
Definition at line 1211 of file seurtl.c. References RtlCopySid(), and RtlLengthSid(). Referenced by RtlCreateAndSetSD().
|
|
Definition at line 1161 of file seurtl.c. References RtlCopySid(), and RtlLengthSid(). Referenced by RtlCreateAndSetSD().
|
|
Definition at line 418 of file seurtl.c. References Dacl, Group, NULL, Owner, RtlCreateSecurityDescriptor(), and SeLengthSid.
|
|
Definition at line 331 of file seurtl.c. References NULL, PagedPool, RtlpSetSecurityObject(), and Token.
|
|
Definition at line 373 of file seurtl.c. References NULL, PagedPool, RtlpSetSecurityObject(), and Token.
|