mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- MmCreateSection: SectionPageProtection of PAGE_NOACCESS is valid in <=Win98, but not valid in the NT family. More kernel32_winetest fixes for virtual memory.
svn path=/trunk/; revision=40894
This commit is contained in:
parent
f7a9c01b65
commit
76c5505c5e
1 changed files with 1 additions and 2 deletions
|
@ -4990,8 +4990,7 @@ MmCreateSection (OUT PVOID * Section,
|
|||
* Check the protection
|
||||
*/
|
||||
Protection = SectionPageProtection & ~(PAGE_GUARD|PAGE_NOCACHE);
|
||||
if (Protection != PAGE_NOACCESS &&
|
||||
Protection != PAGE_READONLY &&
|
||||
if (Protection != PAGE_READONLY &&
|
||||
Protection != PAGE_READWRITE &&
|
||||
Protection != PAGE_WRITECOPY &&
|
||||
Protection != PAGE_EXECUTE &&
|
||||
|
|
Loading…
Reference in a new issue