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

Ed Maste emaste at FreeBSD.org
Thu Jun 20 18:30:20 UTC 2019


Author: emaste
Date: Thu Jun 20 18:30:19 2019
New Revision: 349241
URL: https://svnweb.freebsd.org/changeset/base/349241

Log:
  Clarify vm_map_protect max_protection downgrade
  
  As reported in review D20709 by brooks calling vm_map_protect to set a
  new max_protection value downgrades existing mappings if necessary (as
  opposed to returning an error).
  
  Reported by:	brooks
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation

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	Thu Jun 20 18:24:16 2019	(r349240)
+++ head/share/man/man9/vm_map_protect.9	Thu Jun 20 18:30:19 2019	(r349241)
@@ -64,7 +64,12 @@ is TRUE,
 is treated as the new
 .Va max_protection
 setting for each underlying entry.
-Otherwise, only the
+Protection bits not included
+.Fa new_prot
+will be cleared from existing entries.
+If
+.Fa set_max
+is FALSE only the
 .Va protection
 field is affected.
 .Pp


More information about the svn-src-all mailing list