[Base] Handle exec R/W mapped file handles

This commit is contained in:
DrChat 2017-12-19 19:36:10 -06:00
parent 660f8d7ba6
commit b865e324c2
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ FileMappingHandle CreateFileMappingHandle(std::wstring path, size_t length,
oflag = O_RDONLY; oflag = O_RDONLY;
break; break;
case PageAccess::kReadWrite: case PageAccess::kReadWrite:
case PageAccess::kExecuteReadWrite:
oflag = O_RDWR; oflag = O_RDWR;
break; break;
default: default: