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-03-03 15:31:40 +00:00
2020-02-20 16:58:19 +00:00
2020-03-04 21:27:12 +00:00
2020-03-02 23:25:02 +00:00
2020-03-04 20:01:03 +00:00
2020-03-01 20:37:42 +00:00
2020-03-01 19:15:03 +00:00
2020-03-01 23:01:37 +00:00
2020-03-04 21:27:12 +00:00
2020-03-04 21:27:12 +00:00
2020-02-03 17:35:11 +00:00