# | Line 109 | Line 109 | void * vm_acquire(size_t size) | |
---|---|---|
109 | return addr; | |
110 | #endif | |
111 | #endif | |
112 | < | |
112 | > | |
113 | // Explicitely protect the newly mapped region here because on some systems, | |
114 | // say MacOS X, mmap() doesn't honour the requested protection flags. | |
115 | if (vm_protect(addr, size, VM_PAGE_DEFAULT) != 0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |