mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[SDK] Correct NtGlobalFlag names.
This commit is contained in:
parent
35bd6571bd
commit
5a68fbeb43
2 changed files with 4 additions and 5 deletions
|
@ -1424,7 +1424,7 @@ LdrpInitializeExecutionOptions(PUNICODE_STRING ImagePathName, PPEB Peb, PHANDLE
|
|||
GlobalFlag = 0;
|
||||
|
||||
/* Call AVRF if necessary */
|
||||
if (Peb->NtGlobalFlag & (FLG_POOL_ENABLE_TAIL_CHECK | FLG_HEAP_PAGE_ALLOCS))
|
||||
if (Peb->NtGlobalFlag & (FLG_APPLICATION_VERIFIER | FLG_HEAP_PAGE_ALLOCS))
|
||||
{
|
||||
Status = LdrpInitializeApplicationVerifierPackage(ImagePathName, Peb, TRUE, FALSE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
@ -1436,7 +1436,7 @@ LdrpInitializeExecutionOptions(PUNICODE_STRING ImagePathName, PPEB Peb, PHANDLE
|
|||
else
|
||||
{
|
||||
/* There are no image-specific options, so perform global initialization */
|
||||
if (Peb->NtGlobalFlag & (FLG_POOL_ENABLE_TAIL_CHECK | FLG_HEAP_PAGE_ALLOCS))
|
||||
if (Peb->NtGlobalFlag & (FLG_APPLICATION_VERIFIER | FLG_HEAP_PAGE_ALLOCS))
|
||||
{
|
||||
/* Initialize app verifier package */
|
||||
Status = LdrpInitializeApplicationVerifierPackage(ImagePathName, Peb, TRUE, FALSE);
|
||||
|
@ -2055,7 +2055,7 @@ LdrpInitializeProcess(IN PCONTEXT Context,
|
|||
}
|
||||
|
||||
/* Check if the Application Verifier was enabled */
|
||||
if (Peb->NtGlobalFlag & FLG_POOL_ENABLE_TAIL_CHECK)
|
||||
if (Peb->NtGlobalFlag & FLG_APPLICATION_VERIFIER)
|
||||
{
|
||||
/* FIXME */
|
||||
DPRINT1("We don't support Application Verifier yet\n");
|
||||
|
|
|
@ -61,8 +61,7 @@ extern POBJECT_TYPE NTSYSAPI PsJobType;
|
|||
#define FLG_HEAP_ENABLE_FREE_CHECK 0x00000020
|
||||
#define FLG_HEAP_VALIDATE_PARAMETERS 0x00000040
|
||||
#define FLG_HEAP_VALIDATE_ALL 0x00000080
|
||||
#define FLG_POOL_ENABLE_TAIL_CHECK 0x00000100
|
||||
#define FLG_POOL_ENABLE_FREE_CHECK 0x00000200
|
||||
#define FLG_APPLICATION_VERIFIER 0x00000100
|
||||
#define FLG_POOL_ENABLE_TAGGING 0x00000400
|
||||
#define FLG_HEAP_ENABLE_TAGGING 0x00000800
|
||||
#define FLG_USER_STACK_TRACE_DB 0x00001000
|
||||
|
|
Loading…
Reference in a new issue