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

Konstantin Belousov kostikbel at gmail.com
Thu Feb 15 11:39:59 UTC 2018


On Wed, Feb 14, 2018 at 11:47:04PM +0000, Conrad Meyer wrote:
> Author: cem
> Date: Wed Feb 14 23:47:04 2018
> New Revision: 329282
> URL: https://svnweb.freebsd.org/changeset/base/329282
> 
> Log:
>   pmap_qenter.9: Document API NX mapping
>   
>   A follow-up to r329281.
>   
>   Sponsored by:	Dell EMC Isilon
> 
> Modified:
>   head/share/man/man9/pmap_qenter.9
> 
> Modified: head/share/man/man9/pmap_qenter.9
> ==============================================================================
> --- head/share/man/man9/pmap_qenter.9	Wed Feb 14 23:35:47 2018	(r329281)
> +++ head/share/man/man9/pmap_qenter.9	Wed Feb 14 23:47:04 2018	(r329282)
> @@ -25,7 +25,7 @@
>  .\"
>  .\" $FreeBSD$
>  .\"
> -.Dd July 21, 2003
> +.Dd February 14, 2018
>  .Dt PMAP_QENTER 9
>  .Os
>  .Sh NAME
> @@ -50,6 +50,7 @@ pointers to wired pages
>  and enters each of these pages into the kernel virtual address (KVA) space,
>  beginning at the address
>  .Fa sva .
> +The pages are mapped non-executable.
I think that this is too strong statement. It is not even true on i386
without PAE.

Also, the man page describes the interface between pmap and MI VM, so
it should explain the difference between required in allowed. In this
case, it is acceptable for an architecture to implement pmap_qenter() by
creating non-exec mappings, but the architecture is not required to do
that.

>  .Pp
>  The
>  .Fn pmap_qremove


More information about the svn-src-all mailing list