diff options
author | grehan <grehan@FreeBSD.org> | 2014-11-23 23:07:21 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2014-11-23 23:07:21 +0000 |
commit | 205a8351f4c165f2b2718f477fd5ec474dec2160 (patch) | |
tree | 89d61fcb4edc58eb3c3602227f18ce5e8cd6d9fa /contrib/llvm/tools/clang/lib/Basic/Warnings.cpp | |
parent | 370dd13218b8a5490564fcc006eb30703ff105a0 (diff) | |
download | FreeBSD-src-205a8351f4c165f2b2718f477fd5ec474dec2160.zip FreeBSD-src-205a8351f4c165f2b2718f477fd5ec474dec2160.tar.gz |
Change the lower bound for guest vmspace allocation to 0 instead of
using the VM_MIN_ADDRESS constant.
HardenedBSD redefines VM_MIN_ADDRESS to be 64K, which results in
bhyve VM startup failing. Guest memory is always assumed to start
at 0 so use the absolute value instead.
Reported by: Shawn Webb, lattera at gmail com
Reviewed by: neel, grehan
Obtained from: Oliver Pinter via HardenedBSD
https://github.com/HardenedBSD/hardenedBSD/commit/23bd719ce1e3a8cc42fc8317b1c7c6d9e74dcba0
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Basic/Warnings.cpp')
0 files changed, 0 insertions, 0 deletions