]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r349239, r349241: update vm_map_protect.9
authorEd Maste <emaste@FreeBSD.org>
Thu, 4 Jul 2019 19:52:50 +0000 (19:52 +0000)
committerEd Maste <emaste@FreeBSD.org>
Thu, 4 Jul 2019 19:52:50 +0000 (19:52 +0000)
commit2c99770d38eb883fa79d4dcc2fdfa2c61dfe057c
tree1ceaf34c03541e0f50c64f0765b70baddd846215
parentbdc31d041612773481dc539534a8306a73eec3b2
MFC r349239, r349241: update vm_map_protect.9

Clarify that vm_map_protect cannot upgrade max_protection

It's implied by the man page's RETURN VALUES section, but be explicit in
the description that vm_map_protect can not set new protection bits that
are already in each entry's max_protection.

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).

Sponsored by: The FreeBSD Foundation
share/man/man9/vm_map_protect.9