From a4859bf283ee77865e353f3bb3f7a94f4048e42c Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Sat, 3 Nov 2018 14:57:24 +0100 Subject: [PATCH] [KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string ROSTESTS-110 --- modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c b/modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c index aa8e1459545..73bc8f0c02e 100644 --- a/modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c +++ b/modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c @@ -452,7 +452,7 @@ BehaviorChecks(HANDLE FileHandleReadOnly, HANDLE FileHandleWriteOnly) ViewSize = 0; SectionOffset.QuadPart = 0; Status = ZwMapViewOfSection(WriteSectionHandle, NtCurrentProcess(), &BaseAddress, 0, 0, &SectionOffset, &ViewSize, ViewUnmap, 0, PAGE_GUARD | PAGE_READWRITE); - if (!skip(NT_SUCCESS(Status), "Error mapping view with PAGE_NOACCESS priv. Error = %p\n", Status)) + if (!skip(NT_SUCCESS(Status), "Error mapping view with PAGE_GUARD priv. Error = %p\n", Status)) { KmtStartSeh() RtlCompareMemory(BaseAddress, TestString, TestStringSize);