Document the KERN_PROTECTION_FAILURE return value from vm_map_protect().

Reviewed by: alc (earlier version)
Approved by: kib, markj (mentors)
Differential Revision: https://reviews.freebsd.org/D20751
This commit is contained in:
Doug Moore 2019-06-25 17:27:37 +00:00
parent e2edff4167
commit e70bb5c1a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349379

View File

@ -96,6 +96,11 @@ would exceed
for an entry within the range,
.Dv KERN_PROTECTION_FAILURE
is returned.
If a copy-on-write mapping is transitioned from read-only to
read-write, and too little swap space is available for backing the
copied pages,
.Dv KERN_RESOURCE_SHORTAGE
is returned.
.Sh SEE ALSO
.Xr vm_map 9
.Sh AUTHORS