diff options
author | jhb <jhb@FreeBSD.org> | 2009-07-14 19:45:36 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-07-14 19:45:36 +0000 |
commit | d81f73fcb520cff58dcafda0e644b91837b26a40 (patch) | |
tree | c7668a2a58d716a617574fb0350e77267a41f5ee /sys/modules/ce | |
parent | 43717b21005a9b854b99f96a6c5ed015e8916d46 (diff) | |
download | FreeBSD-src-d81f73fcb520cff58dcafda0e644b91837b26a40.zip FreeBSD-src-d81f73fcb520cff58dcafda0e644b91837b26a40.tar.gz |
- Change mmap() to fail requests with EINVAL that pass a length of 0. This
behavior is mandated by POSIX.
- Do not fail requests that pass a length greater than SSIZE_MAX
(such as > 2GB on 32-bit platforms). The 'len' parameter is actually
an unsigned 'size_t' so negative values don't really make sense.
Submitted by: Alexander Best alexbestms at math.uni-muenster.de
Reviewed by: alc
Approved by: re (kib)
MFC after: 1 week
Diffstat (limited to 'sys/modules/ce')
0 files changed, 0 insertions, 0 deletions