ntdll: FreeBSD needs page read access when execute access is requested.
This commit is contained in:
parent
0aad594d5f
commit
f7e466455d
|
@ -189,7 +189,7 @@ static int VIRTUAL_GetUnixProt( BYTE vprot )
|
|||
if (vprot & VPROT_READ) prot |= PROT_READ;
|
||||
if (vprot & VPROT_WRITE) prot |= PROT_WRITE;
|
||||
if (vprot & VPROT_WRITECOPY) prot |= PROT_WRITE;
|
||||
if (vprot & VPROT_EXEC) prot |= PROT_EXEC;
|
||||
if (vprot & VPROT_EXEC) prot |= PROT_EXEC | PROT_READ;
|
||||
if (vprot & VPROT_WRITEWATCH) prot &= ~PROT_WRITE;
|
||||
}
|
||||
if (!prot) prot = PROT_NONE;
|
||||
|
|
Loading…
Reference in New Issue