From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh1vV-0000DB-SP for qemu-devel@nongnu.org; Sat, 11 Apr 2015 16:22:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yh1vS-0006e4-L2 for qemu-devel@nongnu.org; Sat, 11 Apr 2015 16:22:49 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:33102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh1vS-0006dg-Gf for qemu-devel@nongnu.org; Sat, 11 Apr 2015 16:22:46 -0400 Received: by igbpi8 with SMTP id pi8so5010808igb.0 for ; Sat, 11 Apr 2015 13:22:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1428777292-24628-8-git-send-email-afaerber@suse.de> References: <1428777292-24628-1-git-send-email-afaerber@suse.de> <1428777292-24628-8-git-send-email-afaerber@suse.de> From: Peter Maydell Date: Sat, 11 Apr 2015 21:22:25 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-2.3? 7/7] tests/tcg: Enable runcom test by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Andreas_F=C3=A4rber?= Cc: QEMU Developers , Richard Henderson On 11 April 2015 at 19:34, Andreas F=C3=A4rber 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). thanks -- PMM