#include "edithive.h"
#include "nturtl.h"
#include "stdlib.h"
#include "stdio.h"
Go to the source code of this file.
Functions | |
ULONG | DbgPrint (IN PCH Format,...) |
NTSTATUS | MyCmpInitHiveFromFile (IN PUNICODE_STRING FileName, OUT PCMHIVE *CmHive, OUT PBOOLEAN Allocate) |
VOID | CmpLazyFlush (VOID) |
VOID | CmpFreeSecurityDescriptor (IN PHHIVE Hive, IN HCELL_INDEX Cell) |
VOID | CmpReportNotify (UNICODE_STRING Name, PHHIVE Hive, HCELL_INDEX Cell, ULONG Filter) |
VOID | CmpLockRegistry (VOID) |
BOOLEAN | CmpTryLockRegistryExclusive (IN BOOLEAN CanWait) |
VOID | CmpUnlockRegistry () |
BOOLEAN | CmpTestRegistryLock () |
BOOLEAN | CmpTestRegistryLockExclusive () |
LONG | KeReleaseMutex (IN PKMUTEX Mutex, IN BOOLEAN Wait) |
NTSTATUS | KeWaitForSingleObject (IN PVOID Object, IN KWAIT_REASON WaitReason, IN KPROCESSOR_MODE WaitMode, IN BOOLEAN Alertable, IN PLARGE_INTEGER Timeout OPTIONAL) |
BOOLEAN | CmpValidateHiveSecurityDescriptors (IN PHHIVE Hive) |
VOID | KeBugCheck (IN ULONG BugCheckCode) |
VOID | KeBugCheckEx (IN ULONG BugCheckCode, IN ULONG Arg1, IN ULONG Arg2, IN ULONG Arg3, IN ULONG Arg4) |
VOID | KeQuerySystemTime (OUT PLARGE_INTEGER SystemTime) |
PVOID | ExAllocatePool (IN POOL_TYPE PoolType, IN ULONG NumberOfBytes) |
VOID | ExFreePool (IN PVOID P) |
NTSTATUS | CmpWorkerCommand (IN OUT PREGISTRY_COMMAND Command) |
NTSTATUS | CmpLinkHiveToMaster (PUNICODE_STRING LinkName, HANDLE RootDirectory, PCMHIVE CmHive, BOOLEAN Allocate, PSECURITY_DESCRIPTOR SecurityDescriptor) |
BOOLEAN | CmpFileSetSize (PHHIVE Hive, ULONG FileType, ULONG FileSize) |
Variables | |
ULONG | UsedStorage |
CCHAR | KiFindFirstSetRight [256] |
ULONG | MmSizeOfPagedPoolInBytes = 0xffffffff |
GENERIC_MAPPING | CmpKeyMapping |
BOOLEAN | CmpNoWrite = FALSE |
ULONG | CmLogLevel = 0 |
ULONG | CmLogSelect = 0 |
PCMHIVE | CmpMasterHive = NULL |
LIST_ENTRY | CmpHiveListHead |
|
Definition at line 509 of file cmwraper.c. References CML_MAJOR, CMLOG, CmpDoFileSetSize(), CMS_IO_ERROR, FALSE, Hive, NT_SUCCESS, NTSTATUS(), and TRUE. Referenced by CmpInitializeHive(), and CmpInitializeHiveList().
|
|
Definition at line 105 of file cmwraper.c. Referenced by CmpFreeKeyByCell(), and CmpFreeKeyValues().
|
|
Definition at line 97 of file cmwraper.c. Referenced by CmpInitializeHiveList(), CmpLazyFlushWorker(), and HvMarkDirty().
|
|
Definition at line 496 of file cmwraper.c. Referenced by CmInitSystem1(), CmLoadKey(), CmpInitializeHiveList(), CmpInitializeSystemHive(), and CmpLoadHiveVolatile().
|
|
Definition at line 124 of file cmwraper.c. Referenced by CmEnumerateKey(), CmEnumerateValueKey(), CmpCloseKeyObject(), CmpDeleteKeyObject(), CmpLazyFlushWorker(), CmpQueryKeyName(), CmpSecurityMethod(), CmQueryKey(), CmQueryMultipleValueKey(), CmQueryValueKey(), CmSetValueKey(), NtFlushKey(), NtNotifyChangeMultipleKeys(), and NtOpenKey().
|
|
Definition at line 114 of file cmwraper.c. Referenced by CmDeleteKey(), CmDeleteValueKey(), CmpDoCreateChild(), CmpLinkHiveToMaster(), CmpSecurityMethod(), CmRestoreKey(), CmSetValueKey(), and NtUnloadKey().
|
|
Definition at line 144 of file cmwraper.c. References TRUE.
|
|
Definition at line 150 of file cmwraper.c. References TRUE.
|
|
Definition at line 130 of file cmwraper.c. References TRUE.
|
|
|
Definition at line 175 of file cmwraper.c. References _HHIVE::BaseBlock, _CM_KEY_SECURITY::Blink, CML_FLOW, CML_MAJOR, CML_MINOR, CMLOG, CmpDumpSecurityDescriptor, CMS_SEC, _CM_KEY_SECURITY::Descriptor, _CM_KEY_SECURITY::DescriptorLength, FALSE, _CM_KEY_SECURITY::Flink, HCELL_INDEX, Hive, HvGetCell, HvIsCellAllocated(), PCM_KEY_SECURITY, _CM_KEY_SECURITY::ReferenceCount, _HBASE_BLOCK::RootCell, _CM_KEY_NODE::Security, SetUsed, SeValidSecurityDescriptor(), and TRUE. Referenced by CmCheckRegistry().
|
|
Definition at line 323 of file cmwraper.c. References CmFlushKey(), CmpDoFileSetSize(), _CMHIVE::FileHandles, FileName, HFILE_TYPE_MAX, MyCmpInitHiveFromFile(), NtClose(), NULL, REG_CMD_FILE_SET_SIZE, REG_CMD_FLUSH_KEY, REG_CMD_HIVE_CLOSE, REG_CMD_HIVE_OPEN, and REG_CMD_SHUTDOWN.
|
|
Definition at line 50 of file cmwraper.c. References Buffer.
|
|
Definition at line 278 of file cmwraper.c. References HBLOCK_SIZE, NT_SUCCESS, NtAllocateVirtualMemory(), NTSTATUS(), NULL, ROUND_UP, and Size.
|
|
Definition at line 304 of file cmwraper.c. Referenced by ExInitializeNPagedLookasideList(), and ExInitializePagedLookasideList().
|
|
Definition at line 218 of file cmwraper.c. Referenced by KiInitializeKernel().
|
|
Definition at line 227 of file cmwraper.c. References exit.
|
|
Definition at line 242 of file cmwraper.c.
|
|
Definition at line 155 of file cmwraper.c. References PKMUTEX.
|
|
Definition at line 163 of file cmwraper.c.
|
|
Definition at line 405 of file cmwraper.c. References CmpInitializeHive(), CmpOpenHiveFiles(), FALSE, FileName, HFILE_TYPE_LOG, HFILE_TYPE_PRIMARY, HINIT_CREATE, HINIT_FILE, L, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, Status, and TRUE. Referenced by CmpWorkerCommand().
|
|
Definition at line 83 of file cmwraper.c. |
|
Definition at line 84 of file cmwraper.c. |
|
Definition at line 86 of file cmwraper.c. |
|
Initial value:
Definition at line 76 of file cmwraper.c. Referenced by CmpCreateObjectTypes(), and EhpAttachSecurity(). |
|
Definition at line 85 of file cmwraper.c. |
|
Definition at line 82 of file cmwraper.c. |
|
Initial value:
Definition at line 28 of file cmwraper.c. |
|
Definition at line 47 of file cmwraper.c. |
|
Definition at line 26 of file cmwraper.c. Referenced by CmCheckRegistry(). |