Brooks Davis d718de812f Introduce kern_mmap_req().
This presents an extensible interface to the generic mmap(2)
implementation via a struct pointer intended to use a designated
initializer or compount literal.  We take advantage of the mandatory
zeroing of fields not listed in the initializer.

Remove kern_mmap_fpcheck() and use kern_mmap_req().

The motivation for this change is a desire to keep the core
implementation from growing an ever-increasing number of arguments
that must be specified in the correct order for the lowest-level
implementations.  In CheriBSD we have already added two more arguments.

Reviewed by:	kib
Discussed with:	kevans
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D23164
2020-03-04 21:27:12 +00:00
..
2020-02-17 15:11:07 +00:00
2020-03-01 21:49:16 +00:00
2019-09-27 18:43:36 +00:00
2020-02-28 16:05:18 +00:00
2020-02-23 03:32:04 +00:00
2020-03-04 21:27:12 +00:00
2020-02-28 16:05:18 +00:00
2020-02-23 03:32:04 +00:00
2020-02-28 16:05:18 +00:00
2020-02-28 16:05:18 +00:00