Message ID | 20171005143601.21584-2-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp665782qgn; Thu, 5 Oct 2017 07:38:09 -0700 (PDT) X-Received: by 10.55.21.30 with SMTP id f30mr32252428qkh.335.1507214289647; Thu, 05 Oct 2017 07:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507214289; cv=none; d=google.com; s=arc-20160816; b=vNkkL57wqlf8K2oKSXzuJ85c/Ecp0q4sQzvRT+o3F1kTCvulc4b3UB3U3+bURdMgVp mV1sk45IWBEJp0g940dsgKtAHWOcefV2macELos1QzV2MjzMaC/2nOPfd3sXfahkcIJw dRg5oRgYhOu7UeMyFDu/eurYgS9JFtIXUGd+w4+G/nDudHiWPSgXyLpNjpOFs0maS+zw JEaaJNrdHo2kBanH+M6SK+rP38hB3HqW5gxA26vlzQBu6y8HlGddz+9hvOHuAIoin0pz kNLPZnV76kj5GZLXvn6r9525e4FLxaAZ+d4n1MMUNH3TnQyvqgohXsZNau7T14v8K15J XqHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=95+f3I17oa+hAr3IQ9BfOqpphaiQAkB08avVzG839m8=; b=n6obD3ADnWP9hDg4/dKzmgJzrsM115pK4GeJwHA3X9Rd0CPHEjDWGvQA9Xrj400+al TGvHDDxzKcx9heisnj0Z7j0or/Kc5egtBovCGkzON49Cq9OkYel9A+1FRVlsHkHpCpD5 82zEJR7tbxxwSw9WPFaHQMK+GWsh1I37k+s7yXEfsRK8s9NP9vxJV6UOce4LzZK/SSwc XWM7hIs0U9jM8RsKTu1YGMTqsLQfa5FFXfAxtZNbhAg2RBofax6MGQ9Gc0JefY+kJ7ju Y/TAVvEBL1P3nHSjz11Crg6KTEWAgvLyjHoeOlQGWGGgFmS4Q1CqEBWaK9Ti8dSm33XV +Jng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=gtcVb/7m; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id y92si3582745qtd.550.2017.10.05.07.38.09 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 05 Oct 2017 07:38:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=gtcVb/7m; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1e07Ht-0003WS-64 for patch@linaro.org; Thu, 05 Oct 2017 10:38:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e07G0-0002Gv-MC for qemu-devel@nongnu.org; Thu, 05 Oct 2017 10:36:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e07Fv-0001sx-W4 for qemu-devel@nongnu.org; Thu, 05 Oct 2017 10:36:12 -0400 Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]:56424) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e07Fv-0001sK-RY for qemu-devel@nongnu.org; Thu, 05 Oct 2017 10:36:07 -0400 Received: by mail-qt0-x232.google.com with SMTP id 34so8618267qtb.13 for <qemu-devel@nongnu.org>; Thu, 05 Oct 2017 07:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=95+f3I17oa+hAr3IQ9BfOqpphaiQAkB08avVzG839m8=; b=gtcVb/7me/Pd6xxk5y3KhL3w2XcHG5cYT3t1dvOY3jhUvLJUMI+YS0MZ6G0R13QnJd e0S6D3jZVXFk7lpgqSyI0tKWBUT4oxZYEGMKHrFlp/Oxew3z0McPzkGGKTNcd3Vbi7Kg 17YaqWBoD7KOuDmg1hN7NKh8lRLsZsiaoUrv4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=95+f3I17oa+hAr3IQ9BfOqpphaiQAkB08avVzG839m8=; b=AW9CuTlc1OPIm/Rusr+G+6vhMgKOAvBNp/9kWpgHAB5gq33OuejxxwtWm07094Sg3b atFNFdSNBS+u5mr4RmqVlqcqhG9rVw8Y4HSFmjKfb7XD4AHVM1bTkAWWtdgrbDarkbel xFul7TCuBq5ok7+SKozTUPS2OOZIhlB61Td8wUrvi+qWMw4ysapWPs+Q/Vyv4eRJqzKO i3HHQmMKVx+a/9fDe3+tfWBXwf4dsIWgsAqxi9E6dSvKpXeGhd+Q304umRubgz4pm4+I ei8n3QZFgzIqMmFi1QxcmO4BX0Y/jJPX0A2/J7dohAKJtm6RhgPmwVxe7P1vzEddzkbS nygQ== X-Gm-Message-State: AMCzsaVrBuJ/1eIe/mA2Yi7z7SlpkiDiOjVpgCtmUcqn1B0x9O+kVL9I XHoygaYT0AhDwEjvcOA0CuRFiISfUSI= X-Google-Smtp-Source: AOwi7QAuBbDrkFJlcNnQAjnkgu35ZUj63H9hRgZ0Qf7YGvxbNzWUMoUubYcR2G646eD463Ddlq9hFw== X-Received: by 10.129.175.83 with SMTP id x19mr5238617ywj.289.1507214167032; Thu, 05 Oct 2017 07:36:07 -0700 (PDT) Received: from bigtime.twiddle.net.com ([2606:a000:7a4a:b100::1b]) by smtp.gmail.com with ESMTPSA id c13sm8277148ywm.101.2017.10.05.07.36.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Oct 2017 07:36:06 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 5 Oct 2017 10:35:58 -0400 Message-Id: <20171005143601.21584-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171005143601.21584-1-richard.henderson@linaro.org> References: <20171005143601.21584-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::232 Subject: [Qemu-devel] [PATCH v2 1/4] linux-user: Allow -R values up to 0xffff0000 for 32-bit ARM guests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, riku.voipio@iki.fi Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
linux-user fixes for va mapping
|
expand
|
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 79062882ba..3b857fbc9c 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -377,7 +377,7 @@ static int validate_guest_space(unsigned long guest_base, * then there is no way we can allocate it. */ if (test_page_addr >= guest_base - && test_page_addr <= (guest_base + guest_size)) { + && test_page_addr < (guest_base + guest_size)) { return -1; }