diff options
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c')
-rw-r--r-- | emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c b/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c index 9370e5bd7fd3..f8b393397839 100644 --- a/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c +++ b/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c @@ -1,3 +1,13 @@ +From nox Mon Sep 17 00:00:00 2001 +From: Juergen Lock <nox@jelal.kn-bremen.de> +Date: 06 Apr 2014 02:20:00 +0200 +Subject: Wrap bsd-user mmap(2) allocation search to low memory + +Wrap bsd-user mmap(2) allocation search to low memory to avoid +another assert on 64bit hosts. + +Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de> + --- a/bsd-user/mmap.c +++ b/bsd-user/mmap.c @@ -238,8 +238,13 @@ abi_ulong mmap_find_vma(abi_ulong start, |