John Baldwin 0fe0ed8bf8 - 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
2009-07-14 19:45:36 +00:00
..
2008-06-20 14:47:06 +00:00
2008-04-03 02:41:54 +00:00
2006-09-26 09:47:46 +00:00
2005-12-13 13:43:35 +00:00
2008-04-03 02:41:54 +00:00
2005-12-13 13:43:35 +00:00
2009-06-01 09:32:12 +00:00
2008-02-25 13:03:18 +00:00
2008-11-29 14:32:14 +00:00
2006-09-17 21:27:35 +00:00
2006-10-07 05:13:32 +00:00
2007-04-05 21:17:52 +00:00
2005-02-13 22:25:33 +00:00
2008-11-11 14:55:59 +00:00
2005-01-20 09:17:07 +00:00
2009-03-27 11:03:02 +00:00
2009-06-15 21:52:27 +00:00
2007-05-14 13:58:54 +00:00
2005-01-20 09:17:07 +00:00
2007-12-19 03:33:13 +00:00
2005-02-15 09:27:00 +00:00
2006-09-17 21:27:35 +00:00
2005-11-17 13:00:00 +00:00
2005-12-13 13:43:35 +00:00
2009-01-12 13:12:02 +00:00
2007-06-18 01:50:03 +00:00
2007-06-18 01:50:03 +00:00