#include "sep.h"
#include <sertlp.h>
Go to the source code of this file.
Defines | |
#define | LongAligned(ptr) (LongAlignPtr(ptr) == (ptr)) |
Functions | |
NTSTATUS | SeCaptureSecurityDescriptor (IN PSECURITY_DESCRIPTOR InputSecurityDescriptor, IN KPROCESSOR_MODE RequestorMode, IN POOL_TYPE PoolType, IN BOOLEAN ForceCapture, OUT PSECURITY_DESCRIPTOR *OutputSecurityDescriptor) |
VOID | SeReleaseSecurityDescriptor (IN PSECURITY_DESCRIPTOR CapturedSecurityDescriptor, IN KPROCESSOR_MODE RequestorMode, IN BOOLEAN ForceCapture) |
NTSTATUS | SepCopyProxyData (OUT PSECURITY_TOKEN_PROXY_DATA *DestProxyData, IN PSECURITY_TOKEN_PROXY_DATA SourceProxyData) |
VOID | SepFreeProxyData (IN PSECURITY_TOKEN_PROXY_DATA ProxyData) |
NTSTATUS | SepProbeAndCaptureQosData (IN PSECURITY_ADVANCED_QUALITY_OF_SERVICE CapturedSecurityQos) |
VOID | SeFreeCapturedSecurityQos (IN PVOID SecurityQos) |
NTSTATUS | SeCaptureSecurityQos (IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN KPROCESSOR_MODE RequestorMode, OUT PBOOLEAN SecurityQosPresent, OUT PSECURITY_ADVANCED_QUALITY_OF_SERVICE CapturedSecurityQos) |
NTSTATUS | SeCaptureSid (IN PSID InputSid, IN KPROCESSOR_MODE RequestorMode, IN PVOID CaptureBuffer OPTIONAL, IN ULONG CaptureBufferLength, IN POOL_TYPE PoolType, IN BOOLEAN ForceCapture, OUT PSID *CapturedSid) |
VOID | SeReleaseSid (IN PSID CapturedSid, IN KPROCESSOR_MODE RequestorMode, IN BOOLEAN ForceCapture) |
NTSTATUS | SeCaptureAcl (IN PACL InputAcl, IN KPROCESSOR_MODE RequestorMode, IN PVOID CaptureBuffer OPTIONAL, IN ULONG CaptureBufferLength, IN POOL_TYPE PoolType, IN BOOLEAN ForceCapture, OUT PACL *CapturedAcl, OUT PULONG AlignedAclSize) |
VOID | SeReleaseAcl (IN PACL CapturedAcl, IN KPROCESSOR_MODE RequestorMode, IN BOOLEAN ForceCapture) |
NTSTATUS | SeCaptureLuidAndAttributesArray (IN PLUID_AND_ATTRIBUTES InputArray, IN ULONG ArrayCount, IN KPROCESSOR_MODE RequestorMode, IN PVOID CaptureBuffer OPTIONAL, IN ULONG CaptureBufferLength, IN POOL_TYPE PoolType, IN BOOLEAN ForceCapture, OUT PLUID_AND_ATTRIBUTES *CapturedArray, OUT PULONG AlignedArraySize) |
VOID | SeReleaseLuidAndAttributesArray (IN PLUID_AND_ATTRIBUTES CapturedArray, IN KPROCESSOR_MODE RequestorMode, IN BOOLEAN ForceCapture) |
NTSTATUS | SeCaptureSidAndAttributesArray (IN PSID_AND_ATTRIBUTES InputArray, IN ULONG ArrayCount, IN KPROCESSOR_MODE RequestorMode, IN PVOID CaptureBuffer OPTIONAL, IN ULONG CaptureBufferLength, IN POOL_TYPE PoolType, IN BOOLEAN ForceCapture, OUT PSID_AND_ATTRIBUTES *CapturedArray, OUT PULONG AlignedArraySize) |
VOID | SeReleaseSidAndAttributesArray (IN PSID_AND_ATTRIBUTES CapturedArray, IN KPROCESSOR_MODE RequestorMode, IN BOOLEAN ForceCapture) |
NTSTATUS | SeComputeQuotaInformationSize (IN PSECURITY_DESCRIPTOR SecurityDescriptor, OUT PULONG Size) |
BOOLEAN | SeValidSecurityDescriptor (IN ULONG Length, IN PSECURITY_DESCRIPTOR SecurityDescriptor) |
|
Definition at line 49 of file se/capture.c. |
|
Definition at line 1370 of file se/capture.c. References ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, KernelMode, NULL, PAGED_CODE, ProbeAndReadUshort, ProbeForRead, and SepCheckAcl(). Referenced by NtCreateToken(), and NtSetInformationToken().
|
|
Definition at line 1608 of file se/capture.c. References ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, InputArray, KernelMode, NULL, PAGED_CODE, ProbeForRead, and SEP_MAX_PRIVILEGE_COUNT. Referenced by NtAdjustPrivilegesToken(), NtCreateToken(), NtFilterToken(), NtPrivilegeCheck(), and PspCaptureTokenFilter().
|
|
Definition at line 53 of file se/capture.c. References ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), ExRaiseDatatypeMisalignment(), FALSE, KernelMode, NULL, PAGED_CODE, ProbeAndReadUchar, ProbeAndReadUshort, ProbeForRead, RtlLengthRequiredSid(), RtlValidSid(), SepCheckAcl(), Size, and USHORT. Referenced by IopGetRegistrySecurityWithFallback(), IopSetSecurityObjectFromRegistry(), NtLoadKey2(), NtOpenObjectAuditAlarm(), NtSetSecurityObject(), NtUserCreateWindowStation(), ObpCaptureObjectCreateInformation(), SeAccessCheckByType(), SepAccessCheckAndAuditAlarm(), and TestCaptureSecurityDescriptor().
|
|
Definition at line 953 of file se/capture.c. References EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, PAGED_CODE, ProbeForRead, SepFreeProxyData(), SepProbeAndCaptureQosData(), Status, and TRUE. Referenced by NtCreateToken(), and NtDuplicateToken().
|
|
Definition at line 1141 of file se/capture.c. References ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, KernelMode, NULL, PAGED_CODE, ProbeAndReadUchar, ProbeForRead, RtlLengthRequiredSid(), and RtlValidSid(). Referenced by NtCreateToken(), NtSecureConnectPort(), NtSetInformationToken(), SeAccessCheckByType(), and SepAccessCheckAndAuditAlarm().
|
|
Definition at line 1850 of file se/capture.c. References ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, InputArray, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, ProbeAndReadUchar, ProbeForRead, RtlLengthRequiredSid(), RtlLengthSid(), RtlValidSid(), and SEP_MAX_GROUP_COUNT. Referenced by NtAdjustGroupsToken(), NtCreateToken(), NtFilterToken(), and PspCaptureTokenFilter().
|
|
Definition at line 2350 of file se/capture.c. References Dacl, Group, NULL, PAGED_CODE, SeLengthSid, and Size. Referenced by ObpCaptureObjectCreateInformation().
|
|
Definition at line 910 of file se/capture.c. References ExFreePool(), NULL, PAGED_CODE, SecurityQos, and SepFreeProxyData(). Referenced by NtCreateToken(), and NtDuplicateToken().
|
|
Definition at line 681 of file se/capture.c. References ExAllocatePoolWithTag, ExFreePool(), NULL, PAGED_CODE, PagedPool, and RtlCopyUnicodeString(). Referenced by SepCreateToken(), SepDuplicateToken(), SepFilterToken(), and SepProbeAndCaptureQosData().
|
|
Definition at line 737 of file se/capture.c. References ExFreePool(), NULL, and PAGED_CODE. Referenced by SeCaptureSecurityQos(), SeFreeCapturedSecurityQos(), SepDuplicateToken(), SepFilterToken(), SepProbeAndCaptureQosData(), and SepTokenDeleteMethod().
|
|
Definition at line 773 of file se/capture.c. References ExAllocatePool, ExFreePool(), NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, PagedPool, ProbeForRead, SepCopyProxyData(), SepFreeProxyData(), and Status. Referenced by SeCaptureSecurityQos().
|
|
Definition at line 1560 of file se/capture.c. References ExFreePool(), KernelMode, PAGED_CODE, TRUE, and UserMode. Referenced by NtCreateToken(), and NtSetInformationToken().
|
|
Definition at line 1797 of file se/capture.c. References ExFreePool(), KernelMode, NULL, PAGED_CODE, TRUE, and UserMode. Referenced by NtAdjustPrivilegesToken(), NtCreateToken(), NtFilterToken(), and NtPrivilegeCheck().
|
|
Definition at line 631 of file se/capture.c. References ExFreePool(), KernelMode, PAGED_CODE, TRUE, and UserMode. Referenced by IopSetSecurityObjectFromRegistry(), NtOpenObjectAuditAlarm(), NtSetSecurityObject(), NtUserCreateWindowStation(), ObInsertObject(), SeAccessCheckByType(), and SepAccessCheckAndAuditAlarm().
|
|
Definition at line 1320 of file se/capture.c. References ExFreePool(), KernelMode, PAGED_CODE, TRUE, and UserMode. Referenced by NtCreateToken(), NtSecureConnectPort(), NtSetInformationToken(), SeAccessCheckByType(), and SepAccessCheckAndAuditAlarm().
|
|
Definition at line 2297 of file se/capture.c. References ExFreePool(), KernelMode, PAGED_CODE, TRUE, and UserMode. Referenced by NtAdjustGroupsToken(), NtCreateToken(), and NtFilterToken().
|
|
Definition at line 2414 of file se/capture.c. References Dacl, FALSE, LongAligned, RtlValidAcl(), SeLengthSid, and TRUE. Referenced by CmpValidateHiveSecurityDescriptors().
|