#include "obp.h"
Go to the source code of this file.
Classes | |
struct | __OBP_SET_HANDLE_ATTRIBUTES |
Defines | |
#define | OBP_MISSING_NAME_LITERAL L"..." |
#define | OBP_MISSING_NAME_LITERAL_SIZE (sizeof( OBP_MISSING_NAME_LITERAL ) - sizeof( UNICODE_NULL )) |
Typedefs | |
typedef __OBP_SET_HANDLE_ATTRIBUTES | OBP_SET_HANDLE_ATTRIBUTES |
typedef __OBP_SET_HANDLE_ATTRIBUTES * | POBP_SET_HANDLE_ATTRIBUTES |
Functions | |
BOOLEAN | ObpSetHandleAttributes (IN OUT PVOID TableEntry, IN ULONG_PTR Parameter) |
NTSTATUS | NtQueryObject (IN HANDLE Handle, IN OBJECT_INFORMATION_CLASS ObjectInformationClass, OUT PVOID ObjectInformation, IN ULONG ObjectInformationLength, OUT PULONG ReturnLength OPTIONAL) |
NTSTATUS NTAPI | NtSetInformationObject (IN HANDLE Handle, IN OBJECT_INFORMATION_CLASS ObjectInformationClass, IN PVOID ObjectInformation, IN ULONG ObjectInformationLength) |
NTSTATUS | ObQueryNameString (IN PVOID Object, OUT POBJECT_NAME_INFORMATION ObjectNameInfo, IN ULONG Length, OUT PULONG ReturnLength) |
NTSTATUS | ObQueryTypeName (IN PVOID Object, PUNICODE_STRING ObjectTypeName, IN ULONG Length, OUT PULONG ReturnLength) |
NTSTATUS | ObQueryTypeInfo (IN POBJECT_TYPE ObjectType, OUT POBJECT_TYPE_INFORMATION ObjectTypeInfo, IN ULONG Length, OUT PULONG ReturnLength) |
NTSTATUS | ObQueryObjectAuditingByHandle (IN HANDLE Handle, OUT PBOOLEAN GenerateOnClose) |
BOOLEAN | ObpSetHandleAttributes (IN OUT PHANDLE_TABLE_ENTRY ObjectTableEntry, IN ULONG_PTR Parameter) |
|
Definition at line 709 of file obquery.c. Referenced by ObQueryNameString(). |
|
Definition at line 710 of file obquery.c. Referenced by ObQueryNameString(). |
|
|
|
Referenced by ObpSetHandleAttributes(). |
|
Definition at line 58 of file obquery.c. References ALIGN_UP, _OBJECT_HEADER_NAME_INFO::Directory, EXCEPTION_EXECUTE_HANDLER, FALSE, _OBJECT_HEADER::Flags, _OBJECT_HANDLE_INFORMATION::GrantedAccess, Handle, _OBJECT_HANDLE_INFORMATION::HandleAttributes, _OBJECT_HEADER::HandleCount, KernelMode, KPROCESSOR_MODE, _OBJECT_TYPE::Name, _OBJECT_HEADER_NAME_INFO::Name, _OBJECT_HEADER_QUOTA_INFO::NonPagedPoolCharge, NT_SUCCESS, NTSTATUS(), NULL, OB_FLAG_EXCLUSIVE_OBJECT, OB_FLAG_PERMANENT_OBJECT, ObDereferenceObject, OBJ_PROTECT_CLOSE, OBJECT_HEADER_TO_NAME_INFO, OBJECT_HEADER_TO_QUOTA_INFO, OBJECT_TO_OBJECT_HEADER, OBP_MAX_DEFINED_OBJECT_TYPES, ObpAcquireDescriptorCacheReadLock(), ObpEnterRootDirectoryMutex, ObpLeaveRootDirectoryMutex, ObpObjectTypes, ObpReleaseDescriptorCacheLock(), ObpSymbolicLinkObjectType, ObQueryNameString(), ObQueryTypeInfo(), ObReferenceObjectByHandle(), PAGED_CODE, _OBJECT_HEADER_QUOTA_INFO::PagedPoolCharge, _OBJECT_HEADER::PointerCount, ProbeForWrite(), ProbeForWriteUlong, RtlLengthSecurityDescriptor(), _OBJECT_HEADER::SecurityDescriptor, Status, TRUE, and _OBJECT_HEADER::Type. Referenced by InitializeRestrictedStuff(), IopLoadDriver(), IsInterestingPath(), TestParent(), and xProtectHandle().
|
|
Definition at line 545 of file obquery.c. References ASSERT, DecodeKernelHandle, ExChangeHandle(), ExSystemExceptionFilter(), FALSE, Handle, IsKernelHandle, KernelMode, KeStackAttachProcess(), KeUnstackDetachProcess(), KPROCESSOR_MODE, NTSTATUS(), __OBP_SET_HANDLE_ATTRIBUTES::ObjectInformation, ObpGetObjectTable, ObpKernelHandleTable, ObpSetHandleAttributes(), PAGED_CODE, _EPROCESS::Pcb, __OBP_SET_HANDLE_ATTRIBUTES::PreviousMode, ProbeForRead, PsGetCurrentProcess, PsInitialSystemProcess, Status, and TRUE. Referenced by xProtectHandle().
|
|
Definition at line 1469 of file obquery.c. References FALSE, _OBJECT_HEADER::Flags, _OBJECT_TYPE_INITIALIZER::InvalidAttributes, KernelMode, OB_FLAG_KERNEL_OBJECT, OBJ_HANDLE_ATTRIBUTES, OBJ_PROTECT_CLOSE, __OBP_SET_HANDLE_ATTRIBUTES::ObjectInformation, POBP_SET_HANDLE_ATTRIBUTES, __OBP_SET_HANDLE_ATTRIBUTES::PreviousMode, TRUE, _OBJECT_HEADER::Type, and _OBJECT_TYPE::TypeInfo.
|
|
Referenced by NtSetInformationObject(). |
|
Definition at line 713 of file obquery.c. References _OBJECT_HEADER_NAME_INFO::Directory, EXCEPTION_EXECUTE_HANDLER, _OBJECT_HEADER_NAME_INFO::Name, NTSTATUS(), NULL, OBJECT_HEADER_TO_NAME_INFO, OBJECT_TO_OBJECT_HEADER, OBP_MISSING_NAME_LITERAL, OBP_MISSING_NAME_LITERAL_SIZE, ObpBeginTypeSpecificCallOut, ObpEndTypeSpecificCallOut, ObpEnterRootDirectoryMutex, ObpLeaveRootDirectoryMutex, ObpRootDirectoryObject, PAGED_CODE, _OBJECT_TYPE_INITIALIZER::QueryNameProcedure, Status, String, _OBJECT_HEADER::Type, _OBJECT_TYPE::TypeInfo, and USHORT. Referenced by CcWriteBehind(), IoGetDeviceProperty(), IopBuildCmResourceList(), IopCaptureObjectName(), IopErrorLogThread(), IopQueryName(), IopRaiseHardError(), MmGetFileNameForSection(), NtQueryObject(), NtQueryVirtualMemory(), ObGetObjectInformation(), and SepQueryNameString().
|
|
Definition at line 1319 of file obquery.c. References ExMapHandleToPointer(), ExUnlockHandleTableEntry(), FALSE, Handle, KeEnterCriticalRegion, KeLeaveCriticalRegion, NTSTATUS(), NULL, _HANDLE_TABLE_ENTRY::ObAttributes, OBJ_AUDIT_OBJECT_CLOSE, ObpGetObjectTable, ObpValidateIrql, PAGED_CODE, Status, and TRUE.
|
|
Definition at line 1216 of file obquery.c. References ALIGN_UP, EXCEPTION_EXECUTE_HANDLER, NTSTATUS(), and Status. Referenced by NtQueryObject().
|
|
Definition at line 1082 of file obquery.c. References EXCEPTION_EXECUTE_HANDLER, _OBJECT_TYPE::Name, OBJECT_TO_OBJECT_HEADER, PAGED_CODE, String, _OBJECT_HEADER::Type, and USHORT. Referenced by ObGetObjectInformation(), and SepQueryTypeString().
|