Chromium Code Reviews| Index: src/platform-openbsd.cc |
| =================================================================== |
| --- src/platform-openbsd.cc (revision 10877) |
| +++ src/platform-openbsd.cc (working copy) |
| @@ -458,6 +458,12 @@ |
| } |
| +bool VirtualMemory::Guard(void* address) { |
| + OS::Guard(address, OS::CommitPageSize()); |
| + return true; |
| +} |
| + |
| + |
| void* VirtualMemory::ReserveRegion(size_t size) { |
| void* result = mmap(GetRandomMmapAddr(), |
| size, |