Changeset 101142 in vbox for trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-posix.cpp
- Timestamp:
- Sep 18, 2023 11:12:16 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-posix.cpp
r100310 r101142 173 173 { 174 174 AssertReturn(!(fFlags & ~RTMEMPAGEALLOC_F_VALID_MASK), NULL); 175 return rtMemPagePosixAlloc(cb, pszTag, fFlags, 0);175 return rtMemPagePosixAlloc(cb, pszTag, fFlags, !(fFlags & RTMEMPAGEALLOC_F_EXECUTABLE) ? 0 : PROT_EXEC); 176 176 } 177 177
Note:
See TracChangeset
for help on using the changeset viewer.