mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 19:23:50 +08:00
[NTOS:MM]
- Allow (and then ignore) PAGE_NOCACHE in the protection flags for MmMapViewOfSection CORE-9808 svn path=/trunk/; revision=68611
This commit is contained in:
parent
640136731e
commit
aa52dc7498
@ -115,7 +115,8 @@ typedef ULONG_PTR SWAPENTRY;
|
||||
PAGE_EXECUTE_READ | \
|
||||
PAGE_EXECUTE_READWRITE | \
|
||||
PAGE_EXECUTE_WRITECOPY | \
|
||||
PAGE_NOACCESS)
|
||||
PAGE_NOACCESS | \
|
||||
PAGE_NOCACHE)
|
||||
|
||||
#define PAGE_IS_READABLE \
|
||||
(PAGE_READONLY | \
|
||||
|
@ -4484,6 +4484,8 @@ MmMapViewOfSection(IN PVOID SectionObject,
|
||||
return STATUS_INVALID_PAGE_PROTECTION;
|
||||
}
|
||||
|
||||
/* FIXME: We should keep this, but it would break code checking equality */
|
||||
Protect &= PAGE_NOCACHE;
|
||||
|
||||
Section = (PROS_SECTION_OBJECT)SectionObject;
|
||||
AddressSpace = &Process->Vm;
|
||||
|
Loading…
Reference in New Issue
Block a user