qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-2.3? 7/7] tests/tcg: Enable runcom test by d


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH for-2.3? 7/7] tests/tcg: Enable runcom test by default
Date: Sat, 11 Apr 2015 22:28:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Am 11.04.2015 um 22:22 schrieb Peter Maydell:
> On 11 April 2015 at 19:34, Andreas Färber <address@hidden> wrote:
>> The comment of it requiring root appears outdated - makes no difference.
> 
> This depends on what your system has set for the tunable
> /proc/sys/vm/mmap_min_addr. On my system it is 65536 (I think
> Ubuntu and Debian ship like this), and in that case you can't
> mmap MAP_FIXED to address zero unless you're root (tested with
> a little C program that does the same mmap that runcom does).

Hm,

$ cat /proc/sys/vm/mmap_min_addr
65536

Are you sure that QEMU / runcom / pi_10.com still try to map to that
address zero?

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)



reply via email to

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