diff options
author | 2012-04-10 10:30:44 +0000 | |
---|---|---|
committer | 2012-04-10 10:30:44 +0000 | |
commit | 0fd1db7487cc278a669fc78965dd4d69ab8c840a (patch) | |
tree | 368be9da008592c26d87205d46f875accb43137c /sys/kern/kern_fork.c | |
parent | remove unused variable. (diff) | |
download | wireguard-openbsd-0fd1db7487cc278a669fc78965dd4d69ab8c840a.tar.xz wireguard-openbsd-0fd1db7487cc278a669fc78965dd4d69ab8c840a.zip |
Return EINVAL on 0-byte mmap invocation.
- Posix rules that a 0-byte mmap must return EINVAL
- our allocators are unable to distinguish between free memory and
0 bytes of allocated memory
Diffstat (limited to 'sys/kern/kern_fork.c')
0 files changed, 0 insertions, 0 deletions