svn commit: r349379 - head/share/man/man9

Doug Moore dougm at FreeBSD.org
Tue Jun 25 17:27:38 UTC 2019


Author: dougm
Date: Tue Jun 25 17:27:37 2019
New Revision: 349379
URL: https://svnweb.freebsd.org/changeset/base/349379

Log:
  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

Modified:
  head/share/man/man9/vm_map_protect.9

Modified: head/share/man/man9/vm_map_protect.9
==============================================================================
--- head/share/man/man9/vm_map_protect.9	Tue Jun 25 17:24:43 2019	(r349378)
+++ head/share/man/man9/vm_map_protect.9	Tue Jun 25 17:27:37 2019	(r349379)
@@ -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


More information about the svn-src-all mailing list