]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 338511: bhyve: Use MAP_GUARD when mapping guest memory ranges.
authorjhb <jhb@FreeBSD.org>
Sun, 18 Nov 2018 00:11:19 +0000 (00:11 +0000)
committerjhb <jhb@FreeBSD.org>
Sun, 18 Nov 2018 00:11:19 +0000 (00:11 +0000)
commit6dc9464d89d89a37d4d114ba519d004ee25649b5
tree68ad72116adeed9de483caac84029ca6bc7ac19a
parent97678ce3471f7f78c3808dc28887d807e0840a4b
MFC 338511: bhyve: Use MAP_GUARD when mapping guest memory ranges.

Instead of relying on PROT_NONE mappings with MAP_ANON, use MAP_GUARD
to reserve address space around guest memory ranges including the
guard ranges of address space around mappings.
lib/libvmmapi/vmmapi.c