#include "obp.h"
Go to the source code of this file.
Functions | |
NTSTATUS | NtClose (IN HANDLE Handle) |
NTSTATUS | NtMakeTemporaryObject (IN HANDLE Handle) |
VOID | ObMakeTemporaryObject (IN PVOID Object) |
Variables | |
BOOLEAN | SepAdtAuditingEnabled |
|
Definition at line 37 of file obclose.c. References ASSERT, _OBJECT_HEADER::Body, DecodeKernelHandle, ExDestroyHandle(), ExMapHandleToPointer(), ExUnlockHandleTableEntry(), FALSE, _HANDLE_TABLE_ENTRY::GrantedAccess, _HANDLE_TABLE_ENTRY::GrantedAccessIndex, Handle, IsKernelHandle, KdDebuggerEnabled, KeBugCheckEx(), KeEnterCriticalRegion, KeLeaveCriticalRegion, KeRaiseUserException(), KernelMode, KeStackAttachProcess(), KeUnstackDetachProcess(), NtGlobalFlag, NTSTATUS(), NULL, _HANDLE_TABLE_ENTRY::ObAttributes, ObDereferenceObject, OBJ_AUDIT_OBJECT_CLOSE, OBJ_HANDLE_ATTRIBUTES, OBJ_PROTECT_CLOSE, _HANDLE_TABLE_ENTRY::Object, ObpBeginTypeSpecificCallOut, ObpDecrementHandleCount(), ObpEndTypeSpecificCallOut, ObpGetObjectTable, ObpKernelHandleTable, ObpTypeObjectType, ObpValidateIrql, _OBJECT_TYPE_INITIALIZER::OkayToCloseProcedure, _EPROCESS::Pcb, PsGetCurrentProcess, PsGetCurrentThread, PsInitialSystemProcess, PsIsThreadTerminating, SeCloseObjectAuditAlarm(), SepAdtAuditingEnabled, Status, TRUE, _OBJECT_HEADER::Type, and _OBJECT_TYPE::TypeInfo. Referenced by AbortCreateConsole(), AllocateConsole(), AllocConsoleInternal(), bCleanConvertedTTFs(), bLoadableFontDrivers(), ChangeMemberState(), CheckRestricted(), CheckValidLayoutName(), CleanupConsoleMessages(), CleanupSessionObjectDirectories(), CliGetImeHotKeysFromRegistry(), CliSetSingleHotKey(), CmGetSystemDriverList(), CmInitSystem1(), CmpAddAcpiAliasEntry(), CmpAddAliasEntry(), CmpAddToHiveFileList(), CmpCloneControlSet(), CmpCloneHwProfile(), CmpCreateControlSet(), CmpGetAcpiProfileInformation(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpInterlockedFunction(), CmpLinkKeyToHive(), CmpProcessAddRegLine(), CmpProcessBitRegLine(), CmpProcessDelRegLine(), CmpRemoveFromHiveFileList(), CmpSaveBootControlSet(), CmpSetupConfigurationTree(), CmpSetVersionData(), CmpWorkerCommand(), CommonCreateWindowStation(), CommonOpenWindowStation(), ConnectConsoleInternal(), ConsoleClientShutdown(), ConsoleWindowProc(), Copy(), CopyRestrictedFile(), CopyStream(), CreateConsoleBitmap(), CreateDirectories(), CsrpConnectToServer(), Delete(), DestroyWindowsWindow(), DisableAllPrivileges(), DiskDump(), DoEventTest(), DoMutantTest(), DoSemaphoreTest(), DoTimerTest(), Dump(), DumpObjectDirs(), EhCloseHive(), EnableAllPrivileges(), ExitWindowsWorker(), ExpInitializeCallbacks(), FixDisk(), FreeConsoleBitmap(), FtCreateKey(), FtDeleteKey(), GetActiveKeyboardName(), GetBadAppCmdLine(), GetDiskInfo(), GetErrorMode(), GetHardErrorText(), GetMySid(), GetRealDllFileNameWorker(), GetRegistryValues(), GetServerIMEKeyboardLayout(), GetTimeouts(), ImeRunHelp(), InitializeRestrictedStuff(), InitWindowsStuff(), InternalCreateCallbackThread(), IoCreateController(), IoCreateDevice(), IoCreateStreamFileObject(), IoIsValidNameGraftingBuffer(), IopAddRemoteBootValuesToRegistry(), IopApplySystemPartitionProt(), IopCacheNetbiosNameForIpAddress(), IopConnectLinkTrackingPort(), IopCreateRootDirectories(), IopErrorLogConnectPort(), IopErrorLogThread(), IopGetDriverTagPriority(), IopInitializeBootDrivers(), IopInitializeBuiltinDriver(), IopInitializePlugPlayServices(), IopLoadDriver(), IopMarkBootPartition(), IopOpenLinkOrRenameTarget(), IopProtectSystemPartition(), IopReadDumpRegistry(), IopReassignSystemRoot(), IopReferenceDriverObjectByName(), IopSafebootDriverLoad(), IopSetDefaultGateway(), IopStartNetworkForRemoteBoot(), IopStartTcpIpForRemoteBoot(), IopStoreSystemPartitionInformation(), IoSetInformation(), IsPrivileged(), KbdLayerRealDllFileForWBT(), LaunchHelper(), LdrLoadAlternateResourceModule(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), LdrpInitializeProcess(), LdrpMapDll(), LdrQueryImageFileExecutionOptions(), LdrVerifyImageMatchesChecksum(), ListDrivers(), LoadAppDlls(), LoadKeyboardLayoutWorker(), LpcpCreatePort(), main(), MapViewOfSection(), MiSectionInitialization(), MyCmpInitHiveFromFile(), NtAcceptConnectPort(), NtCreateKey(), NtDuplicateObject(), NtNotifyChangeMultipleKeys(), NtOpenKey(), NtQueryOpenSubKeys(), NtSecureConnectPort(), NtSetInformationFile(), NtUnloadDriver(), NtUnloadKey(), ObInitSystem(), ObpCreateDosDevicesDirectory(), obtest(), OpenAppropriateToken(), OpenKeyboardLayoutFile(), ProcessCtrlEvents(), PropertiesDlgShow(), PropertiesUpdate(), RegLoadAsciiFileAsUnicode(), RegReadBinaryFile(), RemoteMessageThread(), RemoveConsole(), ReplyMessageToTerminalServer(), ResetAllPrivileges(), RtlAdjustPrivilege(), RtlCreateQueryDebugBuffer(), RtlCreateUserSecurityObject(), RtlDefaultNpAcl(), RtlDeleteCriticalSection(), RtlDeleteResource(), RtlDestroyQueryDebugBuffer(), RtlGetNtProductType(), RtlImpersonateSelf(), RtlInitializeCriticalSectionAndSpinCount(), RtlInitializeRXact(), RtlNewSecurityGrantedAccess(), RtlpChangeQueryDebugBufferTarget(), RtlpCheckRelativeDrive(), RtlpFindWaitThread(), RtlpFreeWaitEvent(), RtlpGetDefaultsSubjectContext(), RtlpIOWorkerThread(), RtlpLpcDerefContext(), RtlpSetSecurityObject(), RtlpStartIOWorkerThread(), RtlpStartWorkerThread(), RtlpValidateCurrentDirectory(), RtlpValidOwnerSubjectContext(), RtlpWaitThread(), RtlpWorkerThread(), RtlQueryProcessDebugInformation(), RtlQueryRegistryValues(), RtlSetCurrentDirectory_U(), RtlShutdownLpcServer(), RtlThreadPoolCleanup(), RXactpCommit(), SeFilterToken(), SepAdtInitializeAuditingOptions(), SepAdtInitializeBounds(), SepAdtInitializeCrashOnFail(), SepAdtInitializePrivilegeAuditing(), SepClientDropConnection(), SepClientInitialize(), SepClientOpenPipe(), SepInitializationPhase1(), SepRmCommandServerThreadInit(), SepServerDisconnectPipe(), SepServerInitialize(), SetConsoleCP(), SetConsoleDisplayMode(), SrvRegisterConsoleVDM(), SrvSetConsoleCP(), SrvSetConsoleDisplayMode(), SubstituteDeviceName(), TerminalServerRequestThread(), TestParent(), TestSeAccess(), TestSeNamedCreate(), TestSeUnnamedCreate(), TestTokenAssignPrimary(), TestTokenCreate(), TestTokenDuplicate(), TestTokenFilter(), TestTokenImpersonation(), TestTokenOpenPrimary(), UdbgTest1(), UdbgTest2(), UnregisterVDM(), UserHardErrorEx(), vCleanConvertedTTFs(), vSweepFonts(), W32WinStationTerminate(), Win32CommandChannelThread(), and WowExitTask().
|
|
Definition at line 414 of file obclose.c. References Handle, _OBJECT_HANDLE_INFORMATION::HandleAttributes, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, OBJ_AUDIT_OBJECT_CLOSE, ObMakeTemporaryObject(), ObReferenceObjectByHandle(), PAGED_CODE, SeDeleteObjectAuditAlarm(), and Status. Referenced by CleanupSessionObjectDirectories(), IopReassignSystemRoot(), and TestParent().
|
|
Definition at line 484 of file obclose.c. References FALSE, _OBJECT_HEADER::Flags, OB_FLAG_PERMANENT_OBJECT, OBJECT_TO_OBJECT_HEADER, ObpDeleteNameCheck(), and PAGED_CODE. Referenced by IoCreateDriver(), IoDeleteDevice(), IopCompleteUnloadOrDelete(), IopInitializeBootDrivers(), IopInitializeBuiltinDriver(), IopLoadDriver(), NtMakeTemporaryObject(), and NtUnloadDriver().
|
|
|