diff options
| author | Anton Lindqvist <anton@basename.se> | 2018-11-17 10:57:01 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-11-17 15:50:18 -0800 |
| commit | 3659cea21d579af9e307c2097c89b4961f25c935 (patch) | |
| tree | b36d9800e22a798200f5e5c68fc524f8ab93ff36 /executor/executor_test.h | |
| parent | e17edc6cc42369c9b36ec67aa883806c5d6981fd (diff) | |
sys: conditionally add padding argument in MakePosixMmap()
Some targets (NetBSD and OpenBSD) have a mmap() padding argument between the
file descriptor and offset. Make sure to omit such argument in MakePosixMmap().
Otherwise, reproduce programs will crash at runtime since the expected mapping
at 0x20000000 is not established.
Diffstat (limited to 'executor/executor_test.h')
0 files changed, 0 insertions, 0 deletions
