#include "tokenp.h"
Go to the source code of this file.
Defines | |
#define | GENERIC_ACCESS (GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE | GENERIC_ALL) |
#define | SEP_PRIVILEGE_SET_HEADER_SIZE |
Functions | |
NTSTATUS | SeCreateAccessState (IN PACCESS_STATE AccessState, IN PAUX_ACCESS_DATA AuxData, IN ACCESS_MASK DesiredAccess, IN PGENERIC_MAPPING GenericMapping OPTIONAL) |
VOID | SeDeleteAccessState (PACCESS_STATE AccessState) |
VOID | SeSetAccessStateGenericMapping (PACCESS_STATE AccessState, PGENERIC_MAPPING GenericMapping) |
NTSTATUS | SeAppendPrivileges (PACCESS_STATE AccessState, PPRIVILEGE_SET Privileges) |
VOID | SepConcatenatePrivileges (IN PPRIVILEGE_SET TargetPrivilegeSet, IN ULONG TargetBufferSize, IN PPRIVILEGE_SET SourcePrivilegeSet) |
|
Definition at line 40 of file seastate.c. |
|
Value: Definition at line 49 of file seastate.c. Referenced by SepConcatenatePrivileges(). |
|
Definition at line 434 of file seastate.c. References _ACCESS_STATE::AuxData, ExAllocatePoolWithTag, ExFreePool(), INITIAL_PRIVILEGE_COUNT, NULL, PAGED_CODE, PagedPool, _ACCESS_STATE::PrivilegesAllocated, _AUX_ACCESS_DATA::PrivilegesUsed, SepConcatenatePrivileges(), SepPrivilegeSetSize, and TRUE. Referenced by IopCheckBackupRestorePrivilege(), IopParseDevice(), ObCheckCreateObjectAccess(), ObCheckObjectAccess(), ObpCheckTraverseAccess(), and ObpIncrementHandleCount().
|
|
Definition at line 180 of file seastate.c. References ACCESS_STATE, ASSERT, EffectiveToken, ExAllocateLocallyUniqueId, FALSE, GENERIC_ACCESS, NULL, PAGED_CODE, PTOKEN, RtlMapGenericMask(), SeCaptureSubjectContext(), and TOKEN_HAS_TRAVERSE_PRIVILEGE. Referenced by AccessCheckObject(), NtDuplicateObject(), NtOpenProcess(), NtOpenThread(), ObInsertObject(), ObOpenObjectByName(), ObOpenObjectByPointer(), ObReferenceObjectByName(), and SepCreateToken().
|
|
Definition at line 348 of file seastate.c. References _ACCESS_STATE::AuxData, ExFreePool(), NULL, _ACCESS_STATE::ObjectName, _ACCESS_STATE::ObjectTypeName, PAGED_CODE, _ACCESS_STATE::PrivilegesAllocated, _AUX_ACCESS_DATA::PrivilegesUsed, SeReleaseSubjectContext(), and _ACCESS_STATE::SubjectSecurityContext. Referenced by AccessCheckObject(), NtDuplicateObject(), NtOpenProcess(), NtOpenThread(), ObInsertObject(), ObOpenObjectByName(), ObOpenObjectByPointer(), ObReferenceObjectByName(), and SepCreateToken().
|
|
Definition at line 543 of file seastate.c. References ASSERT, PAGED_CODE, SEP_PRIVILEGE_SET_HEADER_SIZE, and SepPrivilegeSetSize. Referenced by SeAppendPrivileges().
|
|
Definition at line 396 of file seastate.c. References _ACCESS_STATE::AuxData, _AUX_ACCESS_DATA::GenericMapping, and PAGED_CODE. Referenced by IopParseDevice().
|