qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] another 64/32 mmap() bug


From: Vince Weaver
Subject: [Qemu-devel] another 64/32 mmap() bug
Date: Sat, 27 Sep 2008 18:28:30 -0400 (EDT)


In trying to get the remaining spec2k/spec2k6 benchmarks to run, I've found another 64-bit/32-bit mmap() linux-user problem.

This could be a kernel problem.

The mmap() call in conjunction with MAP_32BIT will make sure the address of an allocation is < 32-bit. The problem is it doesn't check that the
_entire address range_ is < 32-bit.

So it will return an address of say 0xffff0000 for an allocation of
128kB, and the end of that allocation will not be addressable, causing a segfault.

Vince







reply via email to

[Prev in Thread] Current Thread [Next in Thread]