John Baldwin 5fd3f8b3b6 Add stricter checking of some mmap() arguments:
- Fail with EINVAL if an invalid protection mask is passed to mmap().
- Fail with EINVAL if an unknown flag is passed to mmap().
- Fail with EINVAL if both MAP_PRIVATE and MAP_SHARED are passed to mmap().
- Require one of either MAP_PRIVATE or MAP_SHARED for non-anonymous
  mappings.

Reviewed by:	alc, kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D698
2014-09-15 17:20:13 +00:00
..
2014-08-04 21:12:38 +00:00
2014-09-04 17:36:21 +00:00
2014-07-07 00:27:09 +00:00
2014-08-20 14:58:25 +00:00
2014-07-26 14:24:13 +00:00
2014-07-07 00:27:09 +00:00